Function at 0x470d20
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 0x4715ab
sub esp, 0xec
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
jne 0x470d6d
movsd xmm0, qword [esp + 0xfc]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x48], xmm0
mov ebx, dword [esp + 0x48]
xor ebp, ebp
lea eax, [0x4b6228]
jmp 0x470d9c
cmp edx, 0x40
jne 0x471592
movsd xmm0, qword [esp + 0xfc]
movsd qword [esp + 0x8c], xmm0
mov ebx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
lea eax, [0x4b6238]
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 0x47101a
test esi, esi
setne al
test ebp, ebp
setne cl
or ecx, eax
test cl, cl
je 0x470f40
mov eax, 3
lea ecx, [0x4e5d66]
jmp 0x470f5e
xchg edi, eax
test al, al
xchg edi, eax
je 0x470f53
mov eax, 4
lea ecx, [0x4e5df4]
jmp 0x470f5e
mov eax, 4
lea ecx, [0x4e5df0]
mov edx, dword [esp + 0xf4]
lea ebx, [edx + eax]
mov ebp, dword [esp + 0xf8]
cmp ebp, ebx
jb 0x470f7c
mov esi, dword [esp + 0xf0]
jmp 0x470fce
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, [0x4d7180]
mov dword [esp + 0x10], ecx
call fcn.00447640
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.0045ee10
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 0x471025
mov edx, 1
jmp 0x471031
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 0x47152f
cmp cl, 0x78
je 0x47104f
cmp cl, 0x58
jne 0x4710c1
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.004729a0
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 [0x4b6122]
test bl, bl
je 0x4714bd
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.0045e71b
mov ecx, dword [esp + 0x108]
test ecx, ecx
jl 0x471335
mov dword [esp + 0x44], ebp
mov edi, edx
movzx edx, byte [esp + 0x104]
cmp dl, 0x66
je 0x4712a5
cmp dl, 0x47
ja 0x471132
cmp dl, 0x45
je 0x471137
cmp dl, 0x47
jne 0x471126
test ecx, ecx
jmp 0x471159
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
jmp 0x471188
cmp dl, 0x65
jne 0x471152
lea ebp, [ecx + 1]
mov edx, dword [esp + 0x10c]
cmp edx, 0x20
movzx edx, byte [esp + 0x104]
mov dword [esp + 0x70], ecx
jmp 0x471191
cmp dl, 0x67
jne 0x47117e
test ecx, ecx
jne 0x47116c
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, 1
jmp 0x471178
mov ebp, dword [esp + 0x10c]
cmp ebp, 0x20
mov ebp, ecx
mov dword [esp + 0x70], ebp
jmp 0x471191
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.0045e71a
jne 0x471212
cmp ebp, 9
jg 0x471212
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.004732a0
movzx edx, byte [esp + 0x104]
movzx ebx, byte [esp + 0x3b]
mov esi, dword [esp + 0x40]
mov eax, 1
jmp 0x47128c
cmp ebp, 0x12
jg 0x471289
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.00473620
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 0x4712af
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 0x4712c1
test eax, eax
jmp 0x471445
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.004715c0
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.0045e718
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.00474280
movzx ecx, byte [esp + 0x104]
cmp cl, 0x47
ja 0x4713be
cmp cl, 0x45
je 0x4713c3
cmp cl, 0x47
jne 0x4713b3
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x47142a
mov eax, dword [esp + 0x108]
test eax, eax
jmp 0x47143c
cmp cl, 0x65
jne 0x4713ea
mov eax, dword [esp + 0xe4]
dec eax
test eax, eax
jle 0x4713da
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x47143c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x47143c
cmp cl, 0x66
jne 0x47141c
mov eax, dword [esp + 0xe4]
sub eax, dword [esp + 0xe8]
test eax, eax
jle 0x47140c
mov edx, dword [esp + 0x108]
test edx, edx
jmp 0x47143c
mov edx, dword [esp + 0x108]
test edx, edx
mov eax, 0
jmp 0x47143c
cmp cl, 0x67
jne 0x471433
mov eax, dword [esp + 0x108]
test eax, eax
mov eax, dword [esp + 0xe4]
jmp 0x47143c
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.0045ebfe
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], dl
call fcn.00471900
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.004715c0
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.004727f0
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, [0x4d6fc0]
mov dword [esp], eax
lea eax, [0x509e9c]
mov dword [esp + 4], eax
call fcn.004341f0
nop
call fcn.0045d0e0
jmp fcn.00470d20