Function at 0x4c6197
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x4044c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x2d0
call fcn.004044c0
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402ea0
and word [0x521222], 0
and word [0x521224], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push 4
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040487a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404880
mov dword [ebp - 0xf4], 0x40b9b8
mov dword [ebp - 0xfc], 0x8008
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040480e
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
movsx eax, word [ebp - 0x144]
test eax, eax
je 0x4c636e
or word [0x52121e], 0xffff
push dword [ebp + 0xc]
lea eax, [ebp - 0x7c]
push eax
call fcn.004c9d1a
lea eax, [ebp - 0x7c]
push eax
call fcn.00404628
mov word [ebp - 0x44], ax
lea ecx, [ebp - 0x7c]
call fcn.00404844
movsx eax, word [ebp - 0x44]
test eax, eax
jne 0x4c6369
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
mov dword [ebp - 0xf4], 0x410b7c
mov dword [ebp - 0xfc], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x8c]
call fcn.0040478a
mov dword [ebp - 0xe4], 0x410b50
mov dword [ebp - 0xec], 8
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x7c]
call fcn.0040478a
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
call fcn.00404790
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 4
call fcn.00404898
add esp, 0x14
and dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x54]
call fcn.004048d4
jmp 0x4c9c56
jmp 0x4c645e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push 4
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040487a
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404880
mov dword [ebp - 0xf4], 0x40b9a8
mov dword [ebp - 0xfc], 0x8008
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040480e
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
movsx eax, word [ebp - 0x144]
test eax, eax
je 0x4c644f
mov eax, dword [ebp + 0xc]
push dword [eax]
push 2
push 0xffffffffffffffff
push 0x20
call fcn.00404874
push 0
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0040485c
sub eax, 1
jo 0x4c9d15
push eax
push 1
push 0x11
push 0x52126c
push 1
push 0x80
call fcn.00404862
add esp, 0x1c
push 2
push 0x52126c
push 0x40b9d8
call fcn.00404856
push 2
call fcn.00404850
or word [0x52121e], 0xffff
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
mov ecx, 0x5211b4
call fcn.004048b0
or word [0x5212b4], 0xffff
or word [0x52121e], 0xffff
and word [0x521220], 0
lea eax, [ebp - 0x7c]
push eax
call fcn.004d40f4
lea eax, [ebp - 0x7c]
push eax
call fcn.0040484a
mov word [0x521220], ax
lea ecx, [ebp - 0x7c]
call fcn.00404844
movsx eax, word [0x521220]
test eax, eax
jne 0x4c64c5
and dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x54]
call fcn.004048d4
jmp 0x4c9c56
fld dword [0x402e98]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c64ff
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x1e4], 0x52139c
jmp 0x4c6509
mov dword [ebp - 0x1e4], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x1e4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1e4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c6574
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x1e8], 0x52139c
jmp 0x4c657e
mov dword [ebp - 0x1e8], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x1e8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1e8]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c662e
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x1ec], eax
jmp 0x4c6635
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410b90
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c668b
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x1f0], eax
jmp 0x4c6692
and dword [ebp - 0x1f0], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x5212c0]
push 0x410bac
call fcn.004048ce
test eax, eax
jne 0x4c698e
or word [0x52121e], 0xffff
fld dword [0x402e94]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c6717
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x1f4], 0x52139c
jmp 0x4c6721
mov dword [ebp - 0x1f4], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x1f4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1f4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c678c
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x1f8], 0x52139c
jmp 0x4c6796
mov dword [ebp - 0x1f8], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x1f8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1f8]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c6846
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x1fc], eax
jmp 0x4c684d
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410bb8
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c68a3
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x200], eax
jmp 0x4c68aa
and dword [ebp - 0x200], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
cmp dword [0x52139c], 0
jne 0x4c68f9
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x204], 0x52139c
jmp 0x4c6903
mov dword [ebp - 0x204], 0x52139c
mov eax, dword [ebp - 0x204]
mov eax, dword [eax]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x2a0]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c6959
push 0x2a0
push 0x40aeb8
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x208], eax
jmp 0x4c6960
and dword [ebp - 0x208], 0
cmp dword [0x521018], 0xffffffff
je 0x4c6975
push 0x52126c
call fcn.004cef66
jmp 0x4c697f
push 0x52126c
call fcn.004fcf3f
mov edx, 0x410bcc
mov ecx, 0x5212c0
call fcn.004048b0
fld dword [0x402e90]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c69c8
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x20c], 0x52139c
jmp 0x4c69d2
mov dword [ebp - 0x20c], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x20c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x20c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c6a3d
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x210], 0x52139c
jmp 0x4c6a47
mov dword [ebp - 0x210], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x210]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x210]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c6af7
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x214], eax
jmp 0x4c6afe
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410bd8
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c6b54
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x218], eax
jmp 0x4c6b5b
and dword [ebp - 0x218], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x52126c]
push 1
call fcn.00404838
mov dword [ebp - 0x28], eax
push 0x2a
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
xor ebx, ebx
cmp ax, 0x52
setne bl
push 0x2b
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
xor ecx, ecx
cmp ax, 0x65
setne cl
or ebx, ecx
neg ebx
sbb ebx, ebx
neg ebx
push 0x2c
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
xor ecx, ecx
cmp ax, 0x46
setne cl
or ebx, ecx
neg ebx
sbb ebx, ebx
neg ebx
push 0x2d
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
xor ecx, ecx
cmp ax, 0x6f
setne cl
or ebx, ecx
neg ebx
sbb ebx, ebx
neg ebx
push 0x2e
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
xor ecx, ecx
cmp ax, 0x78
setne cl
or ebx, ecx
test ebx, ebx
jne 0x4c6c41
mov word [0x521242], 0x17
jmp 0x4c6c49
and word [0x521242], 0
push dword [0x52126c]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
mov ax, word [0x521222]
add ax, 0x28
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4011
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004046b2
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
mov ax, word [0x521222]
add ax, 0x27
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [ebp - 0x5c]
call fcn.00404832
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xfc], 0x4011
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004046b2
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004048a4
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004048b6
mov edx, eax
mov ecx, 0x5212dc
call fcn.004048b0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 3
call fcn.00404898
add esp, 0x10
mov ax, word [0x521222]
add ax, 5
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [0x52126c]
call fcn.00404832
movzx si, byte [eax]
mov ax, word [0x521222]
add ax, 6
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
imul ax, ax, 0x100
jo 0x4c9d15
add si, ax
jo 0x4c9d15
movsx eax, si
mov dword [0x5212c4], eax
push 7
push dword [0x52126c]
call fcn.00404832
movzx si, byte [eax]
push 8
push dword [0x52126c]
call fcn.00404832
movzx ax, byte [eax]
imul ax, ax, 0x100
jo 0x4c9d15
add si, ax
jo 0x4c9d15
movsx eax, si
mov dword [0x5212d4], eax
push dword [0x52126c]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov ax, word [0x521222]
add ax, 9
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [ebp - 0x58]
call fcn.00404832
push eax
push 0x5212cc
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
push dword [0x52126c]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov ax, word [0x521222]
add ax, 0xd
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [ebp - 0x58]
call fcn.00404832
push eax
push 0x5212c8
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
push dword [0x52126c]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov ax, word [0x521222]
add ax, 0x11
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [ebp - 0x58]
call fcn.00404832
push eax
push 0x5212d0
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
mov eax, dword [ebp - 0x28]
sub eax, dword [0x5212cc]
jo 0x4c9d15
sub eax, 0xe
jo 0x4c9d15
mov dword [ebp - 0x21c], eax
fild dword [ebp - 0x21c]
fstp qword [ebp - 0x224]
fld qword [ebp - 0x224]
fdiv qword [0x402e88]
fnstsw ax
test al, 0xd
jne 0x4c9d10
call fcn.0040481a
mov dword [ebp - 0x2c], eax
cmp dword [0x5212c4], 0x1000
jle 0x4c6fa0
mov ax, word [0x521222]
add ax, 5
jo 0x4c9d15
add ax, word [0x521224]
jo 0x4c9d15
movsx eax, ax
push eax
push dword [0x52126c]
call fcn.00404832
movzx eax, byte [eax]
mov dword [0x5212c4], eax
mov eax, dword [0x5212d4]
cmp eax, dword [0x5212c4]
jl 0x4c6fb4
and dword [0x5212d4], 0
push 0
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
push eax
push 1
push 8
push 0x5212e8
push 4
push 0x180
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 0x11
push 0x5212e4
push 1
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x5212e0
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x5212ec
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x5212f0
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x5212f4
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
push eax
push 1
push 8
push 0x5212f8
push 4
push 0x180
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 5
push 0x5212fc
push 8
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x521300
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 3
push 0x521304
push 4
push 0x80
call fcn.00404862
add esp, 0x1c
push 0
push dword [0x5212e8]
push 1
call fcn.00404838
push eax
push 1
push 0xb
push 0x521308
push 2
push 0x80
call fcn.00404862
add esp, 0x1c
fld dword [0x402e84]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c71a8
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x228], 0x52139c
jmp 0x4c71b2
mov dword [ebp - 0x228], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x228]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x228]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c721d
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x22c], 0x52139c
jmp 0x4c7227
mov dword [ebp - 0x22c], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x22c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x22c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c72d7
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x230], eax
jmp 0x4c72de
and dword [ebp - 0x230], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410bf8
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c7334
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x234], eax
jmp 0x4c733b
and dword [ebp - 0x234], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
mov dword [ebp - 0x158], eax
mov dword [ebp - 0x154], 1
and dword [ebp - 0x18], 0
jmp 0x4c739c
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x154]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x158]
jg 0x4c76ca
movsx eax, word [0x521222]
test eax, eax
jne 0x4c74b6
movsx eax, word [0x521224]
test eax, eax
jne 0x4c74b6
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [0x5212ec]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov eax, dword [0x5212cc]
add eax, 1
jo 0x4c9d15
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x19
jo 0x4c9d15
add eax, ecx
jo 0x4c9d15
push eax
push dword [ebp - 0x5c]
call fcn.00404832
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
push eax
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [0x5212e0]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov eax, dword [0x5212cc]
add eax, 0xd
jo 0x4c9d15
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x19
jo 0x4c9d15
add eax, ecx
jo 0x4c9d15
push eax
push dword [ebp - 0x5c]
call fcn.00404832
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
push eax
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
jmp 0x4c76c5
movsx eax, word [0x521224]
test eax, eax
je 0x4c75ad
push 0
push dword [0x5212ec]
call fcn.00404832
mov dword [eax], 0x2a
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
cmp dword [ebp - 0x18], eax
jge 0x4c7569
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [0x5212ec]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov eax, dword [0x5212cc]
add eax, 5
jo 0x4c9d15
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x1a
jo 0x4c9d15
add eax, ecx
jo 0x4c9d15
push eax
push dword [ebp - 0x5c]
call fcn.00404832
push eax
mov eax, dword [ebp - 0x18]
add eax, 1
jo 0x4c9d15
push eax
push dword [ebp - 0x58]
call fcn.00404832
push eax
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
mov esi, dword [0x5212cc]
sub esi, dword [0x5212c8]
jo 0x4c9d15
add esi, 0xd
jo 0x4c9d15
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x1a
jo 0x4c9d15
add esi, eax
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212e0]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c76c5
push 0
push dword [0x5212ec]
call fcn.00404832
mov dword [eax], 0x2a
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
cmp dword [ebp - 0x18], eax
jge 0x4c7651
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [0x5212ec]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov eax, dword [0x5212cc]
add eax, 5
jo 0x4c9d15
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x11
jo 0x4c9d15
add eax, ecx
jo 0x4c9d15
push eax
push dword [ebp - 0x5c]
call fcn.00404832
push eax
mov eax, dword [ebp - 0x18]
add eax, 1
jo 0x4c9d15
push eax
push dword [ebp - 0x58]
call fcn.00404832
push eax
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
push dword [0x52126c]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [0x5212e0]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push 4
mov eax, dword [0x5212cc]
add eax, 0xd
jo 0x4c9d15
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 0x11
jo 0x4c9d15
add eax, ecx
jo 0x4c9d15
push eax
push dword [ebp - 0x5c]
call fcn.00404832
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
push eax
call fcn.0040ad4c
call fcn.00404826
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
jmp 0x4c738a
push dword [0x5212f0]
push 1
call fcn.00404838
sub eax, 1
jo 0x4c9d15
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], 1
and dword [ebp - 0x18], 0
jmp 0x4c7708
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x15c]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x160]
jg 0x4c7748
mov eax, dword [ebp - 0x18]
add eax, 1
jo 0x4c9d15
push eax
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [eax]
sub esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c76f6
mov esi, dword [0x5212c8]
sub esi, 1
jo 0x4c9d15
push dword [0x5212f0]
push 1
call fcn.00404838
push eax
push dword [0x5212f0]
call fcn.00404832
mov dword [eax], esi
push dword [0x5212f0]
push 1
call fcn.00404838
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], 1
and dword [ebp - 0x18], 0
jmp 0x4c77a7
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x164]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x168]
jg 0x4c77f5
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [esi]
sub esi, dword [eax]
jo 0x4c9d15
add esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c7795
movsx eax, word [0x521222]
test eax, eax
jne 0x4c78ac
push dword [0x5212f0]
push 1
call fcn.00404838
sub eax, 1
jo 0x4c9d15
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], 1
and dword [ebp - 0x18], 0
jmp 0x4c7842
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x16c]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x170]
jg 0x4c7882
mov eax, dword [ebp - 0x18]
add eax, 1
jo 0x4c9d15
push eax
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [eax]
sub esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c7830
mov esi, dword [0x5212c8]
sub esi, 1
jo 0x4c9d15
push dword [0x5212f0]
push 1
call fcn.00404838
push eax
push dword [0x5212f0]
call fcn.00404832
mov dword [eax], esi
push dword [0x5212f0]
push 1
call fcn.00404838
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x174], 1
and dword [ebp - 0x18], 0
jmp 0x4c78e1
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x174]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x178]
jg 0x4c7966
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [esi]
sub esi, dword [eax]
jo 0x4c9d15
add esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov dword [eax], esi
movsx eax, word [0x521224]
test eax, eax
je 0x4c7961
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov esi, dword [eax]
add esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c78cf
fld dword [0x402e80]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c79a0
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x238], 0x52139c
jmp 0x4c79aa
mov dword [ebp - 0x238], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x238]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x238]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c7a15
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x23c], 0x52139c
jmp 0x4c7a1f
mov dword [ebp - 0x23c], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x23c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x23c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c7acf
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x240], eax
jmp 0x4c7ad6
and dword [ebp - 0x240], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c14
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c7b2c
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x244], eax
jmp 0x4c7b33
and dword [ebp - 0x244], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x5212e8]
push 1
call fcn.00404838
mov dword [ebp - 0x180], eax
mov dword [ebp - 0x17c], 1
and dword [ebp - 0x18], 0
jmp 0x4c7b93
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x17c]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x180]
jg 0x4c7ddf
mov edx, 0x40a6cc
lea ecx, [ebp - 0x24]
call fcn.004048b0
mov dword [ebp - 0x188], 0xff
mov dword [ebp - 0x184], 1
and dword [ebp - 0x20], 0
jmp 0x4c7bdb
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x184]
jo 0x4c9d15
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x188]
jg 0x4c7cb8
push dword [ebp - 0x18]
push dword [0x5212e0]
call fcn.00404832
mov ecx, dword [0x5212c8]
add ecx, dword [eax]
jo 0x4c9d15
add ecx, dword [ebp - 0x20]
jo 0x4c9d15
push ecx
push dword [0x52126c]
call fcn.00404832
movzx eax, byte [eax]
test eax, eax
jne 0x4c7c27
jmp 0x4c7cb8
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 8
push dword [ebp - 0x18]
push dword [0x5212e0]
call fcn.00404832
mov ecx, dword [0x5212c8]
add ecx, dword [eax]
jo 0x4c9d15
add ecx, dword [ebp - 0x20]
jo 0x4c9d15
push ecx
push dword [0x52126c]
call fcn.00404832
mov al, byte [eax]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404760
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004047d2
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004048b6
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
jmp 0x4c7bc9
lea eax, [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040475a
lea eax, [ebp - 0x7c]
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004048b6
lea ecx, [ebp - 0x7c]
call fcn.00404844
lea eax, [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404880
lea eax, [ebp - 0x7c]
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004048b6
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212f8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea ecx, [ebp - 0x7c]
call fcn.00404844
lea eax, [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404880
push 4
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0040487a
lea eax, [ebp - 0x8c]
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004048b6
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
jmp 0x4c7b81
push dword [0x5212e8]
push 1
call fcn.00404838
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], 1
and dword [ebp - 0x18], 0
jmp 0x4c7e14
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x18c]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x190]
jg 0x4c8159
mov edx, 0x40a6cc
lea ecx, [ebp - 0x24]
call fcn.004048b0
mov dword [ebp - 0x198], 0xff
mov dword [ebp - 0x194], 1
and dword [ebp - 0x20], 0
jmp 0x4c7e5c
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x194]
jo 0x4c9d15
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x198]
jg 0x4c7f39
push dword [ebp - 0x18]
push dword [0x5212e0]
call fcn.00404832
mov ecx, dword [0x5212c8]
add ecx, dword [eax]
jo 0x4c9d15
add ecx, dword [ebp - 0x20]
jo 0x4c9d15
push ecx
push dword [0x52126c]
call fcn.00404832
movzx eax, byte [eax]
test eax, eax
jne 0x4c7ea8
jmp 0x4c7f39
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 8
push dword [ebp - 0x18]
push dword [0x5212e0]
call fcn.00404832
mov ecx, dword [0x5212c8]
add ecx, dword [eax]
jo 0x4c9d15
add ecx, dword [ebp - 0x20]
jo 0x4c9d15
push ecx
push dword [0x52126c]
call fcn.00404832
mov al, byte [eax]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404760
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004047d2
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004048b6
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
jmp 0x4c7e4a
lea eax, [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push 0
push 0x40
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040475a
lea eax, [ebp - 0x7c]
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x24]
call fcn.004048b6
lea ecx, [ebp - 0x7c]
call fcn.00404844
lea eax, [ebp - 0x24]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404796
lea eax, [ebp - 0x7c]
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004048b6
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea ecx, [ebp - 0x7c]
call fcn.00404844
push dword [0x5212e8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push 4
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0040487a
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404880
mov dword [ebp - 0xf4], 0x40b9a8
mov dword [ebp - 0xfc], 0x8008
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0040480e
mov word [ebp - 0x144], ax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
movsx eax, word [ebp - 0x144]
test eax, eax
je 0x4c8154
push dword [0x5212e8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
push dword [eax]
call fcn.004d8bec
sub eax, 4
jo 0x4c9d15
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.004047c0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
mov dword [ebp - 0xf4], 0x40ba0c
mov dword [ebp - 0xfc], 8
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xfc]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004047d2
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.004048b6
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
jmp 0x4c7e02
push dword [0x5212e8]
push 1
call fcn.00404838
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x19c], 1
and dword [ebp - 0x18], 0
jmp 0x4c818e
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x19c]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1a0]
jg 0x4c8439
mov edx, 0x40a6cc
lea ecx, [ebp - 0x30]
call fcn.004048b0
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
push dword [eax]
call fcn.004d8bec
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1a4], 1
mov dword [ebp - 0x20], 1
jmp 0x4c81ea
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1a4]
jo 0x4c9d15
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1a8]
jg 0x4c841a
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], 2
push dword [0x5212e8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004047f0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
mov dword [ebp - 0x104], 0x40aeb4
mov dword [ebp - 0x10c], 0x8008
mov dword [ebp - 0xa4], 1
mov dword [ebp - 0xac], 2
push dword [0x5212e8]
lea eax, [ebp - 0x5c]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x5c]
call fcn.00404832
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x11c], 0x4008
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.004045ec
lea eax, [ebp - 0x5c]
push eax
call fcn.00404820
mov dword [ebp - 0x134], 0x40d9dc
mov dword [ebp - 0x13c], 0x8008
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004047fc
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.004047fc
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00404808
push eax
call fcn.00404892
mov word [ebp - 0x144], ax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 4
call fcn.00404898
add esp, 0x14
movsx eax, word [ebp - 0x144]
test eax, eax
je 0x4c8415
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x10c], 8
mov dword [ebp - 0x74], 1
mov dword [ebp - 0x7c], 2
push dword [0x5212e8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004047f0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004047d2
push eax
call fcn.004048aa
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.004048b6
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 3
call fcn.00404898
add esp, 0x10
jmp 0x4c81d8
mov esi, dword [ebp - 0x30]
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
jmp 0x4c817c
fld dword [0x402e7c]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c8473
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x248], 0x52139c
jmp 0x4c847d
mov dword [ebp - 0x248], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x248]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x248]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c84e8
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x24c], 0x52139c
jmp 0x4c84f2
mov dword [ebp - 0x24c], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x24c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c85a2
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x250], eax
jmp 0x4c85a9
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c2c
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c85ff
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x254], eax
jmp 0x4c8606
and dword [ebp - 0x254], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
mov eax, dword [0x5212c4]
sub eax, 1
jo 0x4c9d15
mov dword [ebp - 0x1b0], eax
mov dword [ebp - 0x1ac], 1
and dword [ebp - 0x18], 0
jmp 0x4c8667
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1ac]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1b0]
jg 0x4c86ae
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x19
jo 0x4c9d15
mov ecx, dword [0x5212cc]
add ecx, eax
jo 0x4c9d15
push ecx
push dword [0x52126c]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212e4]
call fcn.00404832
mov cl, byte [esi]
mov byte [eax], cl
jmp 0x4c8655
fld dword [0x402e7c]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c86e8
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x258], 0x52139c
jmp 0x4c86f2
mov dword [ebp - 0x258], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x258]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x258]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c875d
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x25c], 0x52139c
jmp 0x4c8767
mov dword [ebp - 0x25c], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x25c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x25c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c8817
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x260], eax
jmp 0x4c881e
and dword [ebp - 0x260], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c44
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c8874
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x264], eax
jmp 0x4c887b
and dword [ebp - 0x264], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x5212e8]
push 1
call fcn.00404838
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1b4], 1
and dword [ebp - 0x18], 0
jmp 0x4c88db
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1b4]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1b8]
jg 0x4c89c9
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov esi, dword [eax]
push dword [ebp - 0x18]
push dword [0x5212f8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
mov esi, 0x40a6cc
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
fild dword [eax]
push dword [ebp - 0x18]
push dword [0x5212fc]
call fcn.00404832
fstp qword [eax]
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
and dword [eax], 0
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x521300]
call fcn.00404832
mov ecx, dword [esi]
mov dword [eax], ecx
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
and dword [eax], 0
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x521304]
call fcn.00404832
mov ecx, dword [esi]
mov dword [eax], ecx
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
and dword [eax], 0
jmp 0x4c88c9
fld dword [0x402e78]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c8a03
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x268], 0x52139c
jmp 0x4c8a0d
mov dword [ebp - 0x268], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x268]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x268]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c8a78
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x26c], 0x52139c
jmp 0x4c8a82
mov dword [ebp - 0x26c], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x26c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c8b32
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x270], eax
jmp 0x4c8b39
and dword [ebp - 0x270], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c60
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c8b8f
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x274], eax
jmp 0x4c8b96
and dword [ebp - 0x274], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x5212e8]
push 1
call fcn.00404838
mov ecx, eax
call fcn.0040479c
mov word [ebp - 0x34], ax
movsx eax, word [ebp - 0x34]
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1bc], 1
and dword [ebp - 0x18], 0
jmp 0x4c8c05
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1bc]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c0]
jg 0x4c8e54
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0040485c
mov dword [ebp - 0x278], eax
fild dword [ebp - 0x278]
fstp qword [ebp - 0x40]
mov ecx, dword [ebp - 0x18]
call fcn.0040479c
mov word [ebp - 0x38], ax
mov eax, dword [ebp + 0xc]
push dword [eax]
call fcn.0040485c
mov dword [ebp - 0x140], eax
push dword [ebp - 0x18]
push dword [0x5212fc]
call fcn.00404832
fld qword [eax]
fcomp qword [0x402e70]
fnstsw ax
sahf
jae 0x4c8c70
mov dword [ebp - 0x27c], 1
jmp 0x4c8c77
and dword [ebp - 0x27c], 0
movsx eax, word [ebp - 0x38]
push eax
push dword [0x5212fc]
call fcn.00404832
fild dword [ebp - 0x140]
fstp qword [ebp - 0x284]
fld qword [eax]
fcomp qword [ebp - 0x284]
fnstsw ax
sahf
jbe 0x4c8cac
mov dword [ebp - 0x288], 1
jmp 0x4c8cb3
and dword [ebp - 0x288], 0
mov eax, dword [ebp - 0x27c]
neg eax
mov ecx, dword [ebp - 0x288]
neg ecx
or ax, cx
movsx eax, ax
test eax, eax
je 0x4c8d1d
mov esi, 0x40a6cc
push dword [ebp - 0x18]
push dword [0x5212f8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
push dword [ebp - 0x18]
push dword [0x5212fc]
call fcn.00404832
fldz
fstp qword [eax]
push dword [ebp - 0x18]
push dword [0x521300]
call fcn.00404832
and dword [eax], 0
push dword [ebp - 0x18]
push dword [0x521304]
call fcn.00404832
and dword [eax], 0
movsx eax, word [ebp - 0x34]
mov dword [ebp - 0x1c8], eax
mov dword [ebp - 0x1c4], 1
and dword [ebp - 0x20], 0
jmp 0x4c8d49
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c4]
jo 0x4c9d15
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c8]
jg 0x4c8d8d
push dword [ebp - 0x20]
push dword [0x5212fc]
call fcn.00404832
fld qword [eax]
fcomp qword [ebp - 0x40]
fnstsw ax
sahf
jae 0x4c8d8b
push dword [ebp - 0x20]
push dword [0x5212fc]
call fcn.00404832
fld qword [eax]
fstp qword [ebp - 0x40]
mov ecx, dword [ebp - 0x20]
call fcn.0040479c
mov word [ebp - 0x38], ax
jmp 0x4c8d37
movsx eax, word [ebp - 0x38]
push eax
push dword [0x5212f8]
call fcn.00404832
mov esi, dword [eax]
push dword [ebp - 0x18]
push dword [0x5212e8]
call fcn.00404832
mov ecx, eax
mov edx, esi
call fcn.004048b0
movsx eax, word [ebp - 0x38]
push eax
push dword [0x5212fc]
call fcn.00404832
fld qword [eax]
call fcn.0040481a
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
call fcn.00526416
push dword [eax]
call fcn.0040485c
mov dword [ebp - 0x28c], eax
fild dword [ebp - 0x28c]
movsx eax, word [ebp - 0x38]
push eax
push dword [0x5212fc]
call fcn.00404832
fstp qword [eax]
movsx eax, word [ebp - 0x38]
push eax
push dword [0x521300]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov ecx, dword [esi]
mov dword [eax], ecx
movsx eax, word [ebp - 0x38]
push eax
push dword [0x521304]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x4c8bf3
fld dword [0x402e6c]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c8e8e
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x290], 0x52139c
jmp 0x4c8e98
mov dword [ebp - 0x290], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x290]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x290]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c8f03
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x294], 0x52139c
jmp 0x4c8f0d
mov dword [ebp - 0x294], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x294]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x294]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c8fbd
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x298], eax
jmp 0x4c8fc4
and dword [ebp - 0x298], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c7c
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c901a
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x29c], eax
jmp 0x4c9021
and dword [ebp - 0x29c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
mov ax, word [ebp - 0x34]
sub ax, 1
jo 0x4c9d15
movsx eax, ax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1cc], 1
and dword [ebp - 0x18], 0
jmp 0x4c9085
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1cc]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1d0]
jg 0x4c910a
mov eax, dword [ebp - 0x18]
add eax, 1
jo 0x4c9d15
push eax
push dword [0x5212ec]
call fcn.00404832
mov esi, eax
push dword [ebp - 0x18]
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [esi]
sub esi, dword [eax]
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f4]
call fcn.00404832
call fcn.00526416
add eax, 1
jo 0x4c9d15
push eax
push dword [0x5212ec]
call fcn.00404832
mov esi, dword [eax]
sub esi, 1
jo 0x4c9d15
push dword [ebp - 0x18]
push dword [0x5212f0]
call fcn.00404832
mov dword [eax], esi
jmp 0x4c9073
push 1
call fcn.00404850
push dword [0x5212d4]
push dword [0x5212e8]
call fcn.00404832
mov edx, dword [eax]
mov ecx, 0x5212d8
call fcn.004048b0
fld dword [0x402e68]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c9168
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2a0], 0x52139c
jmp 0x4c9172
mov dword [ebp - 0x2a0], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x2a0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2a0]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c91dd
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2a4], 0x52139c
jmp 0x4c91e7
mov dword [ebp - 0x2a4], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x2a4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2a4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c9297
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x2a8], eax
jmp 0x4c929e
and dword [ebp - 0x2a8], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410c98
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c92f4
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x2ac], eax
jmp 0x4c92fb
and dword [ebp - 0x2ac], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push dword [0x5212ec]
push 1
call fcn.00404838
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d4], 1
and dword [ebp - 0x18], 0
jmp 0x4c935b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1d4]
jo 0x4c9d15
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1d8]
jg 0x4c9847
push dword [0x5212e8]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4008
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404796
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
cmp dword [0x52139c], 0
jne 0x4c93d1
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2b0], 0x52139c
jmp 0x4c93db
mov dword [ebp - 0x2b0], 0x52139c
push 0x410cac
push 0
push 7
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2b0]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x408]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0xc4], 0x80020004
mov dword [ebp - 0xcc], 0xa
mov dword [ebp - 0xb4], 0x80020004
mov dword [ebp - 0xbc], 0xa
mov dword [ebp - 0xa4], 0x80020004
mov dword [ebp - 0xac], 0xa
mov dword [ebp - 0x94], 0x80020004
mov dword [ebp - 0x9c], 0xa
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x28]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c94e3
push 0x28
push 0x410cac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x2b4], eax
jmp 0x4c94ea
and dword [ebp - 0x2b4], 0
push 0x410cbc
push dword [ebp - 0x6c]
call fcn.004045e6
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040470c
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x8c]
push eax
push 6
call fcn.00404898
add esp, 0x1c
mov dword [ebp - 0xf4], 0x410cd0
mov dword [ebp - 0xfc], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x7c]
call fcn.0040478a
push dword [0x5212f4]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4003
push 1
push 1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004045e0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004047c6
push eax
push 1
call fcn.00526416
push dword [ebp - 0x1c]
call dword [eax + 0x88]
fnclex
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jge 0x4c960a
push 0x88
push 0x410cbc
push dword [ebp - 0x1c]
push dword [ebp - 0x144]
call fcn.004048c2
mov dword [ebp - 0x2b8], eax
jmp 0x4c9611
and dword [ebp - 0x2b8], 0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
mov dword [ebp - 0xf4], 0x410cd0
mov dword [ebp - 0xfc], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x7c]
call fcn.0040478a
push dword [0x5212ec]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4003
push 1
push 1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004045e0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004047c6
push eax
push 2
call fcn.00526416
push dword [ebp - 0x1c]
call dword [eax + 0x88]
fnclex
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jge 0x4c96f0
push 0x88
push 0x410cbc
push dword [ebp - 0x1c]
push dword [ebp - 0x144]
call fcn.004048c2
mov dword [ebp - 0x2bc], eax
jmp 0x4c96f7
and dword [ebp - 0x2bc], 0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
mov dword [ebp - 0xf4], 0x410cd0
mov dword [ebp - 0xfc], 8
lea edx, [ebp - 0xfc]
lea ecx, [ebp - 0x7c]
call fcn.0040478a
push dword [0x5212f0]
lea eax, [ebp - 0x58]
push eax
call fcn.0040482c
push dword [ebp - 0x18]
push dword [ebp - 0x58]
call fcn.00404832
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xec], 0x4003
push 1
push 1
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0xec]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.004045e0
lea eax, [ebp - 0x58]
push eax
call fcn.00404820
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.004047c6
push eax
push 3
call fcn.00526416
push dword [ebp - 0x1c]
call dword [eax + 0x88]
fnclex
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jge 0x4c97d6
push 0x88
push 0x410cbc
push dword [ebp - 0x1c]
push dword [ebp - 0x144]
call fcn.004048c2
mov dword [ebp - 0x2c0], eax
jmp 0x4c97dd
and dword [ebp - 0x2c0], 0
lea ecx, [ebp - 0x60]
call fcn.00404868
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
push 0xffffffffffffffff
call fcn.00526416
push dword [ebp - 0x1c]
call dword [eax + 0xa4]
fnclex
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
jge 0x4c983b
push 0xa4
push 0x410cbc
push dword [ebp - 0x1c]
push dword [ebp - 0x144]
call fcn.004048c2
mov dword [ebp - 0x2c4], eax
jmp 0x4c9842
and dword [ebp - 0x2c4], 0
jmp 0x4c9349
fld dword [0x402e64]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c9881
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2c8], 0x52139c
jmp 0x4c988b
mov dword [ebp - 0x2c8], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x2c8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2c8]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
cmp dword [0x52139c], 0
jne 0x4c98f6
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2cc], 0x52139c
jmp 0x4c9900
mov dword [ebp - 0x2cc], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x2cc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2cc]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c99b0
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x2d0], eax
jmp 0x4c99b7
and dword [ebp - 0x2d0], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x410ce8
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c9a0d
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x2d4], eax
jmp 0x4c9a14
and dword [ebp - 0x2d4], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
or dword [ebp - 0xe4], 0xffffffff
mov dword [ebp - 0xec], 0xb
lea edx, [ebp - 0xec]
lea ecx, [ebp - 0x54]
call fcn.004048d4
cmp dword [0x52139c], 0
jne 0x4c9a82
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2d8], 0x52139c
jmp 0x4c9a8c
mov dword [ebp - 0x2d8], 0x52139c
push 0x40bbac
push 0
push 3
mov eax, dword [ebp - 0x2d8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x404]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404700
add esp, 0x10
push eax
call fcn.00404706
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.0040470c
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x84], 1
mov dword [ebp - 0x8c], 2
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
push dword [ebp - 0x144]
call dword [eax + 0x24]
fnclex
mov dword [ebp - 0x148], eax
cmp dword [ebp - 0x148], 0
jge 0x4c9b3c
push 0x24
push 0x40bbac
push dword [ebp - 0x144]
push dword [ebp - 0x148]
call fcn.004048c2
mov dword [ebp - 0x2dc], eax
jmp 0x4c9b43
and dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x14c], eax
push 0x40c278
mov eax, dword [ebp - 0x14c]
mov eax, dword [eax]
push dword [ebp - 0x14c]
call dword [eax + 0x80]
fnclex
mov dword [ebp - 0x150], eax
cmp dword [ebp - 0x150], 0
jge 0x4c9b99
push 0x80
push 0x40bbbc
push dword [ebp - 0x14c]
push dword [ebp - 0x150]
call fcn.004048c2
mov dword [ebp - 0x2e0], eax
jmp 0x4c9ba0
and dword [ebp - 0x2e0], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x64]
push eax
push 3
call fcn.004046fa
add esp, 0x10
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x7c]
push eax
push 2
call fcn.00404898
add esp, 0xc
fld dword [0x402e60]
fstp dword [ebp - 0xe4]
mov dword [ebp - 0xec], 4
cmp dword [0x52139c], 0
jne 0x4c9c05
push 0x52139c
push 0x407ca4
call fcn.004048c8
mov dword [ebp - 0x2e4], 0x52139c
jmp 0x4c9c0f
mov dword [ebp - 0x2e4], 0x52139c
push 0x10
pop eax
call fcn.004044c0
lea esi, [ebp - 0xec]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 5
mov eax, dword [ebp - 0x2e4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x2e4]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
push eax
call dword [ecx + 0x400]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0040470c
push eax
call fcn.004046dc
lea ecx, [ebp - 0x64]
call fcn.004046d6
wait
push 0x4c9cf2
jmp 0x4c9cd9
lea ecx, [ebp - 0x1c]
call fcn.004046d6
lea ecx, [ebp - 0x24]
call fcn.00404868
lea ecx, [ebp - 0x30]
call fcn.00404868
ret
jmp fcn.004044cc
call fcn.0040477e