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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x467372
sub esp, 0x9c
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x74], ecx
lea edx, [0x4c4c40]
mov dword [esp], edx
mov ebx, dword [esp + 0xa8]
mov dword [esp + 4], ebx
lea ebp, [esp + 0x70]
mov dword [esp + 8], ebp
call fcn.0046bc10
movzx eax, byte [esp + 0x10]
test al, al
jne 0x466dc1
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x74], ecx
lea edx, [0x4c4c40]
mov dword [esp], edx
mov edx, dword [esp + 0xa8]
mov dword [esp + 4], edx
lea ebx, [esp + 0x70]
mov dword [esp + 8], ebx
call fcn.0046bed0
mov eax, dword [esp + 0xc]
test byte [eax], al
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0xa0]
cmp eax, ecx
je 0x466db2
movzx edx, byte [ecx + 0xf]
mov ebx, edx
and edx, 0x1f
movzx ebp, byte [eax + 0xf]
and ebp, 0x1f
xchg ebp, eax
cmp al, dl
xchg ebp, eax
jne 0x466da3
mov byte [esp + 0x17], bl
mov byte [esp + 0x15], dl
mov dword [esp], ecx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
call fcn.00466750
mov eax, dword [esp + 4]
mov dword [esp + 0x94], eax
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
call fcn.00465ce0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x94]
mov dword [esp], edx
call fcn.00465ce0
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x4668cb
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4668da
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00401560
mov eax, dword [esp + 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp], ecx
call fcn.00401560
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x58]
test ecx, ecx
jne 0x466918
test eax, eax
je 0x4669b0
test ecx, ecx
je 0x46691c
test eax, eax
jne 0x46692b
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov dword [esp + 0x54], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x98]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00465ee0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401ea0
mov eax, dword [esp + 8]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx]
mov edx, dword [esp + 4]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x94]
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.00465ee0
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00401ea0
mov eax, dword [esp + 0x28]
cmp dword [esp + 8], eax
jne 0x466d94
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466d94
movzx eax, byte [esp + 0x15]
test al, al
je 0x466dd0
cmp al, 0x10
jbe 0x466d85
cmp al, 0x15
ja 0x466c2b
cmp al, 0x12
jbe 0x466b76
cmp al, 0x13
jne 0x466a5b
mov eax, dword [esp + 0xa0]
movzx ecx, word [eax + 0x22]
mov edx, dword [esp + 0xa4]
cmp word [edx + 0x22], cx
jne 0x466a4c
movzx ecx, word [eax + 0x20]
cmp word [edx + 0x20], cx
jne 0x466a4c
mov dword [esp], eax
call fcn.004019e0
mov eax, dword [esp + 4]
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call fcn.004019e0
mov eax, dword [esp + 4]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x68]
xor esi, esi
jmp 0x46726b
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
cmp al, 0x14
jne 0x466b00
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00401ea0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x90], ebx
mov dword [esp], edx
call fcn.00401ea0
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x466af1
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466af1
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov ebp, dword [esp + 0xa4]
cmp dword [ebp + 0x28], ebx
jne 0x466ae2
mov dword [esp + 0x44], ebx
xor eax, eax
jmp 0x467057
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
jne 0x466b38
xor eax, eax
jmp 0x466b68
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00466770
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
cmp al, 0x11
je 0x466bce
cmp al, 0x12
jne 0x466dd0
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x24]
mov edx, dword [esp + 0xa4]
cmp dword [edx + 0x24], ecx
je 0x466b9e
xor eax, eax
jmp 0x466bc0
mov eax, dword [eax + 0x20]
mov ecx, dword [edx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00466770
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
je 0x466c1b
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0xa4]
cmp dword [ecx + 0x28], eax
sete al
jmp 0x466c1d
xor eax, eax
mov byte [esp + 0xac], al
add esp, 0x9c
ret
cmp al, 0x17
ja 0x466cb5
cmp al, 0x16
jne 0x466c77
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00466770
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0xa4]
mov ecx, dword [ecx + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00466770
movzx eax, byte [esp + 0xc]
mov byte [esp + 0xac], al
add esp, 0x9c
ret
cmp al, 0x18
je 0x466d76
cmp al, 0x19
jne 0x466d71
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x28]
mov edx, dword [esp + 0xa4]
cmp dword [edx + 0x28], ecx
jne 0x466d62
mov ecx, dword [eax + 0x20]
mov dword [esp], ecx
call fcn.00401ea0
mov eax, dword [esp + 8]
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 4]
mov dword [esp + 0x90], ebx
mov dword [esp], edx
call fcn.00401ea0
mov eax, dword [esp + 0x44]
cmp dword [esp + 8], eax
jne 0x466d53
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466d53
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x28]
mov dword [esp + 0x44], ebx
mov ebp, dword [esp + 0xa4]
xor eax, eax
jmp 0x466e3c
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
cmp al, 0x1a
jne 0x466dd0
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
call fcn.0043d390
lea eax, [0x4dd5f6]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.0043dbf0
movzx eax, byte [esp + 0x17]
and eax, 0x1f
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043d8e0
call fcn.0043d590
call fcn.0043d3f0
lea eax, [0x4dd1a7]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.0046f470
mov esi, dword [esp + 0x2c]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov edx, dword [esp + 0xa0]
mov ebp, dword [esp + 0xa4]
cmp eax, ebx
jge 0x467025
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x467039
mov ecx, dword [ebp + 0x28]
lea esi, [eax + eax*2]
cmp eax, ecx
jae 0x467034
mov dword [esp + 0x40], esi
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x24]
mov dword [esp + 0x8c], eax
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x88], ecx
mov ebx, dword [eax + esi*4]
mov dword [esp], ebx
call fcn.00401ea0
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x90], ebp
mov dword [esp], ebx
call fcn.00401ea0
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x467016
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x467016
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4 + 4]
mov ebx, dword [esp + 0x88]
mov ebp, dword [ebx + eax*4 + 4]
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0xa8]
mov dword [esp + 8], edx
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
je 0x467007
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4]
mov dword [esp], edx
call fcn.00401f50
mov eax, dword [esp + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x88]
mov ebx, dword [edx + ecx*4]
mov ebp, dword [esp + 4]
mov dword [esp + 0x90], ebp
mov dword [esp], ebx
call fcn.00401f50
mov eax, dword [esp + 0x3c]
cmp dword [esp + 8], eax
jne 0x466ff8
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x466ff8
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + eax*4 + 8]
mov ebx, dword [esp + 0x88]
lea ebp, [ebx + eax*4 + 8]
cmp dword [ebp], edx
jne 0x466fe9
mov ecx, dword [ecx + eax*4]
mov dword [esp], ecx
call fcn.00401cf0
movzx eax, byte [esp + 4]
mov byte [esp + 0x16], al
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x88]
mov ecx, dword [edx + ecx*4]
mov dword [esp], ecx
call fcn.00401cf0
movzx eax, byte [esp + 0x16]
cmp byte [esp + 4], al
je 0x466e23
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
call fcn.00474b20
call fcn.00474b20
mov esi, dword [esp + 0x30]
lea eax, [esi + 1]
mov ebx, dword [esp + 0x44]
mov ebp, dword [esp + 0xa4]
mov edx, dword [esp + 0xa0]
cmp eax, ebx
jge 0x467234
mov ecx, dword [edx + 0x28]
cmp eax, ecx
jae 0x467248
mov esi, dword [edx + 0x24]
mov ecx, dword [ebp + 0x28]
lea edi, [esi + eax*8]
cmp eax, ecx
jae 0x467243
mov dword [esp + 0x30], eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], esi
mov ecx, dword [ebp + 0x24]
mov dword [esp + 0x80], ecx
lea edx, [ecx + eax*8]
mov dword [esp + 0x4c], edx
lea ebx, [esi + eax*8]
mov ebx, dword [ebx]
mov dword [esp], edi
mov dword [esp + 4], ebx
call fcn.00472a20
mov eax, dword [esp + 8]
mov dword [esp + 0x90], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
lea ebx, [edx + ecx*8]
mov ebx, dword [ebx]
mov ebp, dword [esp + 0x4c]
mov dword [esp], ebp
mov dword [esp + 4], ebx
call fcn.00472a20
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
call fcn.00401ea0
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.00401ea0
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x467225
mov ecx, dword [esp + 0x78]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x467225
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.00466150
mov eax, dword [esp + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp], edx
call fcn.00466150
mov eax, dword [esp + 0x40]
cmp dword [esp + 8], eax
jne 0x467216
mov ecx, dword [esp + 0x90]
mov dword [esp], ecx
mov dword [esp + 8], eax
call fcn.00403ac0
movzx eax, byte [esp + 0xc]
test al, al
je 0x467216
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
lea ecx, [ecx + eax*8 + 4]
mov ecx, dword [ecx]
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00472cc0
mov eax, dword [esp + 8]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x80]
lea edx, [edx + ecx*8 + 4]
mov edx, dword [edx]
mov ebx, dword [esp + 0x4c]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00472cc0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 8], eax
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46703e
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
call fcn.00474b20
call fcn.00474b20
mov edi, dword [esp + 0x38]
lea esi, [edi + 1]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x68]
cmp esi, edx
jge 0x4672aa
mov edi, dword [ebp + esi*4]
cmp esi, ecx
jae 0x46736a
mov dword [esp + 0x38], esi
mov ecx, dword [eax + esi*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
jne 0x46724d
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00401a90
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp], edx
call fcn.00401a90
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xa8]
mov ebp, dword [esp + 0x5c]
xor esi, esi
jmp 0x467319
mov edi, dword [esp + 0x34]
lea esi, [edi + 1]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0xa8]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x5c]
cmp esi, edx
jge 0x467354
mov edi, dword [ebp + esi*4]
cmp esi, ecx
jae 0x467363
mov dword [esp + 0x34], esi
mov ecx, dword [eax + esi*4]
mov dword [esp], edi
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00466770
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4672fb
mov byte [esp + 0xac], 0
add esp, 0x9c
ret
mov byte [esp + 0xac], 1
add esp, 0x9c
ret
mov eax, esi
call fcn.00474b20
mov eax, esi
call fcn.00474b20
nop
call fcn.004736a0
jmp fcn.00466770