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

Disassembly:
sub esp, 0x70
mov eax, dword [0x1009e024]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
push ebx
push ebp
or ebp, 0xffffffff
mov dword [esp + 0x38], eax
push esi
mov esi, dword [esp + 0x80]
or edx, ebp
mov dword [esp + 0x30], ebp
or ebx, ebp
mov dword [esp + 0x38], ebp
xorps xmm0, xmm0
mov dword [esp + 0x20], ebp
mov al, byte [esi]
push edi
or edi, ebp
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x30], ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], 0
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], ecx
test al, al
je 0x10024b3d
nop
cmp ecx, 6
jge 0x10024b24
mov byte [esp + 0x13], 0
mov edi, edi
movzx eax, al
push eax
call fcn.10036f00
add esp, 4
test eax, eax
jne 0x10024798
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10024780
movzx eax, byte [esi]
push eax
call fcn.10036f20
add esp, 4
test eax, eax
je 0x100248d1
lea eax, [esp + 0x5c]
mov byte [esp + 0x5c], 0
push eax
xorps xmm0, xmm0
mov dword [esp + 0x79], 0
push str._31_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_
push esi
movdqu xmmword [esp + 0x69], xmm0
mov word [esp + 0x85], 0
movq qword [esp + 0x79], xmm0
mov byte [esp + 0x87], 0
call fcn.100442e4
add esp, 0xc
test eax, eax
je 0x10024803
lea edi, [esp + 0x5c]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x100247f8
sub edi, ecx
jmp 0x10024805
xor edi, edi
cmp ebp, 0xffffffff
jne 0x1002485a
cmp edi, 3
mov byte [esp + 0x13], 0
mov ebx, 0x1007bd14
mov eax, 0x1007bcc8
cmovbe ebx, eax
xor ebp, ebp
push dword [ebx]
lea eax, [esp + 0x60]
push eax
call fcn.10019b60
add esp, 8
test eax, eax
jne 0x10024843
inc ebp
add ebx, 4
cmp ebp, 7
jl 0x10024821
mov al, byte [esp + 0x13]
jmp 0x10024845
mov al, 1
or ecx, 0xffffffff
test al, al
cmovne ecx, ebp
mov dword [esp + 0x30], ecx
cmp ecx, 0xffffffff
jne 0x100248ca
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x10024877
lea eax, [esp + 0x5c]
push eax
call fcn.10024560
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
jne 0x100248ca
cmp ebx, 0xffffffff
jne 0x1002489e
mov ebx, 0x1007bd30
xor ebp, ebp
lea eax, [esp + 0x5c]
push ebx
push eax
call fcn.10019b60
add esp, 8
test eax, eax
jne 0x100248b4
inc ebp
add ebx, 0xc
cmp ebp, 0x45
jb 0x10024883
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1004138c
add esp, 0x70
ret
mov eax, dword [ebx + 8]
mov ecx, eax
shl ecx, 4
sub ecx, eax
shl ecx, 2
mov dword [esp + 0x28], ecx
cmp ecx, 0xffffffff
je 0x1002489e
add esi, edi
jmp 0x10024b09
movzx eax, byte [esi]
push eax
call fcn.10036f60
add esp, 4
test eax, eax
je 0x10024b0d
cmp dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x2c], 0
jne 0x1002495e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x40]
push eax
push str._02d:_02d:_02d_n
push esi
call fcn.100442e4
add esp, 0x18
cmp eax, 3
jne 0x10024924
add esi, dword [esp + 0x2c]
jmp 0x10024b0d
cmp dword [esp + 0x24], 0xffffffff
jne 0x1002495e
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x3c]
push eax
push str._02d:_02d_n
push esi
call fcn.100442e4
add esp, 0x14
cmp eax, 2
jne 0x1002495e
add esi, dword [esp + 0x2c]
mov dword [esp + 0x24], 0
jmp 0x10024b0d
call fcn.10047afb
mov edi, dword [eax]
call fcn.10047afb
push 0xa
mov dword [eax], 0
lea eax, [esp + 0x4c]
push eax
push esi
call fcn.1004b8c4
add esp, 0xc
mov dword [esp + 0x58], eax
call fcn.10047afb
mov ebp, dword [eax]
call fcn.10047afb
cmp dword [eax], edi
je 0x1002499b
call fcn.10047afb
mov dword [eax], edi
test ebp, ebp
jne 0x1002489e
push dword [esp + 0x58]
call fcn.10019640
mov ebp, dword [esp + 0x4c]
add esp, 4
mov edi, eax
cmp ebx, 0xffffffff
jne 0x10024a1b
mov ecx, ebp
sub ecx, esi
cmp ecx, 4
jne 0x10024a1b
cmp edi, 0x578
jg 0x10024a1b
cmp dword [esp + 0x4c], esi
jae 0x10024a1b
mov al, byte [esi - 1]
mov byte [esp + 0x23], al
cmp al, 0x2b
je 0x100249e0
cmp al, 0x2d
jne 0x10024a1b
mov eax, 0x51eb851f
mov byte [esp + 0x13], 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 + 0x23], 0x2b
mov dword [esp + 0x28], ebx
jne 0x10024a1b
neg ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x14]
mov eax, ebp
mov ebx, dword [esp + 0x18]
sub eax, esi
cmp eax, 8
jne 0x10024a8e
cmp ecx, 0xffffffff
jne 0x10024a8e
cmp dword [esp + 0x1c], ecx
jne 0x10024a8e
cmp ebx, ecx
jne 0x10024a8e
mov eax, 0x68db8bad
mov ecx, edi
imul edi
sar edx, 0xc
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
imul eax, ebx, 0x2710
mov dword [esp + 0x14], ebx
mov ebx, edi
sub ecx, eax
mov eax, 0x51eb851f
imul ecx
sar edx, 5
mov eax, edx
dec edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], eax
mov eax, 0x51eb851f
imul edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x64
sub ebx, eax
mov dword [esp + 0x18], ebx
jmp 0x10024b07
cmp byte [esp + 0x13], 0
jne 0x10024b07
mov edx, dword [esp + 0x38]
test edx, edx
jne 0x10024acb
cmp ebx, 0xffffffff
jne 0x1002489e
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x10024ab8
mov ebx, edi
mov al, 1
mov dword [esp + 0x18], ebx
jmp 0x10024abc
mov al, byte [esp + 0x13]
mov edx, 1
mov dword [esp + 0x38], edx
test al, al
jne 0x10024b07
jmp 0x10024ad4
cmp edx, 1
jne 0x1002489e
cmp ecx, 0xffffffff
jne 0x1002489e
mov dword [esp + 0x14], edi
cmp edi, 0x64
jge 0x10024afb
lea eax, [edi + 0x76c]
cmp edi, 0x46
jg 0x10024af7
lea eax, [edi + 0x7d0]
mov dword [esp + 0x14], eax
xor eax, eax
cmp ebx, 0xffffffff
cmove edx, eax
mov dword [esp + 0x38], edx
mov esi, ebp
mov ebp, dword [esp + 0x30]
mov ecx, dword [esp + 0x44]
mov al, byte [esi]
inc ecx
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x44], ecx
test al, al
jne 0x10024770
cmp dword [esp + 0x24], 0xffffffff
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
je 0x10024b3d
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
jmp 0x10024b45
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x18]
cmp ebp, 0xffffffff
je 0x1002489e
cmp edx, 0xffffffff
je 0x1002489e
cmp edi, 0xffffffff
je 0x1002489e
cmp edi, 0x62f
jl 0x1002489e
cmp ebp, 0x1f
jg 0x1002489e
cmp edx, 0xb
jg 0x1002489e
cmp eax, 0x17
jg 0x1002489e
cmp ecx, 0x3b
jg 0x1002489e
mov edx, dword [esp + 0x24]
cmp edx, 0x3c
jg 0x1002489e
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x60], edx
push eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x70], ebp
mov dword [esp + 0x78], edi
call fcn.100245c0
mov esi, dword [esp + 0x5c]
add esp, 8
mov ecx, dword [esp + 0x50]
cmp ebx, 0xffffffff
jne 0x10024c03
xor ebx, ebx
mov eax, ebx
cdq
add eax, ecx
mov ecx, dword [esp + 0x40]
pop edi
adc edx, esi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], edx
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1004138c
add esp, 0x70
ret
test ebx, ebx
jle 0x10024bde
mov eax, ebx
or ebp, 0xffffffff
cdq
sub ebp, eax
mov eax, closesocket
sbb eax, edx
cmp esi, eax
jl 0x10024bde
jg 0x10024c20
cmp ecx, ebp
jbe 0x10024bde
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword [eax], 0xffffffff
xor ecx, esp
mov dword [eax + 4], closesocket
mov eax, 1
call fcn.1004138c
add esp, 0x70
ret