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

Disassembly:
mov eax, 0x4c
call fcn.00581be0
mov eax, dword [0x635f14]
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 + 0x14], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], ebx
mov dword [esp + 0x1c], eax
nop dword [eax + eax]
push 0xfe
push str.cryptopempem_lib.c
test eax, eax
je 0x49550e
push 0
push esi
call fcn.00492500
push 0xff
push str.cryptopempem_lib.c
push 0
push edi
call fcn.00492500
push 0x100
push str.cryptopempem_lib.c
push ebp
push ebx
call fcn.00492500
add esp, 0x30
jmp 0x495537
push esi
call fcn.00465fc0
push 0xff
push str.cryptopempem_lib.c
push edi
call fcn.00465fc0
push 0x100
push str.cryptopempem_lib.c
push ebx
call fcn.00465fc0
add esp, 0x24
push dword [esp + 0x7c]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x40]
call fcn.00494440
add esp, 0x18
test eax, eax
je 0x495694
push dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push esi
call fcn.00494a10
add esp, 8
test eax, eax
jne 0x49558d
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
jmp 0x4954d0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.004940f0
mov edi, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x4955ee
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00493f30
add esp, 0x14
test eax, eax
je 0x4955ee
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 0x4955e0
mov dword [eax], esi
mov dword [esp + 0x24], 1
test eax, eax
jne 0x495619
jmp 0x4955f2
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
push 0x116
push str.cryptopempem_lib.c
je 0x495610
push 0
push esi
call fcn.00492500
add esp, 0x10
jmp 0x495619
push esi
call fcn.00465fc0
add esp, 0xc
mov esi, dword [esp + 0x1c]
push 0x117
push str.cryptopempem_lib.c
test esi, esi
je 0x495638
push 0
push ebp
call fcn.00492500
add esp, 0x10
jmp 0x495641
push ebp
call fcn.00465fc0
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x49567f
push 0x119
push str.cryptopempem_lib.c
test esi, esi
je 0x495676
push ebx
push edi
call fcn.00492500
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00581392
add esp, 0x4c
ret
push edi
call fcn.00465fc0
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00581392
add esp, 0x4c
ret
call fcn.0047c970
test eax, eax
mov ecx, 0x7fffff
mov edx, closesocket
cmovs ecx, edx
and ecx, eax
cmp ecx, 0x6c
jne 0x4956c2
push dword [esp + 0x28]
push str.Expecting:
push 2
call fcn.0047c5f0
add esp, 0xc
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00581392
add esp, 0x4c
ret