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

Disassembly:
sub esp, 0x68
mov eax, dword [0x495010]
xor eax, esp
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x70]
xor ecx, ecx
push ebx
push ebp
or ebp, 0xffffffff
mov dword [esp + 0x38], eax
push esi
mov esi, dword [esp + 0x78]
or edx, ebp
mov dword [esp + 0x34], ebp
or ebx, ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebp
mov al, byte [esi]
push edi
or edi, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x50], esi
mov dword [esp + 0x44], ecx
test al, al
je 0x42c57d
cmp ecx, 6
jge 0x42c564
mov byte [esp + 0x13], 0
movzx eax, al
push eax
call fcn.00457270
add esp, 4
test eax, eax
jne 0x42c1d9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x42c1c1
movzx eax, byte [esi]
push eax
call fcn.00457300
add esp, 4
test eax, eax
je 0x42c314
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.00417320
add esp, 0xc
test eax, eax
je 0x42c23d
lea edi, [esp + 0x54]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x42c232
sub edi, ecx
jmp 0x42c23f
xor edi, edi
cmp ebp, 0xffffffff
jne 0x42c29d
cmp edi, 3
mov byte [esp + 0x13], 0
mov ebx, 0x47da84
mov eax, 0x47da38
cmovbe ebx, eax
xor ebp, ebp
nop dword [eax + eax]
push dword [ebx]
lea eax, [esp + 0x58]
push eax
call fcn.0042be10
add esp, 8
test eax, eax
jne 0x42c282
inc ebp
add ebx, 4
cmp ebp, 7
jl 0x42c260
mov al, byte [esp + 0x13]
jmp 0x42c284
mov al, 1
or ecx, 0xffffffff
test al, al
cmovne ecx, ebp
mov dword [esp + 0x34], ecx
cmp ecx, 0xffffffff
jne 0x42c30d
mov ebx, dword [esp + 0x28]
cmp dword [esp + 0x24], 0xffffffff
jne 0x42c2ba
lea eax, [esp + 0x54]
push eax
call fcn.0042bf80
add esp, 4
mov dword [esp + 0x24], eax
cmp eax, 0xffffffff
jne 0x42c30d
cmp ebx, 0xffffffff
jne 0x42c2e1
mov ebx, 0x47daa0
xor ebp, ebp
lea eax, [esp + 0x54]
push ebx
push eax
call fcn.0042be10
add esp, 8
test eax, eax
jne 0x42c2f7
inc ebp
add ebx, 0xc
cmp ebp, 0x44
jb 0x42c2c6
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00410d89
add esp, 0x68
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 0x42c2e1
add esi, edi
jmp 0x42c549
movzx eax, byte [esi]
push eax
call fcn.00457390
add esp, 4
test eax, eax
je 0x42c54d
cmp dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x2c], 0
jne 0x42c3a1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x44]
push eax
push str._02d:_02d:_02d_n
push esi
call fcn.00417320
add esp, 0x18
cmp eax, 3
jne 0x42c367
add esi, dword [esp + 0x2c]
jmp 0x42c54d
cmp dword [esp + 0x20], 0xffffffff
jne 0x42c3a1
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x40]
push eax
push str._02d:_02d_n
push esi
call fcn.00417320
add esp, 0x14
cmp eax, 2
jne 0x42c3a1
add esi, dword [esp + 0x2c]
mov dword [esp + 0x20], 0
jmp 0x42c54d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0xa
lea eax, [esp + 0x50]
push eax
push esi
call fcn.0045e2e0
add esp, 0xc
mov dword [esp + 0x48], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, edi
je 0x42c3d8
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebp, ebp
jne 0x42c2e1
push dword [esp + 0x48]
call fcn.0042b730
mov ebp, dword [esp + 0x50]
add esp, 4
mov edi, eax
cmp ebx, 0xffffffff
jne 0x42c458
mov ecx, ebp
sub ecx, esi
cmp ecx, 4
jne 0x42c458
cmp edi, 0x578
jg 0x42c458
cmp dword [esp + 0x50], esi
jae 0x42c458
mov al, byte [esi - 1]
mov byte [esp + 0x1b], al
cmp al, 0x2b
je 0x42c41d
cmp al, 0x2d
jne 0x42c458
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 + 0x1b], 0x2b
mov dword [esp + 0x28], ebx
jne 0x42c458
neg ebx
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x14]
mov eax, ebp
mov ebx, dword [esp + 0x1c]
sub eax, esi
cmp eax, 8
jne 0x42c4cb
cmp ecx, 0xffffffff
jne 0x42c4cb
cmp dword [esp + 0x24], ecx
jne 0x42c4cb
cmp ebx, ecx
jne 0x42c4cb
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
shr eax, 0x1f
dec eax
add eax, edx
mov dword [esp + 0x24], 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 + 0x1c], ebx
jmp 0x42c547
cmp byte [esp + 0x13], 0
jne 0x42c547
mov edx, dword [esp + 0x30]
test edx, edx
jne 0x42c508
cmp ebx, 0xffffffff
jne 0x42c2e1
lea eax, [edi - 1]
cmp eax, 0x1e
ja 0x42c4f5
mov ebx, edi
mov al, 1
mov dword [esp + 0x1c], ebx
jmp 0x42c4f9
mov al, byte [esp + 0x13]
mov edx, 1
mov dword [esp + 0x30], edx
test al, al
jne 0x42c547
jmp 0x42c511
cmp edx, 1
jne 0x42c2e1
cmp ecx, 0xffffffff
jne 0x42c2e1
mov dword [esp + 0x14], edi
cmp edi, 0x76c
jge 0x42c53b
lea eax, [edi + 0x76c]
cmp edi, 0x46
jg 0x42c537
lea eax, [edi + 0x7d0]
mov dword [esp + 0x14], eax
xor eax, eax
cmp ebx, 0xffffffff
cmove edx, eax
mov dword [esp + 0x30], edx
mov esi, ebp
mov ebp, dword [esp + 0x34]
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 0x42c1b3
cmp dword [esp + 0x20], 0xffffffff
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
je 0x42c57d
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
jmp 0x42c585
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x1c]
cmp ebp, 0xffffffff
je 0x42c2e1
cmp edx, 0xffffffff
je 0x42c2e1
cmp edi, 0xffffffff
je 0x42c2e1
cmp edi, 0x7b2
jge 0x42c5d5
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00410d89
add esp, 0x68
ret
cmp ebp, 0x1f
jg 0x42c2e1
cmp edx, 0xb
jg 0x42c2e1
cmp eax, 0x17
jg 0x42c2e1
cmp ecx, 0x3b
jg 0x42c2e1
mov edx, dword [esp + 0x20]
cmp edx, 0x3c
jg 0x42c2e1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x64], eax
lea eax, [edi - 0x76c]
mov dword [esp + 0x68], eax
lea eax, [esp + 0x54]
push eax
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x64], ebp
call fcn.0042c020
mov esi, eax
add esp, 4
mov edi, edx
cmp esi, 0xffffffff
je 0x42c68c
xor ecx, ecx
cmp ebx, 0xffffffff
cmovne ecx, ebx
test ecx, ecx
jle 0x42c685
mov eax, closesocket
sub eax, ecx
cdq
cmp edi, edx
jl 0x42c685
jg 0x42c65c
cmp esi, eax
jbe 0x42c685
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword [eax], closesocket
mov dword [eax + 4], 0
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00410d89
add esp, 0x68
ret
mov eax, ecx
cdq
add esi, eax
adc edi, edx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
xor eax, eax
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00410d89
add esp, 0x68
ret