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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x6c]
cmp eax, dword [ecx + 8]
jbe 0x470d8b
sub esp, 0xec
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
jne 0x47054d
movsd xmm0, qword [esp + 0xfc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x6393a0]
jmp 0x47057c
cmp edx, 0x40
jne 0x470d72
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 0x8c], xmm0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
lea eax, [0x6393b0]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebp
mov edx, dword [eax + 4]
mov dword [esp + 0x88], edx
mov esi, ebx
mov ebx, dword [eax]
mov dword [esp + 0x84], ebx
mov edi, ebp
lea ebp, [edx + ebx]
mov dword [esp + 0x80], ebp
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x7c], ebp
lea edx, [ebx + edx - 0x20]
mov dword [esp + 0x78], edx
neg edx
cmp edx, 0x20
sbb ebx, ebx
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov ecx, edx
mov edx, edi
shl edi, cl
mov ecx, dword [esp + 0x80]
shr esi, cl
and esi, ebp
mov ebp, dword [esp + 0x74]
and ebp, edi
or esi, ebp
mov ebp, ecx
mov ecx, dword [esp + 0x78]
mov edi, edx
shr edx, cl
and ebx, edx
or ebx, esi
test ebx, ebx
setne dl
mov ecx, ebp
shr edi, cl
mov ebp, dword [esp + 0x7c]
test ebp, edi
xchg ebp, ebx
setne bl
xchg ebp, ebx
mov ebx, dword [esp + 0x84]
cmp ebx, 0x20
mov esi, edx
sbb edx, edx
mov dword [esp + 0x7c], edx
mov edi, ebp
mov ebp, dword [esp + 0x88]
cmp ebp, 0x20
sbb ebp, ebp
mov dword [esp + 0x70], ebp
lea ebp, [ebx - 0x20]
mov dword [esp + 0x78], ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
mov dword [esp + 0x74], ebp
cmp ebp, 0x20
sbb edx, edx
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x78]
cmp ebx, 0x20
sbb ebx, ebx
mov dword [esp + 0x68], ebx
mov ecx, ebp
mov ebx, 1
shr ebx, cl
and ebx, edx
mov ecx, dword [esp + 0x78]
mov edx, 1
shl edx, cl
mov ebp, dword [esp + 0x68]
and edx, ebp
or edx, ebx
mov dword [esp + 0x64], edx
mov ecx, dword [esp + 0x84]
mov ebp, 1
shl ebp, cl
mov ebx, dword [esp + 0x7c]
and ebp, ebx
mov dword [esp + 0x7c], ebp
add ebp, 0xffffffff
mov dword [esp + 0x60], ebp
adc edx, 0xffffffff
mov dword [esp + 0x5c], edx
or edi, esi
mov esi, ecx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x54]
shl edx, cl
mov ebp, dword [esp + 0x6c]
and edx, ebp
mov ecx, esi
mov ebp, dword [esp + 0x50]
mov esi, ebp
shr ebp, cl
and ebp, ebx
or ebp, edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x54]
mov ebx, edx
shr edx, cl
mov ecx, ebx
mov ebx, dword [esp + 0x68]
and edx, ebx
or edx, ebp
mov ebx, ecx
mov ecx, dword [esp + 0x88]
mov ebp, 1
shl ebp, cl
mov ecx, ebx
mov ebx, dword [esp + 0x70]
and ebx, ebp
dec ebx
and edx, ebx
mov ebp, dword [esp + 0x60]
and ebp, esi
mov esi, ebp
mov ebp, dword [esp + 0x5c]
and ebp, ecx
cmp edx, ebx
jne 0x4707fa
test esi, esi
setne al
test ebp, ebp
setne cl
or ecx, eax
test cl, cl
je 0x470720
mov eax, 3
lea ecx, [0x53ef5d]
jmp 0x47073e
xchg edi, eax
test al, al
xchg edi, eax
je 0x470733
mov eax, 4
lea ecx, [0x53f0cf]
jmp 0x47073e
mov eax, 4
lea ecx, [0x53f0cb]
mov edx, dword [esp + 0xf4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf8]
cmp ebp, ebx
jb 0x47075c
mov esi, dword [esp + 0xf0]
jmp 0x4707ae
mov dword [esp + 0xcc], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], eax
lea ecx, [0x522ce0]
mov dword [esp + 0x10], ecx
call fcn.004498e0
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xf4]
mov esi, eax
mov ebp, ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x70], ebx
mov dword [esp + 0xd4], esi
mov dword [esp + 0x58], ebp
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00462540
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x110], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x118], eax
add esp, 0xec
ret
test edx, edx
jne 0x470805
mov edx, 1
jmp 0x470811
mov ecx, dword [esp + 0x64]
or ebp, ecx
mov ecx, dword [esp + 0x7c]
or esi, ecx
add edx, dword [eax + 8]
movzx ecx, byte [esp + 0x104]
cmp cl, 0x62
je 0x470d0f
cmp cl, 0x78
je 0x47082f
cmp cl, 0x58
jne 0x4708a1
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00472180
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
movzx ebx, byte [0x639261]
test bl, bl
je 0x470c9d
mov dword [esp + 0xd0], eax
xchg edi, eax
mov byte [esp + 0x3b], al
xchg edi, eax
mov ebx, edi
lea edi, [esp + 0xd8]
xor eax, eax
call fcn.00461e4b
mov ecx, dword [esp + 0x108]
test ecx, ecx
jl 0x470b15
mov dword [esp + 0x44], ebp
mov edi, edx
movzx edx, byte [esp + 0x104]
cmp dl, 0x66
je 0x470a85
cmp dl, 0x47
ja 0x470912
cmp dl, 0x45
je 0x470917
cmp dl, 0x47
jne 0x470906
test ecx, ecx
jmp 0x470939
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
jmp 0x470968
cmp dl, 0x65
jne 0x470932
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
movzx edx, byte [esp + 0x104]
mov dword [esp + 0x70], ecx
jmp 0x470971
cmp dl, 0x67
jne 0x47095e
test ecx, ecx
jne 0x47094c
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
jmp 0x470958
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, ecx
mov dword [esp + 0x70], ebp
jmp 0x470971
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
mov dword [esp + 0x70], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], edi
lea edi, [esp + 0x94]
call fcn.00461e4a
jne 0x4709f2
cmp ebp, 9
jg 0x4709f2
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov dword [esp + 4], esi
mov ebx, dword [esp + 0x58]
sub ebx, ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.00472a80
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
mov eax, 1
jmp 0x470a6c
cmp ebp, 0x12
jg 0x470a69
mov dword [esp + 0x4c], ebp
lea eax, [esp + 0x94]
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], 0x18
mov dword [esp + 0xe0], 0x18
mov eax, dword [esp + 0xd0]
mov ecx, dword [eax]
lea edx, [esp + 0xd8]
mov dword [esp], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov edi, dword [esp + 0x58]
sub edi, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebp
call fcn.00472e00
mov eax, dword [esp + 0x4c]
cmp eax, 0x12
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
setle al
mov ebp, dword [esp + 0x44]
mov edi, dword [esp + 0x58]
mov byte [esp + 0x3a], al
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x108]
jmp 0x470a8f
mov eax, ecx
xor eax, eax
mov byte [esp + 0x3a], al
mov eax, ecx
movzx ebp, byte [esp + 0x3a]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x470aa1
test eax, eax
jmp 0x470c25
mov eax, dword [esp + 0xf0]
mov dword [esp], eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xf8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
mov byte [esp + 0x10], dl
mov byte [esp + 0x11], bl
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x20], eax
call fcn.00470da0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea edi, [esp + 0xac]
call fcn.00461e48
lea ecx, [esp + 0xac]
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0xe0], 0x20
mov ecx, dword [esp + 0xd0]
mov ebx, dword [ecx]
mov eax, ecx
lea ecx, [esp + 0xd8]
mov dword [esp], ecx
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
sub edx, ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.00473a60
movzx ecx, byte [esp + 0x104]
cmp cl, 0x47
ja 0x470b9e
cmp cl, 0x45
je 0x470ba3
cmp cl, 0x47
jne 0x470b93
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x470c0a
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x470c1c
cmp cl, 0x65
jne 0x470bca
mov eax, dword [esp + 0xe4]
dec eax
test eax, eax
jle 0x470bba
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x470c1c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x470c1c
cmp cl, 0x66
jne 0x470bfc
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x470bec
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x470c1c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x470c1c
cmp cl, 0x67
jne 0x470c13
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0xe4]
jmp 0x470c1c
mov eax, dword [esp + 0x108]
test eax, eax
mov edx, ecx
movzx ebx, byte [esp + 0x3b]
mov ecx, eax
mov dword [esp + 0x70], ecx
setl al
mov ebp, dword [esp + 0xf0]
mov dword [esp], ebp
mov ebp, dword [esp + 0xf4]
mov dword [esp + 4], ebp
mov ebp, dword [esp + 0xf8]
mov dword [esp + 8], ebp
mov byte [esp + 0xc], al
mov byte [esp + 0xd], bl
lea edi, [esp + 0x10]
lea esi, [esp + 0xd8]
call fcn.0046232e
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], dl
call fcn.004710e0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ebx, dword [esp + 0xf0]
mov dword [esp], ebx
mov ebx, dword [esp + 0xf4]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0xf8]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x108]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x10], cl
xchg edi, eax
mov byte [esp + 0x11], al
xchg edi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
call fcn.00470da0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
mov ecx, dword [esp + 0xf0]
mov dword [esp], ecx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xf8]
mov dword [esp + 8], ecx
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
call fcn.00471fd0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x110], eax
mov dword [esp + 0x114], ecx
mov dword [esp + 0x118], edx
add esp, 0xec
ret
lea eax, [0x522b20]
mov dword [esp], eax
lea eax, [0x581670]
mov dword [esp + 4], eax
call fcn.00435010
nop
call fcn.00460860
jmp fcn.00470500