Function at 0x4e4e30
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.004d4540
mov ebx, eax
cmp eax, dword [esp + 0x78]
jne 0x4e4fa0
cmp dword [esp + 0x60], 0x72
je 0x4e4f50
mov dword [esp + 8], 0xbf
mov dword [esp + 4], str.rsa_sign.c
mov dword [esp], eax
call fcn.004b8170
mov ebp, eax
test eax, eax
je 0x4e4ff7
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.004d45b0
mov esi, eax
test eax, eax
jle 0x4e4ff0
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.0050e650
mov edx, eax
test eax, eax
je 0x4e4ff0
lea eax, [ebp + esi]
cmp dword [esp + 0x38], eax
je 0x4e5027
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.004b2280
mov edx, dword [esp + 0x2c]
xor eax, eax
mov dword [esp], edx
mov dword [esp + 0x28], eax
call fcn.0050e6d0
mov eax, dword [esp + 0x28]
mov dword [esp + 4], ebx
mov dword [esp], ebp
mov dword [esp + 0x28], eax
call fcn.004dea90
mov dword [esp], ebp
call fcn.004b8660
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 0x4e52d1
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.004d45b0
test eax, eax
jle 0x4e4fe0
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.004b2280
xor eax, eax
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x4e4fce
xor eax, eax
jmp 0x4e4f20
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.004b2280
xor eax, eax
jmp 0x4e4fce
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.0050e680
test eax, eax
mov edx, dword [esp + 0x2c]
jle 0x4e4eda
cmp esi, eax
je 0x4e507c
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004dea90
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
call fcn.004b8660
mov edx, dword [esp + 0x2c]
jmp 0x4e4eda
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.004dea90
mov ecx, dword [esp + 0x3c]
mov dword [esp], ecx
call fcn.004b8660
mov eax, dword [esp + 0x28]
test eax, eax
mov edx, dword [esp + 0x2c]
jne 0x4e4eda
mov eax, dword [edx]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4e50dc
mov dword [esp], ecx
mov dword [esp + 0x2c], edx
call fcn.00506570
cmp eax, 5
mov edx, dword [esp + 0x2c]
jne 0x4e5128
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004d5ca0
cmp eax, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
je 0x4e517a
cmp dword [esp + 0x60], 4
je 0x4e5145
cmp dword [esp + 0x60], 3
jne 0x4e510b
cmp eax, 7
je 0x4e514a
mov dword [esp + 0x10], 0xff
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x64
jmp 0x4e4ef2
mov dword [esp + 0x10], 0xe4
mov dword [esp + 0xc], str.rsa_sign.c
mov dword [esp + 8], 0x68
jmp 0x4e4ef2
cmp eax, 8
jne 0x4e510b
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 0x4e5239
mov ecx, dword [esp + 0x60]
mov dword [esp], ecx
mov dword [esp + 0x2c], edx
call fcn.004d5b20
mov dword [esp], eax
call fcn.004c42d0
test eax, eax
mov edx, dword [esp + 0x2c]
je 0x4e51f4
mov dword [esp], eax
mov dword [esp + 0x2c], edx
call fcn.004d9e00
mov edx, dword [esp + 0x2c]
mov ecx, dword [edx + 4]
cmp eax, dword [ecx]
je 0x4e51f7
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.004b2280
xor eax, eax
mov edx, dword [esp + 0x2c]
jmp 0x4e4f10
mov ecx, dword [edx + 4]
mov eax, dword [ecx]
mov edi, dword [esp + 0x6c]
mov esi, dword [ecx + 8]
cmp eax, 4
jae 0x4e52ad
xor ecx, ecx
test al, 2
je 0x4e521a
mov cx, word [esi]
mov word [edi], cx
mov ecx, 2
test al, 1
je 0x4e5224
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 0x4e4f10
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x68]
cmp dword [eax], ecx
jne 0x4e5272
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 0x4e4f10
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.004b2280
xor eax, eax
mov edx, dword [esp + 0x2c]
jmp 0x4e4f10
test edi, 1
jne 0x4e53cd
test edi, 2
jne 0x4e53c3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x4e5209
mov dword [esp + 8], 0xbf
mov dword [esp + 4], str.rsa_sign.c
mov dword [esp], eax
call fcn.004b8170
mov ebp, eax
test eax, eax
je 0x4e4ff7
cmp dword [esp + 0x68], 0x24
jne 0x4e5350
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.004d45b0
test eax, eax
jle 0x4e4ff0
cmp eax, 0x24
jne 0x4e5390
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 0x4e5390
mov eax, 1
jmp 0x4e4f20
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.004b2280
xor eax, eax
jmp 0x4e4f20
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.004b2280
xor eax, eax
jmp 0x4e4f20
movsw word es:[edi], word [esi]
sub eax, 2
jmp 0x4e52c5
movsb byte es:[edi], byte [esi]
dec eax
jmp 0x4e52b9