Function at 0x4a547e
Capabilities:
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4cff0c
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x517930]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517930]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebp, edx
cmp dword [ecx + 0x10], 0
je 0x4a56ec
cmp dword [ebp + 0x10], 0
je 0x4a56ec
cmp dword [ecx + 0x14], 0x10
jb 0x4a54ce
mov ecx, dword [ecx]
push 0x50e4cc
push ecx
call fcn.004b629c
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4a56ec
mov esi, str.ECKEY_PUB_ENCODE
push esi
call fcn.004b5495
pop ecx
push ebx
push esi
mov edi, eax
push 1
push edi
call fcn.004b6984
push ebx
mov esi, eax
call fcn.004b6a9c
xor ebx, ebx
mov byte [esi + edi], bl
push 0xf
pop esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
add esp, 0xc
mov dword [esp + 0x88], ebx
mov ecx, ebp
call fcn.004a59c2
cmp eax, 0xffffffff
je 0x4a561b
mov edx, dword [ebp + 0x10]
inc eax
sub edx, eax
mov ecx, ebp
push edx
push eax
lea eax, [esp + 0x64]
push eax
call fcn.004a5a2a
push eax
lea ecx, [esp + 0x18]
call fcn.004a5970
push ebx
push 1
lea ecx, [esp + 0x64]
call fcn.004a07fa
and dword [esp + 0x3c], ebx
mov dword [esp + 0x40], esi
mov byte [esp + 0x2c], bl
mov byte [esp + 0x80], 1
lea esi, [esp + 0x14]
mov edx, dword [esp + 0x28]
cmp edx, 0x10
mov ebp, dword [esp + 0x14]
cmovae esi, ebp
add esi, dword [esp + 0x24]
cmp edx, 0x10
lea eax, [esp + 0x14]
cmovae eax, ebp
cmp esi, eax
je 0x4a55d5
dec esi
cmp ebx, 2
jne 0x4a55cd
mov dl, byte [esi]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x60]
call fcn.004a61ae
pop ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004a5970
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.004a07fa
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x14]
jmp 0x4a5587
cmp byte [esi], 0xa
jne 0x4a5587
inc ebx
jmp 0x4a5587
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.004a5c46
mov ecx, dword [esp + 0x3c]
xor ebx, ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x28]
push ebx
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x30]
push 1
mov dword [esp + 0x48], eax
mov byte [esp + 0x88], bl
call fcn.004a07fa
push 0xf
pop esi
push 0x10
pop ebp
cmp dword [esp + 0x28], ebp
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
push edi
call fcn.004b80d0
pop ecx
pop ecx
test eax, eax
je 0x4a5646
push edi
call fcn.004b5e25
pop ecx
mov bl, 1
jmp 0x4a56db
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], ebx
mov byte [esp + 0x44], bl
mov byte [esp + 0x80], 3
mov esi, ebx
cmp dword [esp + 0x24], 0
jbe 0x4a56b5
cmp dword [esp + 0x28], ebp
lea eax, [esp + 0x14]
lea ecx, [esp + 0x44]
cmovae eax, dword [esp + 0x14]
cmp byte [eax + esi], 0xa
je 0x4a568e
cmp dword [esp + 0x28], ebp
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
movzx eax, byte [esi + eax]
push eax
jmp 0x4a569d
push 0xd
push 1
call fcn.004a10f8
push 0xa
lea ecx, [esp + 0x48]
push 1
call fcn.004a10f8
inc esi
cmp esi, dword [esp + 0x24]
jb 0x4a5663
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], ebp
jae 0x4a56b9
lea eax, [esp + 0x44]
push eax
push edi
call fcn.004b80d0
test eax, eax
push edi
setne bl
call fcn.004b5e25
add esp, 0xc
lea ecx, [esp + 0x44]
push 0
push 1
call fcn.004a07fa
push 0
push 1
lea ecx, [esp + 0x1c]
call fcn.004a07fa
mov al, bl
jmp 0x4a56ee
xor al, al
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.004b5580
add esp, 0x70
ret