Function at 0x4324b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x64
mov eax, dword [0x577024]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
push ebx
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x60]
push ebp
push edi
mov edi, dword [esi + 0x5c]
xor ebx, ebx
cmp dword [esi + 0x50], ebx
mov dword [esp + 0x40], eax
mov eax, dword [esi + 0x64]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edi
jne 0x43284b
cmp eax, ebx
je 0x432bd7
cmp dword [eax + 0x30], ebx
je 0x432bd7
mov ecx, dword [eax + 0x30]
mov ebp, edi
sub ebp, edx
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], ebp
call eax
cmp ebp, eax
jge 0x4325d8
mov ecx, dword [esi + 0x64]
fild dword [esp + 0xc]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
fstp qword [esp + 0x20]
call eax
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fdivr qword [esp + 0x20]
fmul qword [0x553f58]
call fcn.005225b0
mov edx, dword [esi + 0x68]
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], ebx
push ecx
lea ebx, [esi + 0x68]
push 2
push edx
mov dword [esp + 0x64], 0x1c
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], 0x64
mov dword [esp + 0x68], 2
call dword [0x531454]
mov eax, dword [ebx]
push 2
push eax
call dword [0x531460]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov ebp, eax
mov eax, dword [edx + 4]
call eax
mov ecx, eax
imul ecx, ebp
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebx]
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push ecx
mov dword [esp + 0x20], eax
call dword [0x53143c]
mov eax, dword [ebx]
lea edx, [esp + 0x44]
push edx
push eax
call dword [0x53141c]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x50]
add dword [esp + 0x40], ecx
jmp 0x4325e7
mov edx, dword [esi + 0x68]
lea ebx, [esi + 0x68]
push 0
push edx
call dword [0x53143c]
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x30]
mov ebp, dword [esp + 0x40]
mov edx, dword [ecx]
sub ebp, dword [esp + 0x38]
mov eax, dword [edx + 8]
mov dword [esp + 0xc], ebp
call eax
cmp ebp, eax
jge 0x4326d3
mov ecx, dword [esi + 0x64]
fild dword [esp + 0xc]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
fstp qword [esp + 0x20]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fdivr qword [esp + 0x20]
fmul qword [0x553f58]
call fcn.005225b0
mov edx, dword [esi + 0x6c]
push 2
lea ecx, [esp + 0x58]
push ecx
lea ebp, [esi + 0x6c]
push 2
push edx
mov dword [esp + 0x64], 0x1c
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0x64
mov dword [esp + 0x68], 2
call dword [0x531454]
mov eax, dword [ebp]
push 2
push eax
call dword [0x531460]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
call eax
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fild dword [esp + 0x20]
fdiv qword [0x553f58]
fmulp st(1)
call fcn.005225b0
mov ecx, dword [ebp]
push 1
push ecx
mov dword [esp + 0x18], eax
call dword [0x53143c]
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [0x53141c]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x4c]
add edi, ecx
mov dword [esp + 0x3c], edi
jmp 0x4326e2
mov edx, dword [esi + 0x6c]
lea ebp, [esi + 0x6c]
push 0
push edx
call dword [0x53143c]
mov eax, dword [ebx]
push eax
call dword [0x5314a8]
test eax, eax
je 0x43276c
mov ecx, dword [ebp]
push ecx
call dword [0x5314a8]
test eax, eax
je 0x43276c
mov eax, dword [ebx]
mov edi, dword [0x53141c]
lea edx, [esp + 0x20]
push edx
push eax
call edi
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
push edx
call edi
lea edi, [esi + 8]
lea eax, [esp + 0x20]
call fcn.00405180
lea eax, [esp + 0x44]
call fcn.00405180
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x44]
sub edx, dword [esp + 0x4c]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x5c]
add edx, eax
mov eax, dword [esp + 0x24]
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x60]
add eax, ecx
mov dword [esp + 0x50], eax
push ebx
lea eax, [esp + 0x24]
mov dword [esp + 0x2c], edx
call fcn.0042de60
jmp 0x432824
mov ecx, dword [ebx]
push ecx
call dword [0x5314a8]
test eax, eax
je 0x4327d4
mov edx, dword [ebp]
push edx
call dword [0x5314a8]
test eax, eax
jne 0x4327d4
mov ecx, dword [ebx]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x53141c]
lea edi, [esi + 8]
lea eax, [esp + 0x20]
call fcn.00405180
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], ecx
push ebx
lea eax, [esp + 0x24]
jmp 0x432829
mov edx, dword [ebx]
mov ebx, dword [0x5314a8]
push edx
call ebx
test eax, eax
jne 0x432832
mov eax, dword [ebp]
push eax
call ebx
test eax, eax
je 0x432832
mov edx, dword [ebp]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [0x53141c]
lea edi, [esi + 8]
lea eax, [esp + 0x44]
call fcn.00405180
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x50], eax
push ebp
lea eax, [esp + 0x48]
call fcn.0042de60
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov edx, dword [esi + 0x64]
mov ecx, dword [esp + 0x18]
push 0xcc0020
push eax
mov eax, dword [edx + 0x30]
jmp 0x432bb2
cmp eax, ebx
je 0x432bd7
cmp dword [eax + 0x34], ebx
je 0x432bd7
mov ecx, dword [eax + 0x34]
mov eax, dword [ecx]
mov ebp, edi
sub ebp, edx
mov edx, dword [eax + 4]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0xc], ebp
call edx
cmp ebp, eax
jge 0x432943
mov eax, dword [esi + 0x64]
fild dword [esp + 0xc]
mov ecx, dword [eax + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
fstp qword [esp + 0x10]
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdivr qword [esp + 0x10]
fmul qword [0x553f58]
call fcn.005225b0
mov edx, dword [esi + 0x68]
push 2
lea ecx, [esp + 0x58]
push ecx
lea ebp, [esi + 0x68]
push 2
push edx
mov dword [esp + 0x64], 0x1c
mov dword [esp + 0x74], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], 0x64
mov dword [esp + 0x68], 2
call dword [0x531454]
mov eax, dword [ebp]
push 2
push eax
call dword [0x531460]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov dword [esp + 0x10], eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fild dword [esp + 0x10]
fdiv qword [0x553f58]
fmulp st(1)
call fcn.005225b0
mov ecx, dword [ebp]
push 1
push ecx
mov dword [esp + 0x18], eax
call dword [0x53143c]
mov eax, dword [ebp]
lea edx, [esp + 0x44]
push edx
push eax
call dword [0x53141c]
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x50]
add dword [esp + 0x40], ecx
jmp 0x432951
mov edx, dword [esi + 0x68]
lea ebp, [esi + 0x68]
push ebx
push edx
call dword [0x53143c]
mov eax, dword [esi + 0x64]
mov ecx, dword [eax + 0x34]
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
mov edx, dword [ecx]
mov dword [esp + 0xc], eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0xc], eax
jge 0x432a37
mov ecx, dword [esi + 0x64]
fild dword [esp + 0xc]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
fstp qword [esp + 0x18]
call eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fdivr qword [esp + 0x18]
fmul qword [0x553f58]
call fcn.005225b0
mov edx, dword [esi + 0x6c]
push 2
lea ecx, [esp + 0x58]
mov dword [esp + 0x60], ebx
push ecx
lea ebx, [esi + 0x6c]
push 2
push edx
mov dword [esp + 0x64], 0x1c
mov dword [esp + 0x74], eax
mov dword [esp + 0x70], 0x64
mov dword [esp + 0x68], 2
call dword [0x531454]
mov eax, dword [ebx]
push 2
push eax
call dword [0x531460]
mov ecx, dword [esi + 0x64]
mov ecx, dword [ecx + 0x34]
mov edx, dword [ecx]
mov dword [esp + 0x20], eax
mov eax, dword [edx + 8]
call eax
mov ecx, eax
imul ecx, dword [esp + 0x20]
mov eax, 0x51eb851f
imul ecx
mov ecx, dword [ebx]
sar edx, 5
mov eax, edx
shr eax, 0x1f
push 1
add eax, edx
push ecx
mov dword [esp + 0x20], eax
call dword [0x53143c]
mov eax, dword [ebx]
lea edx, [esp + 0x44]
push edx
push eax
call dword [0x53141c]
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x4c]
add edi, ecx
mov dword [esp + 0x3c], edi
jmp 0x432a46
mov edx, dword [esi + 0x6c]
lea ebx, [esi + 0x6c]
push 0
push edx
call dword [0x53143c]
mov eax, dword [ebp]
push eax
call dword [0x5314a8]
test eax, eax
je 0x432ad8
mov ecx, dword [ebx]
push ecx
call dword [0x5314a8]
test eax, eax
je 0x432ad8
mov eax, dword [ebp]
mov edi, dword [0x53141c]
lea edx, [esp + 0x44]
push edx
push eax
call edi
mov edx, dword [ebx]
lea ecx, [esp + 0x20]
push ecx
push edx
call edi
lea edi, [esi + 8]
lea eax, [esp + 0x44]
call fcn.00405180
lea eax, [esp + 0x20]
call fcn.00405180
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x20]
sub edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0x5c]
add edx, eax
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x50]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi + 0x60]
add eax, ecx
mov dword [esp + 0x2c], eax
push ebp
lea eax, [esp + 0x48]
mov dword [esp + 0x50], edx
call fcn.0042de60
lea eax, [esp + 0x20]
jmp 0x432b94
mov ecx, dword [ebp]
push ecx
call dword [0x5314a8]
test eax, eax
je 0x432b41
mov edx, dword [ebx]
push edx
call dword [0x5314a8]
test eax, eax
jne 0x432b41
mov ecx, dword [ebp]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x20]
push eax
push ecx
call dword [0x53141c]
lea edi, [esi + 8]
lea eax, [esp + 0x20]
call fcn.00405180
mov eax, dword [esi + 0x58]
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0x5c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], edx
mov dword [esp + 0x50], ecx
push ebp
lea eax, [esp + 0x24]
jmp 0x432b95
mov edx, dword [ebp]
mov ebp, dword [0x5314a8]
push edx
call ebp
test eax, eax
jne 0x432b9e
mov eax, dword [ebx]
push eax
call ebp
test eax, eax
je 0x432b9e
mov edx, dword [ebx]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [0x53141c]
lea edi, [esi + 8]
lea eax, [esp + 0x44]
call fcn.00405180
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
mov edx, dword [esi + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x60]
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
lea eax, [esp + 0x44]
push ebx
call fcn.0042de60
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x64]
mov ecx, dword [esp + 0x10]
push 0xcc0020
push eax
mov eax, dword [edx + 0x34]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x88]
sub edi, eax
push edi
push ecx
push eax
push edx
call dword [0x531094]
pop edi
pop ebp
pop ebx
add esp, 0x64
ret 4