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

Disassembly:
sub esp, 0x68
mov eax, dword [0x6fe3a4]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
xorps xmm0, xmm0
push ebx
push ebp
or ebp, 0xffffffff
mov dword [esp + 0x34], eax
push esi
mov esi, dword [esp + 0x78]
or edx, ebp
push edi
or edi, ebp
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], edi
or ecx, ebp
mov dword [esp + 0x1c], ebp
or ebx, ebp
mov al, byte [esi]
movlpd qword [esp + 0x4c], xmm0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], 0
mov dword [esp + 0x48], esi
mov dword [esp + 0x2c], 0
test al, al
je 0x4ecde8
cmp dword [esp + 0x2c], 6
jge 0x4ecdd8
mov byte [esp + 0x12], 0
movzx eax, al
push eax
call fcn.00501590
add esp, 4
test eax, eax
jne 0x4eca9c
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4eca84
movzx eax, byte [esi]
push eax
call fcn.005015b0
add esp, 4
test eax, eax
je 0x4ecb9a
lea eax, [esp + 0x54]
mov byte [esp + 0x54], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x71], 0
push str._31_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push esi
movups xmmword [esp + 0x61], xmm0
mov word [esp + 0x7d], 0
movq qword [esp + 0x71], xmm0
mov byte [esp + 0x7f], 0
call fcn.004d3e40
add esp, 0xc
test eax, eax
je 0x4ecb00
lea edi, [esp + 0x54]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x4ecaf5
sub edi, ecx
jmp 0x4ecb02
xor edi, edi
cmp dword [esp + 0x38], 0xffffffff
jne 0x4ecb20
lea eax, [esp + 0x54]
push edi
push eax
call fcn.004ec7c0
add esp, 8
mov dword [esp + 0x38], eax
cmp eax, 0xffffffff
jne 0x4ecb93
cmp dword [esp + 0x20], 0xffffffff
jne 0x4ecb3d
lea eax, [esp + 0x54]
push eax
call fcn.004ec820
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, 0xffffffff
jne 0x4ecb93
cmp ebx, 0xffffffff
jne 0x4ecb6b
mov ebx, 0x68a958
xor ebp, ebp
nop dword [eax]
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.004e1400
add esp, 8
test eax, eax
jne 0x4ecb81
inc ebp
add ebx, 0xc
cmp ebp, 0x44
jb 0x4ecb50
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00641b27
add esp, 0x68
ret
mov eax, dword [ebx + 8]
mov ebx, eax
shl ebx, 4
sub ebx, eax
shl ebx, 2
cmp ebx, 0xffffffff
je 0x4ecb6b
add esi, edi
jmp 0x4ecdca
movzx eax, byte [esi]
push eax
call fcn.005015d0
add esp, 4
test eax, eax
je 0x4ecdca
cmp dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], 0
jne 0x4ecc27
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x3c]
push eax
push str._02d:_02d:_02d_n
push esi
call fcn.004d3e40
add esp, 0x18
cmp eax, 3
jne 0x4ecbed
add esi, dword [esp + 0x24]
jmp 0x4ecdca
cmp dword [esp + 0x1c], 0xffffffff
jne 0x4ecc27
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x38]
push eax
push str._02d:_02d_n
push esi
call fcn.004d3e40
add esp, 0x14
cmp eax, 2
jne 0x4ecc27
add esi, dword [esp + 0x24]
mov dword [esp + 0x1c], 0
jmp 0x4ecdca
call fcn.00648704
mov edi, dword [eax]
call fcn.00648704
push 0xa
mov dword [eax], 0
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00655d75
add esp, 0xc
mov dword [esp + 0x40], eax
call fcn.00648704
mov ebp, dword [eax]
call fcn.00648704
cmp dword [eax], edi
je 0x4ecc64
call fcn.00648704
mov dword [eax], edi
test ebp, ebp
jne 0x4ecb6b
push dword [esp + 0x40]
call fcn.004e1050
mov ebp, dword [esp + 0x48]
add esp, 4
mov edi, eax
cmp ebx, 0xffffffff
jne 0x4eccdc
mov ecx, ebp
sub ecx, esi
cmp ecx, 4
jne 0x4eccdc
cmp edi, 0x578
jg 0x4eccdc
cmp dword [esp + 0x48], esi
jae 0x4eccdc
mov al, byte [esi - 1]
mov byte [esp + 0x13], al
cmp al, 0x2b
je 0x4ecca9
cmp al, 0x2d
jne 0x4eccdc
mov eax, 0x51eb851f
mov byte [esp + 0x12], 1
imul edi
mov ecx, edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
sub ecx, eax
mov ebx, ecx
shl ebx, 4
sub ebx, ecx
shl ebx, 2
cmp byte [esp + 0x13], 0x2b
jne 0x4eccdc
neg ebx
mov edx, dword [esp + 0x14]
mov eax, ebp
sub eax, esi
mov esi, dword [esp + 0x18]
cmp eax, 8
jne 0x4ecd4f
cmp edx, 0xffffffff
jne 0x4ecd4f
cmp dword [esp + 0x20], edx
jne 0x4ecd4f
cmp esi, edx
jne 0x4ecd4f
mov eax, 0x68db8bad
mov ecx, edi
imul edi
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
imul eax, eax, 0x2710
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
mov ecx, edi
sar edx, 5
mov eax, edx
dec edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x20], eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ecx, eax
mov dword [esp + 0x18], ecx
jmp 0x4ecdc8
cmp byte [esp + 0x12], 0
jne 0x4ecdc8
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x4ecd8c
cmp esi, 0xffffffff
jne 0x4ecb6b
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x4ecd79
mov esi, edi
mov al, 1
mov dword [esp + 0x18], esi
jmp 0x4ecd7d
mov al, byte [esp + 0x12]
mov ecx, 1
mov dword [esp + 0x28], ecx
test al, al
jne 0x4ecdc8
jmp 0x4ecd95
cmp ecx, 1
jne 0x4ecb6b
cmp edx, 0xffffffff
jne 0x4ecb6b
mov dword [esp + 0x14], edi
cmp edi, 0x64
jge 0x4ecdbc
lea eax, [edi + 0x76c]
cmp edi, 0x46
jg 0x4ecdb8
lea eax, [edi + 0x7d0]
mov dword [esp + 0x14], eax
xor eax, eax
cmp esi, 0xffffffff
cmove ecx, eax
mov dword [esp + 0x28], ecx
mov esi, ebp
mov al, byte [esi]
inc dword [esp + 0x2c]
test al, al
jne 0x4eca74
mov edx, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x4ecdf7
xor edx, edx
xor edi, edi
mov dword [esp + 0x1c], edx
cmp ebp, 0xffffffff
je 0x4ecb6b
mov esi, dword [esp + 0x20]
cmp esi, 0xffffffff
je 0x4ecb6b
cmp ecx, 0xffffffff
je 0x4ecb6b
cmp ecx, 0x62f
jl 0x4ecb6b
cmp ebp, 0x1f
jg 0x4ecb6b
cmp esi, 0xb
jg 0x4ecb6b
cmp edx, 0x17
jg 0x4ecb6b
cmp edi, 0x3b
jg 0x4ecb6b
mov eax, dword [esp + 0x1c]
cmp eax, 0x3c
jg 0x4ecb6b
mov dword [esp + 0x54], eax
lea eax, [esp + 0x4c]
push eax
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], edi
push eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ecx
call fcn.004ec8e0
mov edi, dword [esp + 0x54]
xor ecx, ecx
add esp, 8
cmp ebx, 0xffffffff
cmovne ecx, ebx
mov ebx, dword [esp + 0x50]
test ecx, ecx
jle 0x4eced3
mov eax, ecx
or esi, 0xffffffff
cdq
sub esi, eax
mov eax, closesocket
sbb eax, edx
cmp ebx, eax
jl 0x4eced3
jg 0x4eceaa
cmp edi, esi
jbe 0x4eced3
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword [eax], 0xffffffff
mov dword [eax + 4], closesocket
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00641b27
add esp, 0x68
ret
mov eax, ecx
mov ecx, dword [esp + 0x3c]
cdq
add eax, edi
pop edi
adc edx, ebx
mov dword [ecx], eax
pop esi
mov dword [ecx + 4], edx
xor eax, eax
mov ecx, dword [esp + 0x6c]
pop ebp
pop ebx
xor ecx, esp
call fcn.00641b27
add esp, 0x68
ret