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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10069fe2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push ebx
mov ebx, ecx
mov dword [esp + 0x5c], edx
push esi
push edi
mov dword [esp + 0x70], ebx
cmp dword [ebx + 0x10], 0
jne 0x100470ea
xor al, al
jmp 0x100478f8
push 3
pop esi
mov dword [esp + 0x34], 0xc7dcd66a
lea ecx, [esp + 0x74]
mov dword [esp + 0x68], 0xffffffff
mov dword [esp + 0x2c], 1
push esi
call fcn.1002a3c2
lea edx, [esp + 0x74]
lea ecx, [esp + 0x12c]
call fcn.100392b3
lea eax, [esp + 0x68]
push eax
lea edx, [esp + 0x38]
lea ecx, [esp + 0x30]
call fcn.10046bd7
pop ecx
push 2
mov dword [esp + 0x30], 0xfffffffe
pop edi
jmp 0x100471d0
mov dword [esp + 0x44], 0xfffffffa
mov dword [esp + 0xd4], 1
cmp dword [esp + 0x68], 0
jne 0x100471db
mov dword [esp + 0x34], 0
jmp 0x100471c6
lea eax, [esp + 0x68]
mov dword [esp + 0xec], 0x1b3b
push eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x88]
lea ecx, [esp + 0x100]
call fcn.10039314
add esp, 0x14
mov dword [esp + 0x44], edi
cmp dword [esp + 0x44], 0
jl 0x100471c2
mov byte [esp + 0x23], 0
lea ecx, [esp + 0x23]
call fcn.10046cca
dec dword [esp + 0x44]
jns 0x100471ae
inc dword [esp + 0x34]
cmp dword [esp + 0x34], edi
jle 0x10047166
inc dword [esp + 0x2c]
cmp dword [esp + 0x2c], 0x14
jle 0x10047142
cmp dword [esp + 0x74], 0
je 0x100471fe
push dword [esp + 0x74]
call fcn.10050a29
and dword [esp + 0x78], 0
and dword [esp + 0x7c], 0
and dword [esp + 0x80], 0
pop ecx
push 0x6ea1
push 0
push 0x6954
lea eax, [esp + 0x70]
push eax
push 0x736b
push 0x2edb
call fcn.10047eff
add esp, 0x18
mov dword [esp + 0xcc], 0xa062b000
lea ecx, [esp + 0xb0]
push esi
call fcn.1002a3c2
and dword [esp + 0x144], 0
lea ecx, [esp + 0xa4]
mov dword [esp + 0x24], 6
mov dword [esp + 0x10], 0x939f
push 4
call fcn.1002a3c2
mov dword [esp + 0x48], 0xcea2ff3e
lea edx, [esp + 0xb0]
mov dword [esp + 0x24], 8
lea ecx, [esp + 0x1c]
call fcn.10046cdb
mov dword [esp + 0x1c], 0
jmp 0x1004729c
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x100], 0x33563700
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jl 0x10047289
lea edx, [esp + 0xa4]
lea ecx, [esp + 0x1c]
call fcn.10046cfa
mov ecx, dword [esp + 0xcc]
xor edx, edx
mov eax, dword [esp + 0xb0]
mov dword [eax + 4], ecx
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x108]
mov eax, dword [esp + 0x100]
mov eax, dword [esp + 0x108]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x104]
mov eax, dword [esp + 0x108]
cmp dword [ecx + 8], edx
je 0x1004730d
cmp dword [esp + 0x48], edx
je 0x1004730d
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x3b]
mov esi, dword [esp + 0xa4]
mov eax, dword [esi + 4]
mov dword [esp + 0x24], eax
mov byte [esp + 0x3b], dl
call fcn.10046d16
push esi
call fcn.10050a29
or dword [esp + 0x148], 0xffffffff
xor eax, eax
pop ecx
push dword [esp + 0xb0]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
call fcn.10050a29
xor eax, eax
cmp dword [ebx + 0x14], 0x10
pop ecx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
jb 0x10047380
mov ecx, dword [ebx]
jmp 0x10047382
mov ecx, ebx
cmp dword [ebx + 0x14], 0x10
mov dword [esp + 0x54], ecx
jb 0x10047390
mov edx, dword [ebx]
jmp 0x10047392
mov edx, ebx
mov eax, dword [ebx + 0x10]
add eax, edx
cmp ecx, eax
je 0x100478f6
call fcn.10046d2e
mov eax, dword [esp + 0x54]
mov al, byte [eax]
cmp al, 0x30
jl 0x10047805
cmp al, 0x39
jg 0x10047805
mov dword [esp + 0x48], 0x1a48
cmp dword [esp + 0x48], 0xc5d
jge 0x10047572
lea eax, [esp + 0xdc]
push eax
lea eax, [esp + 0x44]
push eax
push 0x100078e0
call fcn.1005056b
add esp, 0xc
lea eax, [esp + 0x118]
xor ebx, ebx
lea ecx, [esp + 0x58]
xorps xmm0, xmm0
mov dword [esp + 0x58], ebx
movsd qword [esp + 0x118], xmm0
push eax
push dword [esp + 0x44]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
call fcn.10049f76
mov dword [esp + 0x144], 1
lea eax, [esp + 0x120]
push eax
push dword [esp + 0x44]
xorps xmm0, xmm0
mov dword [esp + 0x94], ebx
lea ecx, [esp + 0x94]
movsd qword [esp + 0x128], xmm0
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.10049f76
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
movsd qword [esp + 0x48], xmm0
mov edi, ebx
test eax, eax
jle 0x1004749d
mov esi, dword [esp + 0x58]
push esi
push 0x10007d60
call fcn.1005056b
movsd xmm0, qword [esp + 0x50]
inc edi
addsd xmm0, qword [esi]
mov eax, dword [esp + 0x48]
add esi, 8
pop ecx
pop ecx
movsd qword [esp + 0x48], xmm0
cmp edi, eax
jl 0x10047474
mov edi, ebx
mov ebx, dword [esp + 0x8c]
test eax, eax
jle 0x100474c5
mov esi, ebx
push esi
push 0x10007d60
call fcn.1005056b
mov eax, dword [esp + 0x48]
inc edi
pop ecx
add esi, 8
pop ecx
cmp edi, eax
jl 0x100474ac
movd xmm0, dword [esp + 0xdc]
movsd xmm2, qword [esp + 0x48]
cvtdq2pd xmm0, xmm0
divsd xmm0, xmm2
test eax, eax
jle 0x10047501
mov ecx, dword [esp + 0x58]
mov edx, ebx
sub edx, ecx
movsd xmm1, qword [edx + ecx]
divsd xmm1, qword [ecx]
comisd xmm0, xmm1
jbe 0x100474fb
movapd xmm0, xmm1
add ecx, 8
dec eax
jne 0x100474e8
mulsd xmm0, xmm2
push ecx
push ecx
movsd qword [esp], xmm0
push 0x10007d64
call fcn.10050853
add esp, 0xc
test ebx, ebx
je 0x1004753b
push ebx
call fcn.10050a29
xor eax, eax
pop ecx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
or dword [esp + 0x144], 0xffffffff
cmp dword [esp + 0x58], 0
je 0x1004756b
push dword [esp + 0x58]
call fcn.10050a29
mov ebx, dword [esp + 0x74]
pop ecx
xor ecx, ecx
push 2
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ecx
pop edi
jmp 0x10047574
mov ebx, dword [esp + 0x70]
push 2
pop edi
xor ecx, ecx
xor edx, edx
inc edx
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
jmp 0x10047594
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xbc], 0x8eac8b13
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10047581
mov dword [esp + 0x18], ecx
jmp 0x100475b6
mov byte [esp + 0x33], cl
cmp byte [esp + 0x33], 0
je 0x100475b2
call fcn.10046e4a
xor ecx, ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], ecx
jle 0x100475a0
mov dword [esp + 0x18], 0xffffffe5
jmp 0x10047705
push 3
lea ecx, [esp + 0x9c]
call fcn.1002a3c2
lea edx, [esp + 0x98]
lea ecx, [esp + 0x3c]
call fcn.10046e65
xor edx, edx
mov dword [esp + 0x3c], edx
jmp 0x10047602
mov eax, dword [esp + 0x3c]
mov dword [esp + eax*4 + 0x130], 0x42b4cf22
inc dword [esp + 0x3c]
cmp dword [esp + 0x3c], edi
jl 0x100475ef
mov esi, dword [esp + 0x98]
mov dword [esi + 8], edx
mov dword [esp + 0x14], 7
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], edx
jmp 0x10047669
mov dword [esp + 0x10], 0xfd947597
mov dword [esp + 0x10], edx
cmp dword [esp + 0x10], edx
jl 0x10047661
lea eax, [esp + 0x18]
mov dword [esp + 0xe4], 0xd203
push eax
lea edx, [esp + 0xe8]
lea ecx, [esp + 0x2c]
call fcn.10046e81
add esp, 4
dec dword [esp + 0x10]
jns 0x10047636
xor edx, edx
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jle 0x10047624
mov dword [esp + 0x14], edx
jmp 0x100476ca
mov dword [esp + 0x24], 0x1f230b56
lea edx, [esp + 0x14]
lea ecx, [esp + 0x28]
call fcn.10046ea0
xor edx, edx
mov dword [esp + 0x28], edx
jmp 0x100476c0
mov dword [esp + 0x48], 0xffffffff
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov eax, dword [esi + 8]
mov eax, dword [esp + eax*4 + 0xbc]
cmp eax, 0x1f51b437
mov eax, dword [esp + 0x24]
setge cl
add eax, ecx
mov dword [esp + 0x48], eax
inc dword [esp + 0x28]
cmp dword [esp + 0x28], edx
jle 0x10047692
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jle 0x10047675
inc dword [esi + 8]
cmp dword [esi + 8], 0
jle 0x10047612
push dword [esp + 0x98]
call fcn.10050a29
pop ecx
xor ecx, ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
inc dword [esp + 0x18]
cmp dword [esp + 0x18], 0xffffffec
jle 0x100475c9
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x58]
push eax
push 0x529d
push 0x3216
push ecx
push 0x7568
push 0x7842
call fcn.100497b3
add esp, 0x1c
mov dword [esp + 0xfc], 0xa622a149
mov dword [esp + 0xf4], 0xb44cf592
lea ecx, [esp + 0x80]
push 3
call fcn.1002a3c2
mov dword [esp + 0xc4], 0x60016488
lea edx, [esp + 0x80]
mov dword [esp + 0xc8], 0x35984225
lea ecx, [esp + 0x128]
mov dword [esp + 0xe8], 0xffffffff
mov dword [esp + 0x48], 0
call fcn.10046ea5
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xd0]
push eax
lea edx, [esp + 0xd8]
lea ecx, [esp + 0xf8]
call fcn.10046ec4
add esp, 0x10
cmp dword [esp + 0x80], 0
je 0x100477fb
push dword [esp + 0x80]
call fcn.10050a29
xor eax, eax
pop ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov ecx, dword [esp + 0x54]
inc ecx
jmp 0x10047382
mov dword [esp + 0xd8], 0xaf43b7c7
lea ecx, [esp + 0x10c]
push edi
call fcn.1002a3c2
mov dword [esp + 0xf8], 0x6f5a9c4c
mov dword [esp + 0x6c], 0xfffffff8
mov dword [esp + 0xf0], 0x4039ee49
mov dword [esp + 0xe0], 0xfa4c8210
mov dword [esp + 0xd0], 0x51dd2e91
mov dword [esp + 0xc0], 0xa72d50fa
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x10], 0
jmp 0x10047884
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x10c]
mov dword [eax + ecx*4], 6
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edi
jl 0x1004786e
dec dword [esp + 0x6c]
lea eax, [esp + 0xd0]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0xe4]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xf4]
push eax
lea edx, [esp + 0x124]
lea ecx, [esp + 0xd8]
call fcn.10046f63
add esp, 0x18
cmp dword [esp + 0x10c], 0
je 0x100478e8
push dword [esp + 0x10c]
call fcn.10050a29
pop ecx
lea ecx, [esp + 0x64]
call fcn.10046fdc
jmp 0x100470e3
mov al, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret