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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [ebp + 0x20]
push edi
xor edi, edi
xor ecx, ecx
mov ebx, dword [esi + 0x10]
xor eax, eax
cmp ebx, edi
mov dword [esp + 0x14], edi
sete al
cmp eax, edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x98], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x28], edi
jne 0x47e465
mov ecx, dword [esi + 4]
mov eax, dword [esi + 0xc]
dec ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov ecx, esi
call fcn.00486300
mov ecx, dword [eax]
cmp ecx, dword [0x5180ac]
je 0x47e498
push 4
call fcn.004bb163
add esp, 4
cmp eax, edi
je 0x47e485
mov edx, dword [0x5180ac]
mov dword [eax], edx
jmp 0x47e487
xor eax, eax
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x54]
mov ecx, esi
push eax
call fcn.00486410
mov ecx, dword [esi + 8]
mov dword [esp + 0x30], edi
mov dword [esi + 0x10], ecx
mov ecx, esi
mov dword [esi + 0x14], edi
call fcn.00486300
cmp dword [eax], edi
jle 0x47e4d5
push 4
call fcn.004bb163
add esp, 4
cmp eax, edi
je 0x47e4c2
mov dword [eax], edi
jmp 0x47e4c4
xor eax, eax
lea edx, [esp + 0x50]
push eax
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.004864b0
lea eax, [esp + 0x50]
push 1
push eax
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov ecx, dword [ebp + 0x10]
mov ebx, dword [eax]
mov eax, ecx
mov edx, dword [0x5180ac]
neg eax
sbb eax, eax
mov dword [esp + 0x38], ebx
and eax, 2
add eax, 2
cmp edx, eax
mov dword [esp + 0x94], eax
jl 0x47f752
mov eax, dword [0x51807c]
mov dword [esp + 0x10], 1
cmp eax, edi
je 0x47e52b
mov dword [esp + 0x10], edi
jmp 0x47e537
cmp ecx, edi
je 0x47e537
mov dword [esp + 0x10], 2
mov edi, dword [ebp + 0x1c]
mov eax, 0xfffffff6
mov dword [esp + 0x54], eax
mov dword [esp + 0x34], eax
mov eax, dword [edi + 8]
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], eax
mov ecx, dword [0x5180ac]
inc ecx
xor edx, edx
test eax, eax
sete dl
mov eax, edx
mov dword [esp + 0xb0], 0
test eax, eax
mov dword [esp + 0xb4], 0x40240000
mov dword [esp + 0x24], ecx
jne 0x47e5c5
mov ecx, edi
call fcn.00486300
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x24], eax
jg 0x47e5c5
mov dword [esp + 0x34], eax
mov eax, dword [0x5180ac]
inc eax
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004861a0
test eax, eax
je 0x47e5c5
mov ecx, edi
call fcn.00486300
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x24], eax
jle 0x47e597
mov eax, dword [esp + 0x10]
cmp eax, ebx
jl 0x47e5eb
mov edi, eax
mov ecx, esi
mov dword [esp + 0x30], ebx
call fcn.004861a0
mov ecx, esi
call fcn.00486300
mov ebx, dword [eax]
cmp edi, ebx
jge 0x47e5cf
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x30]
mov esi, dword [ebp + 8]
lea edx, [esp + 0x50]
push ecx
push edx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov dword [esp + 0x74], eax
lea eax, [esp + 0x50]
push ebx
push eax
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov dword [esp + 0xf4], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0x40240000
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0x40240000
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x34]
cmp ebx, eax
jne 0x47e676
mov esi, dword [0x51809c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x40240000
mov edi, ebx
jmp 0x47f102
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x178]
push ebx
push ecx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47e69c
dec ebx
cmp ebx, dword [esp + 0x34]
jle 0x47e75b
dec ebx
jns 0x47e6c0
mov eax, dword [0x51807c]
test eax, eax
je 0x47e6b8
add ebx, dword [0x5180ac]
test ebx, ebx
jl 0x47e75b
mov esi, dword [ebp + 8]
lea edx, [esp + 0x160]
push ebx
push edx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xf0], eax
push eax
lea eax, [esp + 0x2fc]
push eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
call fcn.0047dd70
fst qword [esp + 0xd0]
fcomp qword [0x4f1f98]
fnstsw ax
test ah, 1
jne 0x47e69c
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push ecx
lea eax, [esp + 0x35c]
push edx
push eax
lea ecx, [esp + 0xe4]
call fcn.0047f7b0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47e763
dec ebx
mov edx, dword [esp + 0x34]
xor eax, eax
cmp ebx, edx
setg al
test eax, eax
mov dword [esp + 0x88], eax
je 0x47e851
dec ebx
jns 0x47e78f
mov eax, dword [0x51807c]
test eax, eax
je 0x47e78f
add ebx, dword [0x5180ac]
xor eax, eax
test ebx, ebx
setge al
test eax, eax
mov dword [esp + 0x88], eax
je 0x47e851
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x188]
push ebx
push ecx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov ecx, dword [esp + 0xf0]
lea edx, [esp + 0x2c8]
push eax
push edx
mov dword [esp + 0x108], eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
mov eax, dword [0x4f1f9c]
lea edi, [esp + 0x1a8]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4f1f98]
push eax
lea edx, [esp + 0x16c]
push ecx
push edx
lea ecx, [esp + 0x1b4]
call fcn.0047f7f0
cmp dword [eax], 0
je 0x47e763
lea eax, [esp + 0x1a8]
lea ecx, [esp + 0x3b8]
push eax
push ecx
lea ecx, [esp + 0x1c8]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x134]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x134]
call fcn.0047dd70
fstp qword [esp + 0x78]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47e859
dec ebx
mov edx, dword [esp + 0x34]
xor eax, eax
cmp ebx, edx
setg al
test eax, eax
mov dword [esp + 0x8c], eax
je 0x47e944
dec ebx
jns 0x47e885
mov eax, dword [0x51807c]
test eax, eax
je 0x47e885
add ebx, dword [0x5180ac]
xor eax, eax
test ebx, ebx
setge al
test eax, eax
mov dword [esp + 0x8c], eax
je 0x47e944
mov esi, dword [ebp + 8]
lea edx, [esp + 0x174]
push ebx
push edx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov ecx, dword [esp + 0x100]
push eax
lea eax, [esp + 0x284]
push eax
call fcn.00497ee0
mov edx, dword [0x4f1f98]
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x1f0]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x4f1f9c]
lea eax, [esp + 0x170]
push ecx
push edx
push eax
lea ecx, [esp + 0x1fc]
call fcn.0047f7f0
cmp dword [eax], 0
je 0x47e859
lea ecx, [esp + 0x1f0]
lea edx, [esp + 0x388]
push ecx
push edx
lea ecx, [esp + 0x1b0]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x190]
call fcn.0047dd70
fstp qword [esp + 0xa0]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47e954
mov eax, dword [esp + 0x10]
lea ebx, [eax + 1]
jmp 0x47e958
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
mov eax, dword [0x5180ac]
cmp ebx, ecx
jge 0x47ea5b
inc ebx
cmp ebx, eax
jle 0x47e982
mov ecx, dword [0x51807c]
test ecx, ecx
je 0x47e97a
sub ebx, eax
cmp ebx, eax
jg 0x47ea5b
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x17c]
push ebx
push ecx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x328]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x104], eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xd8]
call fcn.0047dd70
fst qword [esp + 0xb8]
fcomp qword [0x4f1f98]
fnstsw ax
test ah, 1
jne 0x47e958
mov edx, dword [esp + 0xbc]
mov eax, dword [esp + 0xb8]
push edx
lea ecx, [esp + 0x3ec]
push eax
push ecx
lea ecx, [esp + 0xe4]
call fcn.0047f7b0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x1d8]
lea edx, [esp + 0x1c0]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x298]
push edx
push eax
lea ecx, [esp + 0x1e0]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x220]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x220]
call fcn.0047dd70
fstp qword [esp + 0x18]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47ea63
inc ebx
mov esi, dword [esp + 0x24]
mov ecx, dword [0x5180ac]
xor eax, eax
cmp ebx, esi
setl al
test eax, eax
mov dword [esp + 0x84], eax
je 0x47ebc6
inc ebx
cmp ebx, ecx
jle 0x47ea93
mov eax, dword [0x51807c]
test eax, eax
je 0x47ea93
sub ebx, ecx
xor eax, eax
cmp ebx, ecx
setle al
test eax, eax
mov dword [esp + 0x84], eax
je 0x47ebc6
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x184]
push ebx
push ecx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov edx, dword [esp + 0xfc]
lea ecx, [esp + 0x2b0]
push edx
push ecx
mov ecx, eax
mov dword [esp + 0x58], eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xe0]
fld qword [esp + 0xe8]
fld qword [esp + 0xd8]
fmul qword [esp + 0xd8]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fst qword [esp + 0x98]
fstp st(2)
fstp st(0)
fcomp qword [0x4f1f98]
fnstsw ax
test ah, 1
jne 0x47ea63
mov edx, dword [esp + 0x9c]
mov eax, dword [esp + 0x98]
push edx
lea ecx, [esp + 0x2e4]
push eax
push ecx
lea ecx, [esp + 0xe4]
call fcn.0047f7b0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x208]
lea edx, [esp + 0x1d8]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x310]
push edx
push eax
lea ecx, [esp + 0x210]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x104]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x114]
fld qword [esp + 0x10c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld qword [esp + 0x104]
fmul qword [esp + 0x104]
faddp st(1)
fsqrt
fstp qword [esp + 0x68]
fstp st(0)
fstp st(0)
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47ebd2
inc ebx
jmp 0x47ebd2
fstp st(0)
mov esi, dword [esp + 0x24]
mov eax, dword [0x5180ac]
xor ecx, ecx
cmp ebx, esi
setl cl
test ecx, ecx
mov dword [esp + 0x98], ecx
je 0x47ed4a
inc ebx
cmp ebx, eax
jle 0x47ec02
mov ecx, dword [0x51807c]
test ecx, ecx
je 0x47ec02
sub ebx, eax
xor ecx, ecx
cmp ebx, eax
setle cl
test ecx, ecx
mov dword [esp + 0x98], ecx
je 0x47ed4a
mov esi, dword [ebp + 8]
lea ecx, [esp + 0x18c]
push ebx
push ecx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov edx, dword [esp + 0x50]
lea ecx, [esp + 0x340]
push edx
push ecx
mov ecx, eax
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0xd8]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0xe0]
fld qword [esp + 0xe8]
fld qword [esp + 0xd8]
fmul qword [esp + 0xd8]
fld st(1)
fmul st(2)
faddp st(1)
fld st(2)
fmul st(3)
faddp st(1)
fsqrt
fstp st(2)
fstp st(0)
fcom qword [0x4f1f98]
fnstsw ax
test ah, 1
jne 0x47ebd0
fld qword [esp + 0xe8]
fdiv st(1)
sub esp, 8
lea ecx, [esp + 0x378]
sub esp, 8
sub esp, 8
fstp qword [esp + 0x10]
fld qword [esp + 0xf8]
fdiv st(1)
fstp qword [esp + 8]
fld qword [esp + 0xf0]
fdiv st(1)
fstp qword [esp]
fstp st(0)
call fcn.0044bf10
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x250]
lea edx, [esp + 0x208]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x3a0]
push edx
push eax
lea ecx, [esp + 0x258]
call fcn.00497ee0
mov ecx, 6
mov esi, eax
lea edi, [esp + 0x11c]
rep movsd dword es:[edi], dword [esi]
fld qword [esp + 0x124]
fld qword [esp + 0x12c]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld qword [esp + 0x11c]
fmul qword [esp + 0x11c]
mov ecx, dword [esp + 0x98]
faddp st(1)
fsqrt
fstp qword [esp + 0xc0]
fstp st(0)
fstp st(0)
mov esi, dword [esp + 0x88]
mov edx, dword [0x518078]
test esi, esi
mov eax, edx
mov dword [esp + 0x28], edx
je 0x47ef38
mov esi, dword [esp + 0x84]
test esi, esi
je 0x47ef38
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47edf4
fld qword [esp + 0xa0]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 0x41
jne 0x47eda1
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
jmp 0x47eda9
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
fld qword [esp + 0x40]
fcomp qword [0x4e7f18]
fnstsw ax
test ah, 0x41
je 0x47edd2
mov dword [esp + 0x40], 0x47ae147b
mov dword [esp + 0x44], 0x3f847ae1
fld qword [esp + 0xa0]
fcomp qword [esp + 0x78]
fnstsw ax
test ah, 0x41
je 0x47ee27
mov eax, dword [esp + 0xa0]
mov esi, dword [esp + 0xa4]
jmp 0x47ee2f
fld qword [esp + 0x78]
fcomp qword [0x4e7f18]
fnstsw ax
test ah, 0x41
jne 0x47ee17
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
jmp 0x47ee27
mov dword [esp + 0x40], 0x47ae147b
mov dword [esp + 0x44], 0x3f847ae1
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
test ecx, ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], esi
je 0x47eeb6
fld qword [esp + 0xc0]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x47ee63
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
jmp 0x47ee6b
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
fld qword [esp + 0x48]
fcomp qword [0x4e7f18]
fnstsw ax
test ah, 0x41
je 0x47ee94
mov dword [esp + 0x48], 0x47ae147b
mov dword [esp + 0x4c], 0x3f847ae1
fld qword [esp + 0xc0]
fcomp qword [esp + 0x68]
fnstsw ax
test ah, 0x41
je 0x47eee9
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0xc4]
jmp 0x47eef1
fld qword [esp + 0x68]
fcomp qword [0x4e7f18]
fnstsw ax
test ah, 0x41
jne 0x47eed9
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
jmp 0x47eee9
mov dword [esp + 0x48], 0x47ae147b
mov dword [esp + 0x4c], 0x3f847ae1
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x6c]
fld qword [esp + 0x40]
fcomp qword [esp + 0x48]
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], ecx
fnstsw ax
test ah, 0x41
jne 0x47ef14
fld qword [esp + 0x40]
jmp 0x47ef18
fld qword [esp + 0x48]
fmul qword [ebp + 0x14]
fcomp qword [esp + 0x18]
fnstsw ax
test ah, 0x41
je 0x47ef2d
mov eax, 1
jmp 0x47ef2f
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
test eax, eax
jne 0x47ef4d
fld qword [esp + 0x18]
fcomp qword [0x4f1fb0]
fnstsw ax
test ah, 0x41
jne 0x47ef6c
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47ef65
fld qword [esp + 0x18]
fcomp qword [0x4f1fa8]
fnstsw ax
test ah, 0x41
jne 0x47ef6c
mov eax, 1
jmp 0x47ef6e
xor eax, eax
xor ecx, ecx
test eax, eax
mov eax, dword [ebp + 0x10]
setne cl
test eax, eax
mov esi, ecx
jne 0x47efec
fld qword [esp + 0xd0]
fcomp qword [esp + 0xb8]
fnstsw ax
test ah, 1
je 0x47ef9c
fld qword [esp + 0xd0]
jmp 0x47efa3
fld qword [esp + 0xb8]
fmul qword [esp + 0x18]
fcomp qword [0x518070]
fnstsw ax
test ah, 0x41
jne 0x47efbb
mov eax, 1
jmp 0x47efbd
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x47f08d
test esi, esi
jne 0x47f09d
test eax, eax
jne 0x47f09d
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov esi, ecx
mov edi, dword [esp + 0x10]
test esi, esi
je 0x47f1c9
mov eax, dword [esp + 0x54]
lea ebx, [edi - 1]
cmp ebx, eax
jne 0x47f055
mov esi, dword [ebp + 8]
lea edx, [esp + 0x158]
push ebx
push edx
mov ecx, esi
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov ecx, dword [0x4f1f9c]
mov edx, dword [0x4f1f98]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov dword [esp + 0xf8], eax
push eax
lea eax, [esp + 0x18c]
push eax
call fcn.0047dd00
mov eax, dword [eax]
mov edx, dword [0x518078]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test esi, esi
je 0x47f1c9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x47f0ab
cmp ebx, dword [esp + 0x54]
jne 0x47f0ab
fld qword [esp + 0x18]
fcomp qword [esp + 0xb0]
fnstsw ax
test ah, 0x41
jne 0x47f0a7
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x14]
mov dword [edx], edi
mov dword [eax], edi
jmp 0x47f102
test esi, esi
je 0x47efe1
test eax, eax
je 0x47efe1
mov eax, 1
jmp 0x47efe3
mov esi, edx
jmp 0x47f102
mov ecx, dword [0x5180ac]
mov eax, dword [esp + 0x24]
mov ebx, dword [ebp + 0x1c]
cmp eax, ecx
jg 0x47f0c3
mov ecx, ebx
call fcn.004861c0
push 4
call fcn.004bb163
add esp, 4
test eax, eax
je 0x47f0d5
mov dword [eax], edi
jmp 0x47f0d7
xor eax, eax
lea edx, [esp + 0x14c]
push eax
push edx
mov ecx, ebx
mov dword [esp + 0x98], eax
call fcn.00486410
mov eax, dword [0x5180ac]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jg 0x47f102
mov ecx, ebx
call fcn.004861a0
test esi, esi
je 0x47f1c9
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0x2c]
mov ecx, edi
sub ecx, esi
cmp ecx, eax
jg 0x47f13b
test eax, eax
je 0x47f13b
cmp eax, dword [esp + 0x54]
je 0x47f13b
cmp eax, dword [esp + 0x30]
je 0x47f13b
cmp edi, dword [esp + 0x34]
je 0x47f13b
mov edx, dword [esp + 0x14]
mov dword [edx], edi
jmp 0x47f186
cmp edi, dword [esp + 0x30]
je 0x47f186
mov eax, dword [esp + 0x14]
test eax, eax
je 0x47f14d
cmp edi, dword [eax]
je 0x47f186
mov esi, dword [ebp + 0x20]
mov ecx, esi
call fcn.004861c0
push 4
call fcn.004bb163
add esp, 4
test eax, eax
je 0x47f169
mov dword [eax], edi
jmp 0x47f16b
xor eax, eax
mov dword [esp + 0x14], eax
push eax
lea eax, [esp + 0x154]
mov ecx, esi
push eax
call fcn.00486410
mov ecx, esi
call fcn.004861a0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x60], ecx
mov eax, ecx
mov dword [esp + 0x64], edx
mov ecx, edx
mov dword [esp + 0xb0], eax
mov edx, eax
mov dword [esp + 0xb4], ecx
mov eax, ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], ecx
jmp 0x47f687
cmp edi, dword [esp + 0x30]
je 0x47f687
mov eax, dword [esp + 0x10]
cmp eax, 1
jle 0x47f687
mov edx, dword [0x5180ac]
dec edx
cmp eax, edx
je 0x47f687
mov eax, dword [esp + 0x88]
test eax, eax
je 0x47f687
mov eax, dword [esp + 0x84]
test eax, eax
je 0x47f687
mov ecx, dword [esp + 0x94]
mov eax, dword [esp + 0x30]
lea edx, [ecx + eax]
mov eax, dword [esp + 0x10]
cmp eax, edx
jle 0x47f37c
mov edx, dword [esp + 0x38]
sub edx, ecx
cmp eax, edx
jge 0x47f37c
fld qword [esp + 0x48]
fmul qword [ebp + 0x14]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x41
je 0x47f262
fld qword [esp + 0x48]
fmul qword [esp + 0xb8]
fcomp qword [0x5180c0]
fnstsw ax
test ah, 0x41
je 0x47f28f
fld qword [esp + 0x40]
fmul qword [ebp + 0x14]
fcomp qword [esp + 0xc8]
fnstsw ax
test ah, 0x41
je 0x47f29d
fld qword [esp + 0x40]
fmul qword [esp + 0xd0]
fcomp qword [0x5180c0]
fnstsw ax
test ah, 0x41
jne 0x47f29d
mov eax, dword [0x51809c]
mov dword [esp + 0x28], eax
jmp 0x47f37c
fld qword [esp + 0x144]
fmul qword [esp + 0x114]
fld qword [esp + 0x13c]
fmul qword [esp + 0x10c]
faddp st(1)
fld qword [esp + 0x134]
fmul qword [esp + 0x104]
faddp st(1)
fcomp qword [0x4e7b30]
fnstsw ax
test ah, 1
je 0x47f36f
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x47f322
fld qword [esp + 0x1a0]
fmul qword [esp + 0x144]
fld qword [esp + 0x198]
fmul qword [esp + 0x13c]
faddp st(1)
fld qword [esp + 0x190]
fmul qword [esp + 0x134]
faddp st(1)
fcomp qword [0x4e7b30]
fnstsw ax
test ah, 0x41
jne 0x47f36f
mov eax, dword [esp + 0x98]
test eax, eax
je 0x47f368
fld qword [esp + 0x12c]
fmul qword [esp + 0x114]
fld qword [esp + 0x124]
fmul qword [esp + 0x10c]
faddp st(1)
fld qword [esp + 0x104]
fmul qword [esp + 0x11c]
faddp st(1)
fcomp qword [0x4e7b30]
fnstsw ax
test ah, 0x41
jne 0x47f36f
mov eax, 1
jmp 0x47f371
xor eax, eax
xor ecx, ecx
test eax, eax
setne cl
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f668
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
je 0x47f404
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x94]
sub edx, esi
cmp edx, eax
jle 0x47f3b6
fld qword [esp + 0x58]
fcomp qword [0x4e7f18]
fnstsw ax
test ah, 1
je 0x47f404
fld qword [esp + 0x18]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x47f668
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], 0
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x74], edx
jmp 0x47f668
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x47f416
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x47f596
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0xf4]
sub esp, 8
lea ecx, [esp + 0x3d8]
fld qword [ebx + 0x10]
fsub qword [eax + 0x10]
sub esp, 8
sub esp, 8
fstp qword [esp + 0x10]
fld qword [ebx + 8]
fsub qword [eax + 8]
fstp qword [esp + 8]
fld qword [ebx]
fsub qword [eax]
fstp qword [esp]
call fcn.0044bf10
mov ecx, 6
mov esi, eax
mov eax, dword [0x518078]
lea edi, [esp + 0x238]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x38]
lea esi, [ecx + 1]
cmp esi, eax
jge 0x47f4d2
mov edi, dword [ebp + 8]
lea edx, [esp + 0x154]
push esi
push edx
mov ecx, edi
call fcn.004861e0
mov ecx, edi
call fcn.00486300
lea ecx, [esp + 0x238]
push ecx
push eax
push ebx
call fcn.00497cd0
fcomp qword [0x5180c0]
add esp, 0xc
fnstsw ax
test ah, 0x41
je 0x47f4c9
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x38]
xor edx, edx
test ecx, ecx
setne dl
inc edx
add esi, edx
cmp esi, eax
jl 0x47f47c
jmp 0x47f4d2
mov eax, dword [0x51809c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f60d
mov eax, dword [esp + 0x74]
sub esp, 8
fld qword [ebx + 0x10]
fsub qword [eax + 0x10]
sub esp, 8
lea ecx, [esp + 0x410]
sub esp, 8
fstp qword [esp + 0x10]
fld qword [ebx + 8]
fsub qword [eax + 8]
fstp qword [esp + 8]
fld qword [ebx]
fsub qword [eax]
fstp qword [esp]
call fcn.0044bf10
mov edx, dword [esp + 0x2c]
mov ecx, 6
mov esi, eax
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x268]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x518078]
lea esi, [edx + 1]
cmp esi, eax
mov dword [esp + 0x28], ecx
jge 0x47f59a
mov edi, dword [ebp + 8]
lea eax, [esp + 0x15c]
push esi
push eax
mov ecx, edi
call fcn.004861e0
mov ecx, edi
call fcn.00486300
lea ecx, [esp + 0x268]
push ecx
push eax
push ebx
call fcn.00497cd0
fcomp qword [0x5180c0]
add esp, 0xc
fnstsw ax
test ah, 0x41
je 0x47f58b
mov ecx, dword [ebp + 0x10]
mov eax, dword [esp + 0x10]
xor edx, edx
test ecx, ecx
setne dl
inc edx
add esi, edx
cmp esi, eax
jl 0x47f53e
jmp 0x47f59a
mov eax, dword [0x51809c]
mov dword [esp + 0x28], eax
jmp 0x47f59a
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x47f60d
mov esi, dword [ebp + 0x20]
mov ecx, esi
call fcn.004861c0
push 4
call fcn.004bb163
add esp, 4
test eax, eax
je 0x47f5c2
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x47f5c4
xor eax, eax
lea edx, [esp + 0x164]
push eax
push edx
mov ecx, esi
mov dword [esp + 0x1c], eax
call fcn.00486410
mov ecx, esi
mov dword [esp + 0x74], ebx
call fcn.004861a0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], edx
jmp 0x47f668
fld qword [esp + 0x18]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 1
je 0x47f668
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x54]
cmp eax, ecx
je 0x47f668
test eax, eax
je 0x47f668
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x47f668
mov eax, dword [esp + 0x30]
mov edx, dword [ecx]
cmp edx, eax
jle 0x47f668
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x2c], eax
fld qword [esp + 0x18]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 0x41
jne 0x47f687
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x5180ac]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x47f752
mov edi, eax
mov eax, dword [esp + 0x24]
cmp edi, eax
jne 0x47f6e4
mov esi, dword [ebp + 0x1c]
mov edx, ecx
inc edx
mov ecx, esi
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0x40240000
mov dword [esp + 0x34], eax
mov dword [esp + 0x24], edx
call fcn.004861a0
test eax, eax
je 0x47f6e4
mov ecx, esi
call fcn.00486300
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
cmp edi, eax
jne 0x47e64d
mov esi, dword [ebp + 8]
mov ebx, eax
lea ecx, [esp + 0x16c]
push ebx
push ecx
mov ecx, esi
mov dword [esp + 0x38], ebx
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x74], eax
mov ecx, edi
call fcn.004861a0
mov ecx, edi
call fcn.00486300
mov eax, dword [eax]
lea edx, [esp + 0xf8]
push eax
push edx
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004861e0
mov ecx, esi
call fcn.00486300
mov dword [esp + 0xf4], eax
mov dword [esp + 0x2c], ebx
jmp 0x47e63d
mov eax, dword [0x51807c]
test eax, eax
je 0x47f7a1
mov esi, dword [ebp + 0x20]
cmp dword [esi + 4], 2
jne 0x47f7a1
mov eax, dword [esi + 8]
push 4
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
call fcn.004bb163
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x47f78f
mov eax, dword [0x5180ac]
cdq
sub eax, edx
sar eax, 1
mov dword [ecx], eax
jmp 0x47f791
xor ecx, ecx
push ecx
lea ecx, [esp + 0xfc]
push ecx
mov ecx, esi
call fcn.00486410
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret