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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x60]
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp edx, 8
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
ja case.default.0x4724ec
jmp dword [edx*4 + 0x472994]
mov dword [esp + 0x10], 0x400
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x800
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x1000
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x2000
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x4000
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x8000
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x8000
jmp 0x47254b
mov dword [esp + 0x10], 0x10000
jmp case.default.0x4724ec
mov dword [esp + 0x10], 0x10000
mov esi, 1
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x472576
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x472576
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ecx + 0x2c]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x472576
mov cl, 1
jmp 0x472578
xor cl, cl
mov ebx, dword [edi + 0x18]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x472627
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x472598
cmp eax, 0x61
jne 0x472627
mov eax, dword [esp + 0x10]
cmp eax, ebp
je case.0x472811.4
test cl, cl
je 0x47260d
mov ecx, edi
call fcn.00482550
test eax, eax
je case.0x472811.4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00401610
add esp, 4
cmp eax, 0xffffffff
je case.0x472811.4
push esi
push eax
call fcn.004ca570
add esp, 8
cmp eax, ebp
je case.0x472811.4
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je case.0x472811.4
push ebp
push ebp
push eax
call fcn.004943b0
cmp eax, ebp
jl case.0x472811.4
mov ecx, dword [edi + 0x20]
push eax
call fcn.004a01b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov ecx, dword [edi + 0x20]
push ebp
push ebp
push esi
push ebp
push eax
add ecx, 0x5c
call fcn.00401980
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, dword [edi + 8]
cmp eax, ebp
mov dword [esp + 0x18], ebp
je 0x472639
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x70]
cmp esi, ebp
je 0x472794
test cl, cl
jne 0x472804
cmp byte [ebx + 0x7e], 0x22
jne 0x472718
mov byte [esp + 0x40], cl
mov ecx, dword [ebx + 0x74]
push ecx
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.00490d80
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, 1
lea ebx, [ebx]
lea ecx, [eax + esi]
xor edx, edx
mov ebx, eax
add eax, 2
test edi, edi
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
mov ebp, edx
jne 0x472709
lea ecx, [eax + esi]
add eax, 2
xor edx, edx
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov edi, 1
mov dl, byte [ecx]
mov ecx, dword [esp + 0x70]
shl edi, cl
test edi, edx
je 0x472709
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub ecx, eax
push ecx
push 0
push 0
push 0xffffffffffffffff
push edx
push eax
add eax, esi
push eax
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 0x3e0]
push ecx
mov ecx, dword [eax + 0x3f8]
call fcn.004703d0
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x47279a
lea eax, [ebx + ebp]
xor edi, edi
jmp 0x4726a0
cmp edx, 3
jne 0x4727a4
lea ecx, [esp + 0x44]
call fcn.00401570
mov edx, dword [ebx + 0x74]
push edx
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.00490d80
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
je 0x472779
lea ecx, [ecx]
add eax, 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.004924b0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
jne 0x472750
mov edx, dword [esp + 0x4c]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
push edx
push eax
add eax, ecx
mov ecx, dword [esp + 0x20]
push eax
call fcn.00470670
jmp 0x4727a4
test cl, cl
jne 0x472804
jmp 0x4727a4
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov esi, dword [edi + 0x20]
cmp esi, ebp
je 0x472804
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x4727bd
call fcn.00494a20
cmp eax, 6
jl 0x472804
mov ecx, dword [esi + 0xb4]
call fcn.0049e8c0
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x472804
push ecx
call fcn.00401610
add esp, 4
cmp eax, 0xffffffff
je 0x472804
push closesocket
push ebp
push ebp
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3e0]
push esi
push ebp
push ebp
push ecx
mov ecx, dword [eax + 0x3f8]
call fcn.004703d0
mov eax, dword [esp + 0x70]
cmp eax, 8
ja case.0x472811.4
jmp dword [eax*4 + 0x4729b8]
mov esi, 2
jmp 0x472832
mov esi, 4
jmp 0x472832
mov esi, 8
jmp 0x472832
mov esi, 1
mov eax, dword [ebx]
cmp eax, ebp
je case.0x472811.4
mov edx, dword [ebx + 4]
push edx
push ebp
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], 0
call fcn.00490d80
mov edi, 1
cmp esi, edi
jle 0x4728ad
lea ecx, [ecx]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, ecx
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
test cx, cx
je 0x4728a7
push ebp
lea ecx, [esp + 0x24]
call fcn.00490fc0
shl edi, 1
cmp edi, esi
jl 0x472880
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
cmp ax, bp
je case.0x472811.4
mov ecx, dword [ebx + 0x68]
push eax
call fcn.00491880
mov edi, eax
cmp edi, ebp
je case.0x472811.4
cmp dword [edi + 0x78], 5
jne case.0x472811.4
mov ecx, dword [0x6f8dfc]
push 0x170
call fcn.0040dbb0
cmp eax, ebp
je case.0x472811.4
mov edx, dword [ebx + 0x68]
mov ecx, dword [edx + 0xb4]
mov edx, dword [ecx + 0x2c]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x3e0]
push ecx
mov ecx, eax
call fcn.0047ec10
mov esi, eax
cmp esi, ebp
je case.0x472811.4
inc dword [esi + 0x24]
mov edx, dword [ebx + 0x68]
mov eax, dword [edx + 0xb4]
mov ecx, dword [eax + 0x2c]
mov dword [edi + 0x18], ecx
mov dword [esi + 0x38], edi
mov edi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x24]
mov dword [esi + 0x2c], edi
call fcn.00490fc0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47296a
call fcn.00494a20
mov ecx, dword [edi + 0x3e4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + 8]
push eax
push esi
call fcn.00480320
dec dword [esi + 0x24]
jne case.0x472811.4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8