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

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x5cc66c
push eax
mov eax, dword [0x6613bc]
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
push ebp
mov ebp, ecx
mov ecx, dword [eax + 0x20c]
push esi
push edi
lea edx, [ebp + 0x14]
mov dword [ebp + 0x840], ecx
mov ecx, dword [0x6613d8]
push edx
call fcn.0047cc70
test eax, eax
je 0x4716b3
mov eax, dword [eax + 0x2c]
cmp eax, 0xa
jbe 0x4716b3
mov dword [ebp + 0x840], eax
push 0xe3
push 0x15
call fcn.00472810
add esp, 8
mov esi, eax
push 0
mov ecx, esi
mov dword [esp + 0x14], 0
call fcn.004070a0
mov eax, dword [0x6613bc]
mov ecx, dword [eax + 0x27c]
test ecx, ecx
je 0x471c7e
mov ecx, dword [0x6613c8]
add ecx, 4
push 0
push ecx
lea ecx, [esp + 0x34]
call fcn.005789d4
mov dword [esp + 0xb4], 0
mov edx, dword [0x6613e8]
push 0
add edx, 0xc
push edx
lea ecx, [esp + 0x28]
call fcn.005789d4
mov byte [esp + 0xb4], 1
push 0xffffffffffffffff
lea ecx, [esp + 0x30]
call fcn.00578965
mov eax, dword [0x6613c0]
mov eax, dword [eax + 0x54]
test eax, eax
mov dword [esp + 0x14], eax
je 0x471925
jmp 0x471750
mov ecx, dword [esp + 0x10]
cmp ecx, dword [ebp + 0x840]
jae 0x471925
test eax, eax
mov ecx, eax
je 0x471a7f
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov edi, dword [ecx + 8]
mov ecx, dword [edi + 0x24]
test ecx, ecx
ja 0x471784
cmp dword [edi + 0x20], 0xffffffff
jbe 0x471812
mov ecx, dword [ebp + 0x844]
mov ebx, 1
test bl, ch
je 0x47191d
mov ecx, dword [edi + 0x7c]
test ecx, ecx
je 0x47191d
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 0x50]
test eax, eax
je 0x471919
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
jne 0x471919
mov ecx, edi
call fcn.00463b60
test eax, eax
jne 0x471919
mov eax, dword [0x65843c]
cmp dword [edi + 0x788], eax
je 0x471919
push 0x10
lea ecx, [edi + 0x80]
push ecx
mov ecx, esi
mov dword [edi + 0x788], eax
call fcn.00406f10
test byte [ebp + 0x844], 1
mov ecx, esi
je 0x471816
push 0xfcfcfcfc
call fcn.004070a0
push 0xfcfc
jmp 0x471849
xor ebx, ebx
jmp 0x471797
cmp dword [ebp + 0x834], 0x1000000
jae 0x47182d
push 0
call fcn.004070a0
push 0
jmp 0x471849
mov edx, dword [0x661414]
mov eax, dword [edx + 0x18]
push eax
call fcn.004070a0
mov ecx, dword [0x661414]
xor edx, edx
mov dx, word [ecx + 0x16]
push edx
mov ecx, esi
call fcn.00407030
xor eax, eax
test ebx, ebx
setne al
mov ecx, esi
add eax, 2
push eax
call fcn.004070a0
mov eax, dword [edi + 0x14]
push eax
push 1
lea ecx, [esp + 0x50]
call fcn.00473240
mov byte [esp + 0xb4], 2
mov ecx, dword [ebp + 0x844]
push ecx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x48]
call fcn.0046c070
mov edx, dword [edi + 0x20]
push edx
push 2
lea ecx, [esp + 0x78]
call fcn.00472c20
mov byte [esp + 0xb4], 3
mov ecx, dword [ebp + 0x844]
push ecx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x70]
call fcn.0046c070
test ebx, ebx
je 0x471915
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov cl, 0x20
call fcn.0057c2c0
push eax
push 0x3a
lea ecx, [esp + 0x64]
call fcn.00472c20
mov byte [esp + 0xb4], 4
mov edx, dword [ebp + 0x844]
push edx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x5c]
call fcn.0046c070
inc dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x471750
lea ecx, [esp + 0x2c]
call fcn.0057897a
push 0xffffffffffffffff
lea ecx, [esp + 0x24]
call fcn.00578965
mov ecx, dword [0x661404]
call fcn.00487e10
test eax, eax
mov dword [esp + 0x14], eax
je 0x471c50
mov eax, dword [esp + 0x10]
cmp eax, dword [ebp + 0x840]
jae 0x471c50
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [0x661404]
call fcn.00487e20
mov edi, eax
mov ecx, edi
call fcn.004bc610
test eax, eax
je 0x471c44
mov eax, dword [edi + 0x94]
test eax, eax
je 0x471c44
mov eax, dword [0x65843c]
cmp dword [edi + 0x120], eax
je 0x471c44
mov ecx, dword [edi + 0x3c]
test ecx, ecx
mov dword [edi + 0x120], eax
mov eax, dword [edi + 0x38]
ja 0x4719b9
cmp eax, 0xffffffff
jbe 0x471a84
mov eax, dword [ebp + 0x844]
mov ebx, 1
test bl, ah
je 0x471c44
mov edx, dword [0x6613bc]
mov eax, dword [edx + 0x25c]
test eax, eax
je 0x471a0f
mov ecx, dword [ebp + 0x840]
mov edx, dword [esp + 0x10]
shr ecx, 1
cmp edx, ecx
jb 0x471a0f
mov ecx, dword [edi + 0x38]
mov dword [esp + 0x38], ecx
mov ecx, dword [edi + 0x3c]
xor edx, edx
shl eax, 0x14
cmp ecx, edx
jb 0x471c44
ja 0x471a0f
cmp dword [esp + 0x38], eax
jbe 0x471c44
mov ecx, dword [0x6613f0]
push 0
push edi
push 3
call fcn.004d7630
test eax, eax
je 0x471c44
push 0x5e3a20
lea ecx, [esp + 0x20]
call fcn.00406630
mov byte [esp + 0xb4], 5
push 0x5e3a20
lea ecx, [esp + 0x1c]
call fcn.00406630
mov byte [esp + 0xb4], 6
push 0x10
lea edx, [edi + 0x98]
push edx
mov ecx, esi
call fcn.00406f10
test byte [ebp + 0x844], 1
je 0x471a8b
push 0xfbfbfbfb
mov ecx, esi
call fcn.004070a0
push 0xfbfb
jmp 0x471ac1
jmp fcn.005a8539
xor ebx, ebx
jmp 0x4719cc
cmp dword [ebp + 0x834], 0x1000000
jae 0x471aa4
push 0
mov ecx, esi
call fcn.004070a0
push 0
jmp 0x471ac1
mov eax, dword [0x661414]
mov ecx, dword [eax + 0x18]
push ecx
mov ecx, esi
call fcn.004070a0
mov edx, dword [0x661414]
xor eax, eax
mov ax, word [edx + 0x16]
push eax
mov ecx, esi
call fcn.00407030
xor ecx, ecx
test ebx, ebx
setne cl
add ecx, 2
push ecx
mov ecx, esi
call fcn.004070a0
mov eax, dword [edi + 0x30]
push eax
push 1
lea ecx, [esp + 0x64]
call fcn.00473240
mov byte [esp + 0xb4], 7
mov edx, dword [ebp + 0x844]
push edx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 6
lea ecx, [esp + 0x5c]
call fcn.0046c070
mov eax, dword [edi + 0x38]
mov ecx, dword [edi + 0x3c]
push eax
mov dword [esp + 0x48], ecx
push 2
lea ecx, [esp + 0x78]
call fcn.00472c20
mov byte [esp + 0xb4], 8
mov edx, dword [ebp + 0x844]
push edx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 6
lea ecx, [esp + 0x70]
call fcn.0046c070
test ebx, ebx
je 0x471b91
mov eax, dword [edi + 0x38]
mov edi, dword [edi + 0x3c]
push edi
push 0x3a
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], eax
call fcn.00472c20
mov byte [esp + 0xb4], 9
mov ecx, dword [ebp + 0x844]
push ecx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 6
lea ecx, [esp + 0x48]
call fcn.0046c070
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x471bd6
push eax
push 3
lea ecx, [esp + 0x8c]
call fcn.00473240
mov byte [esp + 0xb4], 0xa
mov edx, dword [ebp + 0x844]
push edx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 6
lea ecx, [esp + 0x84]
call fcn.0046c070
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x471c1e
push eax
push 0xd5
lea ecx, [esp + 0xa0]
call fcn.00473240
mov byte [esp + 0xb4], 0xd
mov ecx, dword [ebp + 0x844]
push ecx
push esi
mov ecx, eax
call fcn.00472900
mov byte [esp + 0xb4], 6
lea ecx, [esp + 0x98]
call fcn.0046c070
inc dword [esp + 0x10]
mov byte [esp + 0xb4], 5
lea ecx, [esp + 0x18]
call fcn.00401b70
mov byte [esp + 0xb4], 1
lea ecx, [esp + 0x1c]
call fcn.00401b70
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x471950
lea ecx, [esp + 0x20]
call fcn.0057897a
mov byte [esp + 0xb4], 0
lea ecx, [esp + 0x20]
call fcn.0057897a
mov dword [esp + 0xb4], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.0057897a
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
mov dword [edx], eax
test byte [ebp + 0x844], 1
je 0x471c97
mov ecx, esi
call fcn.00472610
mov edx, dword [ebp]
push 0
push 1
push esi
mov ecx, ebp
call dword [edx + 0x54]
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret