Function at 0x4e5230
Capabilities:
Write file on windows

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, dword [esp + 0x7c]
mov dword [esp], esi
call fcn.004d4940
mov ebx, eax
cmp eax, dword [esp + 0x78]
jne 0x4e53a0
cmp dword [esp + 0x60], 0x72
je 0x4e5350
mov dword [esp + 8], 0xbf
mov dword [esp + 4], str.rsa_sign.c
mov dword [esp], eax
call fcn.004b8590
mov ebp, eax
test eax, eax
je 0x4e53f7
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004d49b0
mov esi, eax
test eax, eax
jle 0x4e53f0
mov dword [esp + 0x38], ebp
mov dword [esp + 8], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0050ea50
mov edx, eax
test eax, eax
je 0x4e53f0
lea eax, [ebp + esi]
cmp dword [esp + 0x38], eax
je 0x4e5427
mov dword [esp + 0x10], 0xdb
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x68
mov dword [esp + 4], 0x91
mov dword [esp], 4
mov dword [esp + 0x2c], edx
call fcn.004b26a0
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp], edx
mov dword [esp + 0x28], eax
call fcn.0050ead0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x28], eax
call fcn.004dee90
mov dword [esp], ebp
call fcn.004b8a80
mov eax, dword [esp + 0x28]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [esp + 0x6c]
test edi, edi
je 0x4e56d1
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.004d49b0
test eax, eax
jle 0x4e53e0
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov eax, 1
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x10], 0xb1
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x77
mov dword [esp + 4], 0x91
mov dword [esp], 4
call fcn.004b26a0
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x4e53ce
xor eax, eax
jmp 0x4e5320
mov dword [esp + 0x10], 0xc2
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x41
mov dword [esp + 4], 0x91
mov dword [esp], 4
call fcn.004b26a0
xor eax, eax
jmp 0x4e53ce
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], edx
mov dword [esp + 0x2c], edx
call fcn.0050ea80
test eax, eax
mov edx, dword [esp + 0x2c]
jle 0x4e52da
cmp esi, eax
je 0x4e547c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004dee90
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004b8a80
mov edx, dword [esp + 0x2c]
jmp 0x4e52da
mov edi, dword [esp + 0x3c]
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
call sub.msvcrt.dll_memcmp
mov dword [esp + 4], esi
mov dword [esp], edi
mov dword [esp + 0x28], eax
call fcn.004dee90
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.004b8a80
mov eax, dword [esp + 0x28]
test eax, eax
mov edx, dword [esp + 0x2c]
jne 0x4e52da
mov eax, dword [edx]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e54dc
mov dword [esp], ecx
mov dword [esp + 0x2c], edx
call fcn.00506970
cmp eax, 5
mov edx, dword [esp + 0x2c]
jne 0x4e5528
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004d60a0
cmp eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
je 0x4e557a
cmp dword [esp + 0x60], 4
je 0x4e5545
cmp dword [esp + 0x60], 3
jne 0x4e550b
cmp eax, 7
je 0x4e554a
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x64
jmp 0x4e52f2
mov dword [esp + 0x10], 0xe4
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x68
jmp 0x4e52f2
cmp eax, 8
jne 0x4e550b
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x34
mov dword [esp + 4], 1
mov dword [esp], str.signature_has_problems__re_make_with_post_SSLeay045_n
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x6c]
test ecx, ecx
je 0x4e5639
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 0x2c], edx
call fcn.004d5f20
mov dword [esp], eax
call fcn.004c46f0
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x4e55f4
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004da200
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
cmp eax, dword [ecx]
je 0x4e55f7
mov dword [esp + 0x10], 0x109
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x8f
mov dword [esp + 4], 0x91
mov dword [esp], 4
call fcn.004b26a0
xor eax, eax
mov edx, dword [esp + 0x2c]
jmp 0x4e5310
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edi, dword [esp + 0x6c]
mov esi, dword [ecx + 8]
cmp eax, 4
jae 0x4e56ad
xor ecx, ecx
test al, 2
je 0x4e561a
mov cx, word [esi]
mov word [edi], cx
mov ecx, 2
test al, 1
je 0x4e5624
mov al, byte [esi + ecx]
mov byte [edi + ecx], al
mov eax, dword [edx + 4]
mov eax, dword [eax]
mov ecx, dword [esp + 0x70]
mov dword [ecx], eax
mov eax, 1
jmp 0x4e5310
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x68]
cmp dword [eax], ecx
jne 0x4e5672
mov dword [esp + 8], ecx
mov eax, dword [eax + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call sub.msvcrt.dll_memcmp
mov ecx, eax
mov eax, 1
test ecx, ecx
mov edx, dword [esp + 0x2c]
je 0x4e5310
mov dword [esp + 0x10], 0x115
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x68
mov dword [esp + 4], 0x91
mov dword [esp], 4
mov dword [esp + 0x2c], edx
call fcn.004b26a0
xor eax, eax
mov edx, dword [esp + 0x2c]
jmp 0x4e5310
test edi, 1
jne 0x4e57cd
test edi, 2
jne 0x4e57c3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4e5609
mov dword [esp + 8], 0xbf
mov dword [esp + 4], str.rsa_sign.c
mov dword [esp], eax
call fcn.004b8590
mov ebp, eax
test eax, eax
je 0x4e53f7
cmp dword [esp + 0x68], 0x24
jne 0x4e5750
mov dword [esp + 0x10], 1
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebp
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp], ebx
call fcn.004d49b0
test eax, eax
jle 0x4e53f0
cmp eax, 0x24
jne 0x4e5790
mov dword [esp + 8], 0x24
mov edx, dword [esp + 0x64]
mov dword [esp + 4], edx
mov dword [esp], ebp
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x4e5790
mov eax, 1
jmp 0x4e5320
mov dword [esp + 0x10], 0xc6
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x83
mov dword [esp + 4], 0x91
mov dword [esp], 4
call fcn.004b26a0
xor eax, eax
jmp 0x4e5320
mov dword [esp + 0x10], 0xd0
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x68
mov dword [esp + 4], 0x91
mov dword [esp], 4
call fcn.004b26a0
xor eax, eax
jmp 0x4e5320
movsw word es:[edi], word [esi]
sub eax, 2
jmp 0x4e56c5
movsb byte es:[edi], byte [esi]
dec eax
jmp 0x4e56b9