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

Disassembly:
mov eax, 0x4c
call fcn.00581890
mov eax, dword [0x634f14]
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 0x49531e
push 0
push esi
call fcn.00492300
push 0xff
push str.cryptopempem_lib.c
push 0
push edi
call fcn.00492300
push 0x100
push str.cryptopempem_lib.c
push ebp
push ebx
call fcn.00492300
add esp, 0x30
jmp 0x495347
push esi
call fcn.00465ce0
push 0xff
push str.cryptopempem_lib.c
push edi
call fcn.00465ce0
push 0x100
push str.cryptopempem_lib.c
push ebx
call fcn.00465ce0
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.00494250
add esp, 0x18
test eax, eax
je 0x4954a4
push dword [esp + 0x28]
mov esi, dword [esp + 0x24]
push esi
call fcn.00494820
add esp, 8
test eax, eax
jne 0x49539d
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
jmp 0x4952e0
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x44]
push eax
push ebp
call fcn.00493f00
mov edi, dword [esp + 0x20]
add esp, 8
test eax, eax
je 0x4953fe
push dword [esp + 0x30]
lea eax, [esp + 0x14]
push dword [esp + 0x38]
push eax
lea eax, [esp + 0x50]
push edi
push eax
call fcn.00493d40
add esp, 0x14
test eax, eax
je 0x4953fe
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 0x4953f0
mov dword [eax], esi
mov dword [esp + 0x24], 1
test eax, eax
jne 0x495429
jmp 0x495402
mov ebx, dword [esp + 0x10]
cmp dword [esp + 0x1c], 0
push 0x116
push str.cryptopempem_lib.c
je 0x495420
push 0
push esi
call fcn.00492300
add esp, 0x10
jmp 0x495429
push esi
call fcn.00465ce0
add esp, 0xc
mov esi, dword [esp + 0x1c]
push 0x117
push str.cryptopempem_lib.c
test esi, esi
je 0x495448
push 0
push ebp
call fcn.00492300
add esp, 0x10
jmp 0x495451
push ebp
call fcn.00465ce0
add esp, 0xc
mov ebp, dword [esp + 0x24]
test ebp, ebp
jne 0x49548f
push 0x119
push str.cryptopempem_lib.c
test esi, esi
je 0x495486
push ebx
push edi
call fcn.00492300
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00581041
add esp, 0x4c
ret
push edi
call fcn.00465ce0
add esp, 0xc
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00581041
add esp, 0x4c
ret
call fcn.0047c680
test eax, eax
mov ecx, 0x7fffff
mov edx, closesocket
cmovs ecx, edx
and ecx, eax
cmp ecx, 0x6c
jne 0x4954d2
push dword [esp + 0x28]
push str.Expecting:
push 2
call fcn.0047c300
add esp, 0xc
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00581041
add esp, 0x4c
ret