Function at 0x4724b0
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.0x4724cc
jmp dword [edx*4 + 0x472974]
mov dword [esp + 0x10], 0x400
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x800
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x1000
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x2000
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x4000
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x8000
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x8000
jmp 0x47252b
mov dword [esp + 0x10], 0x10000
jmp case.default.0x4724cc
mov dword [esp + 0x10], 0x10000
mov esi, 1
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x472556
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x472556
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ecx + 0x2c]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x472556
mov cl, 1
jmp 0x472558
xor cl, cl
mov ebx, dword [edi + 0x18]
cmp ebx, ebp
mov dword [esp + 0x1c], ebx
je 0x472607
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x472578
cmp eax, 0x61
jne 0x472607
mov eax, dword [esp + 0x10]
cmp eax, ebp
je case.0x4727f1.4
test cl, cl
je 0x4725ed
mov ecx, edi
call fcn.004826b0
test eax, eax
je case.0x4727f1.4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00401620
add esp, 4
cmp eax, 0xffffffff
je case.0x4727f1.4
push esi
push eax
call fcn.004caeb0
add esp, 8
cmp eax, ebp
je case.0x4727f1.4
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je case.0x4727f1.4
push ebp
push ebp
push eax
call fcn.00494820
cmp eax, ebp
jl case.0x4727f1.4
mov ecx, dword [edi + 0x20]
push eax
call fcn.004a05a0
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.00401990
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 0x472619
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x70]
cmp esi, ebp
je 0x472774
test cl, cl
jne 0x4727e4
cmp byte [ebx + 0x7e], 0x22
jne 0x4726f8
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.00491160
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 0x4726e9
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 0x4726e9
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.00470400
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x47277a
lea eax, [ebx + ebp]
xor edi, edi
jmp 0x472680
cmp edx, 3
jne 0x472784
lea ecx, [esp + 0x44]
call fcn.00401580
mov edx, dword [ebx + 0x74]
push edx
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.00491160
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 0x472759
lea ecx, [ecx]
add eax, 4
mov dword [esp + 0x48], eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x48]
call fcn.004928e0
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 0x472730
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.00470600
jmp 0x472784
test cl, cl
jne 0x4727e4
jmp 0x472784
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov esi, dword [edi + 0x20]
cmp esi, ebp
je 0x4727e4
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47279d
call fcn.00494e90
cmp eax, 6
jl 0x4727e4
mov ecx, dword [esi + 0xb4]
call fcn.0049ecd0
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x4727e4
push ecx
call fcn.00401620
add esp, 4
cmp eax, 0xffffffff
je 0x4727e4
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.00470400
mov eax, dword [esp + 0x70]
cmp eax, 8
ja case.0x4727f1.4
jmp dword [eax*4 + 0x472998]
mov esi, 2
jmp 0x472812
mov esi, 4
jmp 0x472812
mov esi, 8
jmp 0x472812
mov esi, 1
mov eax, dword [ebx]
cmp eax, ebp
je case.0x4727f1.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.00491160
mov edi, 1
cmp esi, edi
jle 0x47288d
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 0x472887
push ebp
lea ecx, [esp + 0x24]
call fcn.004913a0
shl edi, 1
cmp edi, esi
jl 0x472860
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.0x4727f1.4
mov ecx, dword [ebx + 0x68]
push eax
call fcn.00491c60
mov edi, eax
cmp edi, ebp
je case.0x4727f1.4
cmp dword [edi + 0x78], 5
jne case.0x4727f1.4
mov ecx, dword [0x6f8c24]
push 0x170
call fcn.0040db40
cmp eax, ebp
je case.0x4727f1.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.0047ed70
mov esi, eax
cmp esi, ebp
je case.0x4727f1.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.004913a0
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47294a
call fcn.00494e90
mov ecx, dword [edi + 0x3e4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + 8]
push eax
push esi
call fcn.00480480
dec dword [esi + 0x24]
jne case.0x4727f1.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