Function at 0x4296c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x140
mov eax, dword [0x5f1cf8]
xor eax, esp
mov dword [esp + 0x13c], eax
cmp dword [esp + 0x148], 0
push ebx
mov ebx, dword [esp + 0x148]
push ebp
push esi
push edi
mov edi, dword [esp + 0x15c]
mov dword [esp + 0x18], edi
push 0x50
jne 0x429719
lea eax, [esp + 0xb0]
push str._____BEGIN_CERTIFICATE_____
push eax
call fcn.00464690
push 0x50
push str._____END_CERTIFICATE_____
lea ecx, [esp + 0x110]
push ecx
jmp 0x42973a
lea edx, [esp + 0xb0]
push str._____BEGIN_RSA_PRIVATE_KEY_____
push edx
call fcn.00464690
push 0x50
push str._____END_RSA_PRIVATE_KEY_____
lea eax, [esp + 0x110]
push eax
call fcn.00464690
add esp, 0x18
push ebx
lea ecx, [esp + 0x60]
push 0x50
push ecx
or ebp, 0xffffffff
mov dword [esp + 0x20], 0
mov byte [esp + 0x1f], 0
call fcn.00465db6
add esp, 0xc
test eax, eax
je 0x4297c5
jmp 0x429770
lea eax, [esp + 0xac]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429780
sub eax, edx
push eax
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0xb4]
push eax
call fcn.00465cf8
add esp, 0xc
test eax, eax
push ebx
je 0x4297bb
lea ecx, [esp + 0x60]
push 0x50
push ecx
call fcn.00465db6
add esp, 0xc
test eax, eax
jne 0x429770
jmp 0x4297c5
call fcn.0046a8ef
add esp, 4
mov ebp, eax
push ebx
lea edx, [esp + 0x60]
push 0x50
push edx
call fcn.00465db6
add esp, 0xc
test eax, eax
je 0x42990b
mov eax, dword [str.Proc_Type]
mov dx, word [0x4c31f4]
mov ecx, dword [0x4c31f0]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
mov word [esp + 0x58], dx
mov dword [esp + 0x54], ecx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429803
sub eax, edx
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.00465cf8
add esp, 0xc
test eax, eax
jne 0x42990b
push ebx
lea edx, [esp + 0x60]
push 0x50
push edx
call fcn.00465db6
add esp, 0xc
test eax, eax
je 0x42990b
lea eax, [esp + 0x5c]
push 0x4c31e8
push eax
call fcn.00463fa0
lea ecx, [esp + 0x64]
push 0x4bf160
push ecx
mov esi, eax
call fcn.00463fa0
add esp, 0x10
test esi, esi
mov ebp, eax
jne 0x42987e
lea edx, [esp + 0x5c]
push 0x4c31e4
push edx
call fcn.00463fa0
add esp, 8
mov esi, eax
test edi, edi
je 0x4299c6
test esi, esi
je 0x4298f3
test ebp, ebp
je 0x4298f3
cmp esi, ebp
jae 0x4298f3
mov eax, ebp
sub eax, esi
push eax
push esi
push edi
call fcn.00466080
mov ecx, edi
sub ecx, esi
mov byte [ecx + ebp], 0
lea edx, [esp + 0x68]
push 0x4c31e0
lea esi, [ebp + 1]
add edi, 0x50
mov ecx, 8
push edx
rep movsd dword es:[edi], dword [esi]
call fcn.00463fa0
add esp, 0x14
test eax, eax
jne 0x4298df
lea eax, [esp + 0x5c]
push 0x4bee58
push eax
call fcn.00463fa0
add esp, 8
test eax, eax
je 0x4298f3
cmp eax, ebp
jbe 0x4298f3
mov ecx, dword [esp + 0x18]
sub eax, ebp
sub eax, 1
mov dword [ecx + 0x70], eax
mov byte [ecx + 0x74], 1
push ebx
lea ecx, [esp + 0x60]
push 0x50
push ecx
call fcn.00465db6
push ebx
call fcn.0046a8ef
add esp, 0x10
mov ebp, eax
push ebx
lea edx, [esp + 0x60]
push 0x50
push edx
call fcn.00465db6
add esp, 0xc
test eax, eax
je 0x42997a
nop
lea eax, [esp + 0xfc]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x429930
sub eax, edx
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x104]
push ecx
call fcn.00465cf8
add esp, 0xc
test eax, eax
je 0x429975
push ebx
call fcn.0046a8ef
push ebx
lea edx, [esp + 0x64]
push 0x50
push edx
mov dword [esp + 0x24], eax
call fcn.00465db6
add esp, 0x10
test eax, eax
jne 0x429920
jmp 0x42997a
mov byte [esp + 0x13], 1
cmp ebp, 0xffffffff
je 0x4299c6
cmp byte [esp + 0x13], 0
je 0x4299c6
mov esi, dword [esp + 0x14]
sub esi, ebp
push esi
lea ecx, [esp + 0x20]
call fcn.00439990
push 0
push ebp
push ebx
call fcn.0046a9e4
add esp, 0xc
push ebx
push 1
push esi
lea ecx, [esp + 0x28]
call fcn.004399e0
push eax
call fcn.0046a677
add esp, 0x10
cmp eax, 1
lea ecx, [esp + 0x1c]
je 0x4299e1
call fcn.00439ba0
xor eax, eax
mov ecx, dword [esp + 0x14c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00463f56
add esp, 0x140
ret
push esi
call fcn.004399e0
push eax
lea ecx, [esp + 0x34]
call fcn.00417620
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x44]
call fcn.00429590
mov edi, dword [esp + 0x2c]
push 8
call fcn.0046a34c
add esp, 4
test eax, eax
je 0x429a1d
push edi
mov ecx, eax
call fcn.00433e50
mov esi, eax
jmp 0x429a1f
xor esi, esi
mov ecx, dword [esp + 0x30]
push edi
push ecx
mov ecx, esi
call fcn.00433ec0
push eax
call fcn.00466080
push 0
call fcn.004173a0
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x54]
push edx
push 0
push eax
mov edi, eax
call fcn.00464b40
push edi
call fcn.004171b0
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
push ecx
push 0
push eax
mov edi, eax
call fcn.00464b40
push edi
call fcn.004171b0
add esp, 0x30
lea ecx, [esp + 0x1c]
call fcn.00439ba0
mov eax, esi
jmp 0x4299c8