Function at 0x1005be40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x4c
call fcn.10022920
mov eax, dword [0x101fd024]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x60]
push ebx
mov dword [esp + 0x20], eax
xor ebx, ebx
mov eax, dword [esp + 0x68]
push ebp
mov dword [esp + 0x2c], eax
xor ebp, ebp
mov eax, dword [esp + 0x70]
push esi
mov dword [esp + 0x2c], eax
xor esi, esi
mov eax, dword [esp + 0x78]
push edi
xor edi, edi
mov dword [esp + 0x20], esi
and eax, 1
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x14], eax
test eax, eax
je 0x1005bef6
push 0xe0
push str.cryptopempem_lib.c
push 0
push esi
call fcn.1005e9a0
push 0xe0
push str.cryptopempem_lib.c
push 0
push edi
call fcn.1005e9a0
push 0xe0
push str.cryptopempem_lib.c
push ebp
push ebx
call fcn.1005e9a0
add esp, 0x30
jmp 0x1005bf29
push 0xe2
push str.cryptopempem_lib.c
push esi
call fcn.1002eae0
push 0xe2
push str.cryptopempem_lib.c
push edi
call fcn.1002eae0
push 0xe2
push str.cryptopempem_lib.c
push ebx
call fcn.1002eae0
add esp, 0x24
push dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x40]
call fcn.1005ae80
add esp, 0x18
test eax, eax
je 0x1005c0a6
push dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push esi
call fcn.1005b410
add esp, 8
test eax, eax
jne 0x1005bf7f
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x1005beb8
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.1005ab30
mov edi, dword [esp + 0x24]
add esp, 8
test eax, eax
je 0x1005bfe0
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.1005a960
add esp, 0x14
test eax, eax
je 0x1005bfe0
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x10]
mov dword [eax], edi
mov eax, dword [esp + 0x3c]
mov dword [eax], ebx
mov eax, dword [esp + 0x40]
test eax, eax
je 0x1005bfd2
mov dword [eax], esi
mov dword [esp + 0x24], 1
test eax, eax
jne 0x1005c000
jmp 0x1005bfe4
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x14], 0
je 0x1005c01f
push 0xe0
push str.cryptopempem_lib.c
push 0
push esi
call fcn.1005e9a0
add esp, 0x10
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1005c036
push 0xe0
push str.cryptopempem_lib.c
push 0
push ebp
call fcn.1005e9a0
add esp, 0x10
jmp 0x1005c049
push 0xe2
push str.cryptopempem_lib.c
push esi
call fcn.1002eae0
mov esi, dword [esp + 0x20]
add esp, 0xc
push 0xe2
push str.cryptopempem_lib.c
push ebp
call fcn.1002eae0
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x1005c091
test esi, esi
je 0x1005c07e
push 0xe0
push str.cryptopempem_lib.c
push ebx
push edi
call fcn.1005e9a0
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10021a20
add esp, 0x4c
ret
push 0xe2
push str.cryptopempem_lib.c
push edi
call fcn.1002eae0
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.10021a20
add esp, 0x4c
ret
call fcn.1002f7c0
test eax, eax
mov ecx, 0x7fffff
mov edx, closesocket
cmovs ecx, edx
and ecx, eax
cmp ecx, 0x6c
jne 0x1005c0d4
push dword [esp + 0x28]
push str.Expecting:
push 2
call fcn.1002f420
add esp, 0xc
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10021a20
add esp, 0x4c
ret