Function at 0x4433c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x148
mov eax, dword [0x71a830]
xor eax, esp
mov dword [esp + 0x144], eax
cmp dword [esp + 0x150], 0
mov eax, dword [esp + 0x154]
push ebx
mov ebx, dword [esp + 0x150]
push ebp
push esi
mov esi, dword [sym.imp.MSVCR90.dll_strncpy]
push edi
mov dword [esp + 0x18], eax
push 0x50
jne 0x44341c
lea ecx, [esp + 0xb8]
push str._____BEGIN_CERTIFICATE_____
push ecx
call esi
push 0x50
push str._____END_CERTIFICATE_____
lea edx, [esp + 0x118]
push edx
jmp 0x44343a
lea eax, [esp + 0xb8]
push str._____BEGIN_RSA_PRIVATE_KEY_____
push eax
call esi
push 0x50
push str._____END_RSA_PRIVATE_KEY_____
lea ecx, [esp + 0x118]
push ecx
call esi
mov esi, dword [sym.imp.MSVCR90.dll_fgets]
add esp, 0x18
push ebx
lea edx, [esp + 0x68]
push 0x50
push edx
or edi, 0xffffffff
mov dword [esp + 0x20], 0
mov byte [esp + 0x1f], 0
call esi
add esp, 0xc
test eax, eax
je 0x4434c2
jmp 0x443470
lea eax, [esp + 0xb4]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443480
sub eax, edx
push eax
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xbc]
push ecx
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
push ebx
test eax, eax
je 0x4434b7
lea edx, [esp + 0x68]
push 0x50
push edx
call esi
add esp, 0xc
test eax, eax
jne 0x443470
jmp 0x4434c2
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
mov edi, eax
push ebx
lea eax, [esp + 0x68]
push 0x50
push eax
call esi
add esp, 0xc
test eax, eax
je 0x44361b
mov ax, word [0x4992e0]
mov edx, dword [0x4992dc]
mov ecx, dword [str.Proc_Type]
mov word [esp + 0x60], ax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], ecx
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443500
sub eax, edx
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.MSVCR90.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x44361b
push ebx
lea eax, [esp + 0x68]
push 0x50
push eax
call esi
add esp, 0xc
test eax, eax
je 0x44361b
mov edi, dword [sym.imp.MSVCR90.dll_strstr]
lea ecx, [esp + 0x64]
push 0x4992d4
push ecx
call edi
lea edx, [esp + 0x6c]
push 0x493f7c
push edx
mov esi, eax
call edi
add esp, 0x10
mov ebp, eax
test esi, esi
jne 0x443574
lea eax, [esp + 0x64]
push 0x4992d0
push eax
call edi
add esp, 8
mov esi, eax
mov edi, dword [esp + 0x18]
test edi, edi
je 0x4436d1
test esi, esi
je 0x4435eb
test ebp, ebp
je 0x4435eb
cmp esi, ebp
jae 0x4435eb
mov ecx, ebp
sub ecx, esi
push ecx
push esi
push edi
call sub.MSVCR90.dll_memcpy
mov edx, edi
sub edx, esi
mov byte [edx + ebp], 0
lea esi, [ebp + 1]
add edi, 0x50
mov ecx, 8
lea eax, [esp + 0x70]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.MSVCR90.dll_strstr]
push 0x4992cc
push eax
call esi
add esp, 0x14
test eax, eax
jne 0x4435d9
lea ecx, [esp + 0x64]
push 0x491f30
push ecx
call esi
add esp, 8
test eax, eax
je 0x4435eb
cmp eax, ebp
jbe 0x4435eb
mov ecx, dword [esp + 0x18]
sub eax, ebp
dec eax
mov dword [ecx + 0x70], eax
mov byte [ecx + 0x74], 1
push ebx
call dword [sym.imp.MSVCR90.dll_ftell]
push ebx
lea edx, [esp + 0x6c]
push 0x50
push edx
mov edi, eax
call dword [sym.imp.MSVCR90.dll_fgets]
add esp, 0x10
test eax, eax
je 0x443615
push ebx
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
mov edi, eax
mov esi, dword [sym.imp.MSVCR90.dll_fgets]
push ebx
lea eax, [esp + 0x68]
push 0x50
push eax
call esi
add esp, 0xc
test eax, eax
je 0x443683
mov ebp, dword [sym.imp.MSVCR90.dll_strncmp]
lea eax, [esp + 0x104]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x443640
sub eax, edx
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x10c]
push edx
call ebp
add esp, 0xc
test eax, eax
je 0x44367e
push ebx
call dword [sym.imp.MSVCR90.dll_ftell]
push ebx
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x6c]
push 0x50
push eax
call esi
add esp, 0x10
test eax, eax
jne 0x443632
jmp 0x443683
mov byte [esp + 0x13], 1
cmp edi, 0xffffffff
je 0x4436d1
cmp byte [esp + 0x13], 0
je 0x4436d1
mov esi, dword [esp + 0x14]
sub esi, edi
push esi
lea ecx, [esp + 0x34]
call fcn.004592d0
push 0
push edi
push ebx
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
push ebx
push 1
push esi
lea ecx, [esp + 0x3c]
call fcn.00459340
push eax
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x10
lea ecx, [esp + 0x30]
cmp eax, 1
je 0x4436ec
call fcn.004595d0
xor eax, eax
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0046e712
add esp, 0x148
ret
push esi
call fcn.00459340
push eax
lea ecx, [esp + 0x24]
call fcn.0042a200
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00443200
movzx edx, byte [0x79ad70]
mov edi, dword [esp + 0x20]
push edx
push 8
call fcn.00439b30
add esp, 8
test eax, eax
je 0x443730
push edi
mov ecx, eax
call fcn.0044dec0
mov esi, eax
jmp 0x443732
xor esi, esi
mov eax, dword [esp + 0x24]
push edi
push eax
mov ecx, esi
call fcn.0044df50
push eax
call sub.MSVCR90.dll_memcpy
push 0
call fcn.00429ef0
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
push ecx
push 0
push eax
mov edi, eax
call sub.MSVCR90.dll_memset
push edi
call fcn.004298f0
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
push edx
push 0
push eax
mov edi, eax
call sub.MSVCR90.dll_memset
push edi
call fcn.004298f0
add esp, 0x30
lea ecx, [esp + 0x30]
call fcn.004595d0
mov eax, esi
jmp 0x4436d3