Function at 0x4067dc
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff658
push ebx
push esi
push edi
mov dword [ebp - 0x130], edx
mov ebx, eax
lea esi, [ebp - 0x12c]
mov eax, 0x49375c
call fcn.00471e54
xor edx, edx
mov dword [ebp - 0x150], edx
cmp dword [ebx + 0x1494], 0
jl 0x40681b
mov dword [ebx + 0x1494], 1
cmp dword [ebx + 0x1494], 0xffffffff
jne 0x406834
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x409312
cmp dword [ebx + 0x1494], 0xfffffff6
jne 0x40684d
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x409312
mov ecx, dword [ebx + 0x153c]
cmp ecx, dword [ebx + 0x1538]
jge 0x40687a
cmp byte [ebx + 0x3a0], 1
jne 0x406962
mov eax, dword [ebx + 0x153c]
cmp eax, dword [ebx + 0x3a8]
jl 0x406962
xor edx, edx
mov dword [ebx + 0x1494], edx
cmp dword [ebx + 0x3b4], 0
jne 0x4068e4
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 0
je 0x4068a0
cmp byte [ebx + 0x3a0], 1
jne 0x4068b7
mov eax, ebx
call fcn.0043c71c
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x409312
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 1
jne 0x406962
mov edx, dword [ebx + 0x2e4]
mov eax, ebx
call fcn.0040a6d0
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x409312
cmp dword [ebx + 0x3b4], 1
jne 0x406962
mov edx, dword [ebx + 0x1364]
dec edx
cmp edx, dword [ebx + 0x3b0]
jne 0x406944
mov eax, dword [ebx + 0x2e0]
cmp byte [eax + 0x2c], 0
jne 0x40691f
mov eax, ebx
call fcn.0043c71c
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x409312
mov ecx, dword [ebx + 0x2e0]
cmp byte [ecx + 0x2c], 1
jne 0x406962
xor edx, edx
mov eax, ebx
call fcn.0040fc3c
mov ecx, dword [esi]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x409312
mov edx, dword [ebx + 0x3b0]
mov eax, ebx
inc edx
call fcn.0040fc3c
mov edx, dword [esi]
mov dword fs:[0], edx
mov eax, edx
jmp 0x409312
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 0x154], eax
mov byte [ebx + 0x158c], 0
cmp byte [ebx + 0x14e2], 1
jne 0x406b00
mov eax, 0x3e8
cdq
idiv dword [ebx + 0x151c]
push eax
mov eax, dword [ebx + 0x153c]
pop edx
mov ecx, edx
cdq
idiv ecx
dec edx
jne 0x406b00
mov edi, dword [ebx + 0x350]
cmp dword [edi + 0xc], 1
je 0x4069b2
or eax, 0xffffffff
jmp 0x4069e3
cmp dword [edi + 0x38], 0
je 0x4069c7
mov eax, dword [edi + 0x38]
push eax
call fcn.0041b38c
pop ecx
add eax, dword [edi + 0x60]
jmp 0x4069e3
call sub.KERNEL32.DLL_GetTickCount
mov edx, dword [edi + 0x5c]
sub eax, dword [edi + 0x64]
shl edx, 3
add eax, dword [edi + 0x60]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
add eax, edx
mov dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0
jge 0x4069fa
xor ecx, ecx
mov dword [ebx + 0x1590], ecx
cmp dword [ebp - 0x138], 0
jl 0x406b00
mov eax, dword [ebx + 0x153c]
imul dword [ebx + 0x151c]
sub dword [ebp - 0x138], eax
cmp dword [ebp - 0x138], 0x1388
jg 0x406a31
cmp dword [ebp - 0x138], 0xffffec78
jge 0x406a3e
xor edx, edx
mov dword [ebx + 0x1590], edx
jmp 0x406b00
mov ecx, dword [ebx + 0x1590]
mov eax, dword [ebp - 0x138]
mov dword [ecx*4 + 0x4d78f0], eax
inc dword [ebx + 0x1590]
cmp dword [ebx + 0x1590], 0xa
jne 0x406b00
mov edx, dword [ebx + 0x1590]
push edx
push 0x4d78f0
push ebx
call fcn.00409328
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x138], eax
mov dword [ebx + 0x1590], ecx
cmp dword [ebx + 0x151c], 0x64
mov eax, 2
jl 0x406a9a
mov eax, 1
mov edx, dword [ebx + 0x151c]
imul edx, eax
cmp edx, dword [ebp - 0x138]
jge 0x406acc
cmp dword [ebp - 0x138], 0x1388
jge 0x406acc
mov eax, dword [ebp - 0x138]
cdq
idiv dword [ebx + 0x151c]
mov dword [ebx + 0x1490], eax
jmp 0x406b00
mov ecx, dword [ebx + 0x151c]
imul ecx, eax
xor eax, eax
sub eax, ecx
cmp eax, dword [ebp - 0x138]
jle 0x406b00
cmp dword [ebp - 0x138], 0xffffec78
jle 0x406b00
mov eax, dword [ebp - 0x138]
cdq
idiv dword [ebx + 0x151c]
mov dword [ebx + 0x1490], eax
mov ecx, dword [ebx + 0x153c]
cmp ecx, dword [ebx + 0x1538]
jge 0x4092a3
mov eax, dword [ebx + 0x153c]
mov dword [ebp - 0x158], eax
mov edi, dword [ebx + 0x388]
mov eax, dword [edi + 0x1c]
dec eax
test eax, eax
jle 0x406b62
fild dword [ebp - 0x158]
fmul dword [0x40931c]
fild dword [edi + 4]
mov edx, dword [edi + 0x1c]
dec edx
fmulp st(1)
mov dword [ebp - 0x99c], edx
fild dword [ebp - 0x99c]
fdivp st(1)
fadd dword [0x409320]
call fcn.00475da4
mov dword [ebp - 0x15c], eax
jmp 0x406b6a
xor edx, edx
mov dword [ebp - 0x15c], edx
mov ecx, dword [edi + 0x10]
cmp ecx, dword [ebp - 0x15c]
je 0x406b85
mov eax, dword [ebp - 0x15c]
mov dword [edi + 0x10], eax
push edi
call fcn.004036d4
pop ecx
mov word [esi + 0x10], 8
mov edx, dword [ebx + 0x153c]
lea eax, [ebp - 4]
inc edx
call fcn.0047ccc8
inc dword [esi + 0x1c]
xor ecx, ecx
mov dword [ebp - 8], ecx
mov edx, eax
inc dword [esi + 0x1c]
mov eax, 0x492962
lea ecx, [ebp - 8]
call fcn.0047cf5c
lea edx, [ebp - 8]
push edx
mov edx, 0x492966
lea eax, [ebp - 0xc]
call fcn.0047cc54
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x10]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
mov edx, dword [ebx + 0x1538]
call fcn.0047ccc8
mov edx, eax
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x18]
inc dword [esi + 0x1c]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x18]
push edx
mov edx, 0x492968
lea eax, [ebp - 0x1c]
call fcn.0047cc54
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x1c]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x20]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x20]
push edx
xor edx, edx
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0x24]
mov eax, dword [ebx + 0x153c]
inc eax
push eax
push ebx
mov dword [ebp - 0x24], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x24]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x28]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x28]
push edx
mov edx, 0x49296f
lea eax, [ebp - 0x2c]
call fcn.0047cc54
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x2c]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x30]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x30]
push edx
xor edx, edx
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0x34]
mov eax, dword [ebx + 0x1538]
push eax
push ebx
mov dword [ebp - 0x34], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x38], eax
lea edx, [ebp - 0x34]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x38]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x38]
mov ecx, dword [edx]
push ecx
push ebx
call fcn.00406674
add esp, 8
dec dword [esi + 0x1c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0047cd0c
mov ecx, dword [sym.Project1.exe__ControlForm]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2fc]
mov edx, dword [eax]
call dword [edx + 0x78]
mov edx, dword [ebx + 0x153c]
inc edx
mov eax, dword [sym.Project1.exe__ControlForm]
mov eax, dword [eax]
call fcn.00414be0
mov word [esi + 0x10], 0x14
mov edx, 0x492971
lea eax, [ebp - 0x40]
call fcn.0047cc54
inc dword [esi + 0x1c]
lea edx, [ebp - 0x40]
push edx
xor edx, edx
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0x3c]
mov eax, dword [ebx + 0x153c]
push eax
push ebx
mov dword [ebp - 0x3c], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor edx, edx
add esp, 0x10
mov dword [ebp - 0x44], edx
lea eax, [ebp - 0x3c]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x44]
pop edx
call fcn.0047cd50
lea eax, [ebp - 0x44]
xor edx, edx
push eax
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0x48]
mov eax, dword [ebx + 0x1538]
push eax
push ebx
mov dword [ebp - 0x48], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x4c], eax
lea edx, [ebp - 0x48]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x4c]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x4c]
push edx
mov edx, 0x492973
lea eax, [ebp - 0x50]
call fcn.0047cc54
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x50]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x54]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x54]
push edx
lea edx, [ebx + 0x13dc]
lea eax, [ebp - 0x58]
call fcn.0047cc54
mov edx, eax
inc dword [esi + 0x1c]
xor eax, eax
mov dword [ebp - 0x5c], eax
lea ecx, [ebp - 0x5c]
inc dword [esi + 0x1c]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x5c]
mov eax, ebx
mov edx, dword [edx]
call fcn.00448a24
dec dword [esi + 0x1c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.0047cd0c
xor ecx, ecx
xor eax, eax
mov dword [ebx + 0x1540], ecx
mov dword [ebx + 0x1548], eax
cmp dword [ebx + 0x152c], 1
jne 0x4070e4
mov edx, dword [ebx + 0x14a8]
mov dword [ebx + 0x14a0], edx
mov ecx, dword [ebx + 0x14ac]
mov dword [ebx + 0x14a4], ecx
mov eax, dword [ebx + 0x1500]
call fcn.0045f910
mov edx, eax
mov eax, dword [ebx + 0x1500]
add edx, 0xfffffff8
call fcn.0045f920
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0x138], 0
jle 0x4070e4
mov eax, dword [ebx + 0x149c]
call fcn.0045fd14
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebx + 0x1500]
mov eax, dword [ebx + 0x149c]
call fcn.0045f9d4
mov edx, dword [ebx + 0x149c]
mov dword [ebp - 0x160], edx
mov ecx, dword [ebx + 0x1594]
mov dword [ebp - 0x164], ecx
mov eax, dword [ebp - 0x164]
cmp byte [eax + 0x12], 0
jne 0x407049
mov edx, dword [ebp - 0x164]
cmp byte [edx + 0x11], 0
je 0x4070c6
mov ecx, dword [ebp - 0x164]
cmp byte [ecx + 0x10], 0
jne 0x407099
mov edx, 0xa
mov eax, dword [ebp - 0x160]
call fcn.0045f920
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x164]
add edx, 0xc
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x164]
add edx, 0xe
mov ecx, 2
mov edi, dword [eax]
call dword [edi + 4]
jmp 0x4070c6
mov eax, dword [ebp - 0x164]
add eax, 0xe
push eax
mov edx, dword [ebp - 0x164]
add edx, 0xc
push edx
mov ecx, dword [ebp - 0x160]
push ecx
mov eax, dword [ebp - 0x164]
mov edx, dword [eax + 8]
push edx
call fcn.0040934c
add esp, 0x10
xor edx, edx
mov eax, dword [ebx + 0x149c]
call fcn.0045f920
mov edx, dword [ebx + 0x149c]
mov eax, dword [ebx + 0x14b0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
cmp byte [ebx + 0x1560], 1
jne 0x407100
push 0x10
push 0
lea eax, [ebx + 0x157c]
push eax
call fcn.00471b00
add esp, 0xc
mov edx, dword [ebx + 0x1584]
sub edx, dword [ebx + 0x157c]
test edx, edx
jle 0x407199
cmp dword [ebx + 0x14ec], 0
je 0x407199
cmp dword [ebx + 0x1568], 0
je 0x407199
mov eax, dword [ebx + 0x1568]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x407199
mov ecx, dword [ebx + 0x1568]
push ecx
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, dword [ebx + 0x1580]
mov edx, dword [ebx + 0x157c]
call fcn.0042d50c
cmp dword [ebp - 0x150], 0x32
jge 0x407186
mov eax, dword [ebp - 0x150]
push esi
shl eax, 4
lea esi, [ebx + 0x157c]
mov ecx, 4
lea edi, [ebp + eax - 0x568]
rep movsd dword es:[edi], dword [esi]
pop esi
inc dword [ebp - 0x150]
push 0x10
push 0
lea eax, [ebx + 0x157c]
push eax
call fcn.00471b00
add esp, 0xc
cmp dword [ebx + 0x153c], 0
jle 0x4073a8
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x134]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0x134], 0
jle 0x407571
mov eax, dword [ebp - 0x150]
add eax, eax
lea edx, [ebp + eax*8 - 0x568]
mov dword [ebp - 0x1d4], edx
cmp dword [ebp - 0x134], 0
jle 0x407571
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x1e4]
mov ecx, 0x10
mov edi, dword [eax]
call dword [edi + 4]
mov dl, 1
mov eax, dword [0x42bb88]
call fcn.0043187c
mov dword [ebx + 0x14f0], eax
cmp dword [ebx + 0x13f4], 0
jne 0x4072a2
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebx + 0x1500]
mov eax, dword [ebx + 0x1504]
call fcn.0045f9d4
mov eax, dword [ebp - 0x138]
push eax
mov edx, dword [ebx + 0x1504]
push edx
push ebx
call fcn.00409418
mov eax, dword [ebx + 0x1504]
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x1504]
mov eax, dword [ebx + 0x14e8]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebx + 0x1504]
call fcn.0045fd14
mov edx, dword [ebx + 0x14e8]
mov eax, dword [ebx + 0x14f0]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x407300
cmp dword [ebx + 0x13f4], 1
jl 0x407300
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebp - 0x1d8]
sub eax, dword [ebp - 0x1e0]
push eax
mov edx, dword [ebp - 0x1dc]
sub edx, dword [ebp - 0x1e4]
push edx
mov ecx, dword [ebx + 0x13f4]
push ecx
mov eax, dword [ebp - 0x138]
push eax
mov edx, dword [ebx + 0x1500]
push edx
mov ecx, dword [ebx + 0x14f0]
push ecx
push ebx
call fcn.00402a7c
add esp, 0x1c
mov eax, dword [ebx + 0x14f0]
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x1e4]
call fcn.0042d50c
cmp dword [ebp - 0x150], 0x32
jge 0x407350
mov eax, dword [ebp - 0x1d4]
push esi
mov edi, eax
lea esi, [ebp - 0x1e4]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
inc dword [ebp - 0x150]
add dword [ebp - 0x1d4], 0x10
mov eax, dword [ebx + 0x14f0]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
je 0x407380
mov edx, dword [ebp - 0x64]
mov ecx, dword [edx]
mov dword [ebp - 0x60], ecx
mov word [esi + 0x10], 0x2c
mov edx, 3
mov eax, dword [ebp - 0x64]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x20
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x134]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
cmp dword [ebp - 0x134], 0
jg 0x4071eb
jmp 0x407571
cmp dword [ebx + 0x153c], 0
jne 0x407571
mov dl, 1
mov eax, dword [0x42bb88]
call fcn.0043187c
mov dword [ebx + 0x14f0], eax
cmp dword [ebx + 0x13f4], 0
jne 0x407456
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebx + 0x1500]
mov eax, dword [ebx + 0x1504]
call fcn.0045f9d4
mov eax, dword [ebp - 0x138]
push eax
mov edx, dword [ebx + 0x1504]
push edx
push ebx
call fcn.00409418
mov eax, dword [ebx + 0x1504]
add esp, 0xc
xor ecx, ecx
xor edx, edx
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebx + 0x1504]
mov eax, dword [ebx + 0x14e8]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebx + 0x1504]
call fcn.0045fd14
mov edx, dword [ebx + 0x14e8]
mov eax, dword [ebx + 0x14f0]
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x4074a8
cmp dword [ebx + 0x13f4], 1
jl 0x4074a8
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
mov eax, dword [ebx + 0x1510]
push eax
mov edx, dword [ebx + 0x150c]
push edx
mov ecx, dword [ebx + 0x13f4]
push ecx
mov eax, dword [ebp - 0x138]
push eax
mov edx, dword [ebx + 0x1500]
push edx
mov ecx, dword [ebx + 0x14f0]
push ecx
push ebx
call fcn.00402a7c
add esp, 0x1c
mov eax, dword [ebx + 0x14f0]
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
xor ecx, ecx
xor edx, edx
call fcn.0042d50c
mov eax, dword [ebx + 0x14f0]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4074f3
mov edx, dword [ebp - 0x6c]
mov ecx, dword [edx]
mov dword [ebp - 0x68], ecx
mov word [esi + 0x10], 0x44
mov edx, 3
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0x38
xor eax, eax
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
shl edx, 4
xor ecx, ecx
mov dword [ebp + edx - 0x568], ecx
mov eax, dword [ebp - 0x150]
shl eax, 4
xor edx, edx
mov dword [ebp + eax - 0x564], edx
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x560], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x55c], eax
inc dword [ebp - 0x150]
lea edx, [ebp - 0x134]
mov ecx, 4
mov eax, dword [ebx + 0x1500]
mov edi, dword [eax]
call dword [edi + 4]
cmp byte [ebx + 0x14e0], 0
jne 0x40764a
mov eax, dword [ebx + 0x1594]
cmp byte [eax + 0x10], 1
jne 0x4075f8
mov word [esi + 0x10], 0x50
mov edx, 0x4924b2
lea eax, [ebp - 0x70]
call fcn.0047cc54
inc dword [esi + 0x1c]
mov edx, dword [eax]
push edx
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
sar eax, 1
jns 0x4075b5
adc eax, 0
add eax, 0xffffffec
push eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
sar eax, 1
jns 0x4075cb
adc eax, 0
add eax, 0xffffff6a
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
pop edx
pop ecx
call fcn.0047cc44
dec dword [esi + 0x1c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0047cd0c
jmp 0x4076a7
mov word [esi + 0x10], 0x5c
mov edx, 0x4924b2
lea eax, [ebp - 0x74]
call fcn.0047cc54
inc dword [esi + 0x1c]
mov ecx, dword [eax]
push ecx
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, 0xfffffed4
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, 0x32
pop edx
call fcn.0047cc44
dec dword [esi + 0x1c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0047cd0c
jmp 0x4076a7
mov word [esi + 0x10], 0x68
mov edx, 0x492975
lea eax, [ebp - 0x78]
call fcn.0047cc54
inc dword [esi + 0x1c]
lea edx, [ebp - 0x78]
lea eax, [ebx + 0x14bc]
call fcn.0047cdf4
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x4076a7
mov eax, dword [ebx + 0x14bc]
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, dword [ebx + 0x14b8]
mov edx, dword [ebx + 0x14b4]
call fcn.0047cc44
cmp dword [ebx + 0x152c], 1
jne 0x4076f4
mov eax, dword [ebx + 0x1500]
lea edx, [ebp - 0x138]
mov ecx, 4
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0x138]
lea edx, [ebp - 0x138]
mov ecx, 4
fstp dword [ebx + 0x14a8]
mov eax, dword [ebx + 0x1500]
mov edi, dword [eax]
call dword [edi + 4]
fild dword [ebp - 0x138]
fstp dword [ebx + 0x14ac]
xor eax, eax
mov dword [ebx + 0x154c], eax
cmp dword [ebx + 0x1400], 1
jne 0x407902
xor edx, edx
mov dword [ebp - 0x138], edx
jmp 0x4078e1
mov word [esi + 0x10], 0x74
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
lea ecx, [ebp - 0x7c]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x80]
mov edx, dword [ebx + 0x153c]
call fcn.0047ccc8
mov edx, eax
inc dword [esi + 0x1c]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x4078db
mov dword [ebx + 0x154c], 1
jmp 0x40782c
inc dword [ebp - 0x138]
xor eax, eax
mov word [esi + 0x10], 0x8c
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x8c]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0x90]
mov edx, 3
call fcn.0047ccc8
inc dword [esi + 0x1c]
lea edx, [ebp - 0x90]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x407902
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x138], eax
jmp 0x407902
mov eax, dword [ebx + 0x1488]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jns 0x40783e
add eax, 7
sar eax, 3
mov ecx, dword [ebp - 0x138]
inc ecx
cmp eax, ecx
jle 0x407902
mov word [esi + 0x10], 0x80
xor eax, eax
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x84], eax
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 8
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x88]
mov edx, dword [ebx + 0x153c]
call fcn.0047ccc8
mov edx, eax
inc dword [esi + 0x1c]
pop eax
call fcn.0047cddc
test al, al
lea eax, [ebp - 0x84]
setne cl
and ecx, 1
mov edx, 2
push ecx
dec dword [esi + 0x1c]
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.0047cd0c
pop ecx
test ecx, ecx
jne 0x407791
jmp 0x407902
inc dword [ebp - 0x138]
mov eax, dword [ebx + 0x1488]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jns 0x4078f3
add eax, 7
sar eax, 3
cmp eax, dword [ebp - 0x138]
jg 0x407716
cmp byte [ebx + 0x1550], 0
jne 0x40823d
cmp dword [ebx + 0x152c], 1
jne 0x407ac2
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x38]
sar eax, 1
jns 0x40792c
adc eax, 0
add eax, dword [ebx + 0x38c]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fsubr dword [ebx + 0x14a0]
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00475d7c
add esp, 8
mov edx, dword [ebx + 0x2d0]
mov eax, dword [edx + 0x38]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x9a0], eax
fild dword [ebp - 0x9a0]
fcompp
fnstsw ax
sahf
jae 0x4079a3
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x38]
sar ecx, 1
jns 0x407986
adc ecx, 0
mov dword [ebp - 0x9a4], ecx
fild dword [ebp - 0x9a4]
fsubr dword [ebx + 0x14a0]
call fcn.00475da4
mov dword [ebx + 0x38c], eax
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
sar ecx, 1
jns 0x4079b3
adc ecx, 0
add ecx, dword [ebx + 0x390]
mov dword [ebp - 0x99c], ecx
fild dword [ebp - 0x99c]
fsubr dword [ebx + 0x14a4]
add esp, 0xfffffff8
fstp qword [esp]
call fcn.00475d7c
add esp, 8
mov eax, dword [ebx + 0x2d0]
mov eax, dword [eax + 0x3c]
mov ecx, 3
cdq
idiv ecx
mov dword [ebp - 0x9a0], eax
fild dword [ebp - 0x9a0]
fcompp
fnstsw ax
sahf
jae 0x407a2a
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
sar ecx, 1
jns 0x407a0d
adc ecx, 0
mov dword [ebp - 0x9a4], ecx
fild dword [ebp - 0x9a4]
fsubr dword [ebx + 0x14a4]
call fcn.00475da4
mov dword [ebx + 0x390], eax
cmp dword [ebx + 0x38c], 0
jge 0x407a3d
xor edx, edx
mov dword [ebx + 0x38c], edx
jmp 0x407a75
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebx + 0x2d0]
mov edx, dword [ecx + 0x38]
add edx, dword [ebx + 0x38c]
cmp eax, edx
jge 0x407a75
mov eax, dword [ebx + 0x14ec]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebx + 0x2d0]
sub eax, dword [edx + 0x38]
mov dword [ebx + 0x38c], eax
cmp dword [ebx + 0x390], 0
jge 0x407a88
xor eax, eax
mov dword [ebx + 0x390], eax
jmp 0x407ad2
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x2d0]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebx + 0x390]
cmp eax, edx
jge 0x407ad2
mov eax, dword [ebx + 0x14ec]
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov edx, dword [ebx + 0x2d0]
sub eax, dword [edx + 0x3c]
mov dword [ebx + 0x390], eax
jmp 0x407ad2
xor eax, eax
xor ecx, ecx
mov dword [ebx + 0x38c], eax
mov dword [ebx + 0x390], ecx
mov eax, dword [ebx + 0x14ec]
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
xor ecx, ecx
xor edx, edx
sub ecx, dword [ebx + 0x390]
sub edx, dword [ebx + 0x38c]
call fcn.0042d50c
cmp dword [ebx + 0x1404], 1
jne 0x407f19
cmp dword [ebx + 0x154c], 1
jne 0x407f19
cmp byte [ebx + 0x1550], 0
jne 0x407f19
cmp dword [ebx + 0x152c], 1
jne 0x407f19
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042d330
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.0042d03c
mov word [esi + 0x10], 0x98
xor ecx, ecx
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x94]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
inc edx
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x94]
call fcn.0047cf0c
mov dword [ebp - 0x144], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.0047cd0c
mov word [esi + 0x10], 0xa4
xor ecx, ecx
mov dword [ebp - 0x98], ecx
lea ecx, [ebp - 0x98]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x98]
call fcn.0047cf0c
mov dword [ebp - 0x148], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.0047cd0c
mov ecx, dword [ebx + 0x1594]
cmp byte [ecx + 0x11], 0
jne 0x407dc7
mov eax, dword [ebx + 0x38c]
xor ecx, ecx
sub dword [ebp - 0x144], eax
mov edx, dword [ebx + 0x390]
sub dword [ebp - 0x148], edx
mov word [esi + 0x10], 0xb0
mov dword [ebp - 0x9c], ecx
lea ecx, [ebp - 0x9c]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.0047ccc8
inc dword [esi + 0x1c]
lea edx, [ebp - 0xa0]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa0]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x9c]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x407cbe
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x10]
mov edx, 0xffff
call fcn.0042cf30
jmp 0x407cd6
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x10]
mov edx, 0xff
call fcn.0042cf30
mov word [esi + 0x10], 0xbc
xor ecx, ecx
mov dword [ebp - 0xa4], ecx
lea ecx, [ebp - 0xa4]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
mov edx, 3
call fcn.0047ccc8
inc dword [esi + 0x1c]
lea edx, [ebp - 0xa8]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x407d8c
mov eax, dword [ebp - 0x144]
add eax, 0x14
push eax
mov edx, dword [ebp - 0x148]
add edx, 0x14
push edx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov ecx, dword [ebp - 0x148]
add ecx, 0xffffffec
mov edx, dword [ebp - 0x144]
add edx, 0xffffffec
call fcn.0042d5b8
mov eax, dword [ebp - 0x144]
add eax, 0xf
push eax
mov edx, dword [ebp - 0x148]
add edx, 0xf
push edx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov ecx, dword [ebp - 0x148]
add ecx, 0xfffffff1
mov edx, dword [ebp - 0x144]
add edx, 0xfffffff1
call fcn.0042d5b8
jmp 0x407f19
mov word [esi + 0x10], 0xc8
xor eax, eax
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], eax
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xac]
call fcn.0047cf0c
mov dword [ebp - 0x168], eax
xor edx, edx
mov dword [ebp - 0xb0], edx
lea ecx, [ebp - 0xb0]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xb0]
call fcn.0047cf0c
mov word [ebp - 0x16a], ax
xor edx, edx
mov dword [ebp - 0xb4], edx
lea ecx, [ebp - 0xb4]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xb4]
call fcn.0047cf0c
mov word [ebp - 0x16c], ax
mov edx, dword [ebx + 0x149c]
mov dword [ebp - 0x170], edx
mov edi, dword [ebx + 0x1594]
cmp byte [edi + 0x12], 0
jne 0x407e98
cmp byte [edi + 0x11], 0
je 0x407ee0
mov eax, dword [ebp - 0x168]
mov dword [edi + 4], eax
cmp byte [edi + 0x10], 1
jne 0x407ee0
mov dx, word [ebp - 0x16a]
push edx
mov cx, word [ebp - 0x16c]
push ecx
mov eax, dword [ebp - 0x170]
push eax
mov edx, dword [edi + 8]
push edx
call fcn.0040953c
mov cx, word [ebp - 0x16c]
add esp, 0x10
mov word [edi + 0xc], cx
mov ax, word [ebp - 0x16a]
mov word [edi + 0xe], ax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.0047cd0c
cmp dword [ebx + 0x152c], 1
jne 0x4080de
fild dword [ebx + 0x38c]
fsubr dword [ebx + 0x14a0]
call fcn.00475da4
mov dword [ebp - 0x144], eax
fild dword [ebx + 0x390]
fsubr dword [ebx + 0x14a4]
call fcn.00475da4
mov dword [ebp - 0x148], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x20]
add eax, dword [ebp - 0x148]
add eax, 0xffffffe8
mov dword [ebp - 0x17c], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x2c]
add eax, dword [ebp - 0x144]
add eax, 0xffffffe8
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x148]
add ecx, 0xffffffe8
mov dword [ebp - 0x184], ecx
mov eax, dword [ebp - 0x144]
add eax, 0xffffffe8
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x8a8], edx
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x8a4], ecx
lea ecx, [ebp - 0x8a8]
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x8a0], eax
mov edx, dword [ebp - 0x17c]
mov dword [ebp - 0x89c], edx
push ecx
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x174], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x178], eax
xor ecx, ecx
mov dword [ebp - 0x898], ecx
xor eax, eax
mov dword [ebp - 0x894], eax
lea eax, [ebp - 0x898]
mov edx, dword [ebp - 0x178]
mov dword [ebp - 0x890], edx
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x88c], ecx
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
push eax
mov eax, dword [ebx + 0x14f4]
call fcn.00431de8
pop ecx
pop edx
call fcn.0042d484
fild dword [ebx + 0x390]
fsubr dword [ebx + 0x14a4]
call fcn.00475da4
push eax
fild dword [ebx + 0x38c]
fsubr dword [ebx + 0x14a0]
call fcn.00475da4
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
push eax
fld dword [ebx + 0x14a4]
call fcn.00475da4
push eax
fld dword [ebx + 0x14a0]
call fcn.00475da4
push eax
mov edx, dword [ebx + 0x14ec]
push edx
mov ecx, dword [ebx + 0x1594]
push ecx
call fcn.004063c8
add esp, 0x1c
mov eax, dword [ebx + 0x14b0]
call fcn.004333f4
push eax
mov edx, dword [ebp - 0x148]
push edx
mov ecx, dword [ebp - 0x144]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
call fcn.0042da20
push eax
push ebx
call fcn.004064bc
add esp, 0x14
cmp dword [ebx + 0x13c8], 1
jne 0x408225
mov word [esi + 0x10], 0xd4
mov edx, 0x492976
lea eax, [ebp - 0xbc]
call fcn.0047cc54
inc dword [esi + 0x1c]
lea edx, [ebp - 0xbc]
push edx
xor edx, edx
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0xb8]
mov eax, dword [ebx + 0x153c]
inc eax
push eax
push ebx
mov dword [ebp - 0xb8], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor edx, edx
add esp, 0x10
mov dword [ebp - 0xc0], edx
lea eax, [ebp - 0xb8]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0xc0]
pop edx
call fcn.0047cd50
lea eax, [ebp - 0xc0]
xor edx, edx
push eax
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0xc4]
mov eax, dword [ebx + 0x1538]
push eax
push ebx
mov dword [ebp - 0xc4], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor eax, eax
add esp, 0x10
mov dword [ebp - 0xc8], eax
lea edx, [ebp - 0xc4]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0xc8]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0xc8]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov edx, dword [ebx + 0x2d0]
mov edx, dword [edx + 0x38]
add edx, 0xffffff9c
xor ecx, ecx
call fcn.0047cc44
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xbc]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xb8]
mov edx, 2
call fcn.0047cd0c
push 0x10
push 0
lea eax, [ebx + 0x157c]
push eax
call fcn.00471b00
add esp, 0xc
jmp 0x409296
mov ecx, dword [ebx + 0x318]
cmp byte [ecx + 0x2c], 0
jne 0x40827c
xor eax, eax
xor edx, edx
mov dword [ebp - 0x8b8], eax
mov dword [ebp - 0x8b4], edx
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x8b0], eax
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
mov dword [ebp - 0x8ac], ecx
jmp 0x408406
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fmul dword [0x40931c]
fstp qword [ebp - 0x9a4]
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x9a8], eax
fild dword [ebp - 0x9a8]
mov ecx, dword [ebx + 0x2d0]
fdivr qword [ebp - 0x9a4]
fild dword [ecx + 0x38]
fmul dword [0x40931c]
mov eax, dword [ebx + 0x2d0]
fild dword [eax + 0x3c]
fdivp st(1)
fcompp
fnstsw ax
sahf
jbe 0x40837e
xor edx, edx
mov dword [ebp - 0x8b4], edx
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x3c]
mov dword [ebp - 0x8ac], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fild dword [ebp - 0x8ac]
fmul dword [0x40931c]
fmulp st(1)
fstp qword [ebp - 0x9a4]
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x9a8], eax
fild dword [ebp - 0x9a8]
fdivr qword [ebp - 0x9a4]
call fcn.00475da4
mov dword [ebp - 0x18c], eax
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x38]
sub ecx, dword [ebp - 0x18c]
sar ecx, 1
jns 0x408361
adc ecx, 0
mov dword [ebp - 0x8b8], ecx
mov eax, dword [ebp - 0x8b8]
add eax, dword [ebp - 0x18c]
mov dword [ebp - 0x8b0], eax
jmp 0x408406
xor edx, edx
mov dword [ebp - 0x8b8], edx
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x38]
mov dword [ebp - 0x8b0], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fmul dword [0x40931c]
fstp qword [ebp - 0x9a4]
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x9a8], eax
fild dword [ebp - 0x9a8]
fdivr qword [ebp - 0x9a4]
fild dword [ebp - 0x8b0]
fdivrp st(1)
call fcn.00475da4
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
sub ecx, eax
sar ecx, 1
jns 0x4083f4
adc ecx, 0
mov dword [ebp - 0x8b4], ecx
add eax, dword [ebp - 0x8b4]
mov dword [ebp - 0x8ac], eax
push 0x10
lea eax, [ebx + 0x156c]
push eax
lea edx, [ebp - 0x8b8]
push edx
call fcn.00471cd4
add esp, 0xc
test eax, eax
je 0x4084b2
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x14]
xor edx, edx
call fcn.0042d330
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x14]
mov edx, dword [ebx + 0x13a4]
call fcn.0042d214
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x38]
add eax, 5
push eax
mov edx, dword [ebx + 0x2d0]
mov ecx, dword [edx + 0x3c]
add ecx, 5
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov ecx, 0xfffffffb
mov edx, 0xfffffffb
call fcn.0042d700
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042d330
push esi
lea esi, [ebp - 0x8b8]
lea edi, [ebx + 0x156c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
cmp dword [ebx + 0x1564], 0
je 0x408558
mov eax, dword [ebx + 0x1564]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebx + 0x1574]
sub ecx, dword [ebx + 0x156c]
cmp eax, ecx
jne 0x408511
mov eax, dword [ebx + 0x1564]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebx + 0x1578]
sub ecx, dword [ebx + 0x1570]
cmp eax, ecx
jne 0x408511
mov eax, dword [ebx + 0x1564]
call fcn.00431ecc
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431ecc
pop edx
cmp dl, al
je 0x408558
mov ecx, dword [ebx + 0x1564]
mov dword [ebp - 0xd0], ecx
cmp dword [ebp - 0xd0], 0
je 0x408550
mov eax, dword [ebp - 0xd0]
mov edx, dword [eax]
mov dword [ebp - 0xcc], edx
mov word [esi + 0x10], 0xec
mov edx, 3
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [esi + 0x10], 0xe0
xor eax, eax
mov dword [ebx + 0x1564], eax
cmp dword [ebx + 0x1564], 0
jne 0x408625
mov dl, 1
mov eax, dword [0x42bb88]
call fcn.0043187c
mov dword [ebx + 0x1564], eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431ecc
mov edx, eax
mov eax, dword [ebx + 0x1564]
call fcn.00432cac
mov eax, dword [ebx + 0x1564]
mov edx, dword [ebx + 0x1574]
sub edx, dword [ebx + 0x156c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebx + 0x1564]
mov edx, dword [ebx + 0x1578]
sub edx, dword [ebx + 0x1570]
mov ecx, dword [eax]
call dword [ecx + 0x34]
xor edx, edx
mov dword [ebp - 0x150], edx
mov eax, dword [ebp - 0x150]
shl eax, 4
xor edx, edx
mov dword [ebp + eax - 0x568], edx
mov ecx, dword [ebp - 0x150]
shl ecx, 4
xor eax, eax
mov dword [ebp + ecx - 0x564], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x560], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x55c], eax
inc dword [ebp - 0x150]
cmp byte [ebx + 0x1560], 1
jne 0x40869d
mov byte [ebx + 0x1560], 0
xor eax, eax
mov dword [ebp - 0x150], eax
mov edx, dword [ebp - 0x150]
shl edx, 4
xor ecx, ecx
mov dword [ebp + edx - 0x568], ecx
mov eax, dword [ebp - 0x150]
shl eax, 4
xor edx, edx
mov dword [ebp + eax - 0x564], edx
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x560], eax
mov eax, dword [ebx + 0x14ec]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, dword [ebp - 0x150]
shl ecx, 4
mov dword [ebp + ecx - 0x55c], eax
inc dword [ebp - 0x150]
xor eax, eax
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0x150]
jge 0x40871f
push 0x10
push 0
mov ecx, dword [ebp - 0x134]
shl ecx, 4
lea eax, [ebp - 0x888]
add ecx, eax
push ecx
call fcn.00471b00
add esp, 0xc
mov edx, dword [ebp - 0x134]
shl edx, 4
lea ecx, [ebp - 0x888]
add edx, ecx
push edx
mov eax, dword [ebp - 0x134]
shl eax, 4
lea edx, [ebp - 0x568]
add eax, edx
push eax
mov ecx, dword [ebx + 0x1564]
push ecx
mov eax, dword [ebx + 0x14ec]
push eax
call fcn.0041a604
add esp, 0x10
inc dword [ebp - 0x134]
mov edx, dword [ebp - 0x134]
cmp edx, dword [ebp - 0x150]
jl 0x4086b3
cmp dword [ebx + 0x156c], 0
jne 0x408751
cmp dword [ebx + 0x1574], 0
jne 0x408751
mov ecx, dword [ebx + 0x1564]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
xor ecx, ecx
xor edx, edx
call fcn.0042d50c
jmp 0x4087ee
mov eax, dword [ebx + 0x1564]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x190], eax
mov eax, dword [ebx + 0x1564]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x194], eax
xor ecx, ecx
mov dword [ebp - 0x8d8], ecx
xor eax, eax
mov dword [ebp - 0x8d4], eax
lea eax, [ebp - 0x8d8]
mov edx, dword [ebp - 0x194]
mov dword [ebp - 0x8d0], edx
mov ecx, dword [ebp - 0x190]
mov dword [ebp - 0x8cc], ecx
push eax
mov eax, dword [ebx + 0x1564]
call fcn.00431de8
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
lea edi, [ebx + 0x156c]
mov edx, dword [edi]
mov dword [ebp - 0x8c8], edx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x8c4], ecx
mov edx, dword [edi + 8]
mov dword [ebp - 0x8c0], edx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x8bc], ecx
lea edx, [ebp - 0x8c8]
pop ecx
call fcn.0042d484
cmp dword [ebx + 0x152c], 1
jne 0x409134
cmp dword [ebx + 0x1404], 1
jne 0x408da4
cmp dword [ebx + 0x154c], 1
jne 0x408da4
mov word [esi + 0x10], 0xf8
xor eax, eax
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], eax
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
inc edx
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xd4]
call fcn.0047cf0c
mov dword [ebp - 0x144], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.0047cd0c
mov word [esi + 0x10], 0x104
xor ecx, ecx
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0xd8]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 2
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xd8]
call fcn.0047cf0c
mov dword [ebp - 0x148], eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.0047cd0c
mov ecx, dword [ebx + 0x1594]
cmp byte [ecx + 0x11], 0
jne 0x408c50
mov eax, dword [ebp - 0x144]
add eax, 0xffffffe7
mov dword [ebp - 0x908], eax
mov edx, dword [ebp - 0x148]
add edx, 0xffffffe7
mov dword [ebp - 0x904], edx
mov ecx, dword [ebp - 0x144]
add ecx, 0x19
mov dword [ebp - 0x900], ecx
mov eax, dword [ebp - 0x148]
add eax, 0x19
mov dword [ebp - 0x8fc], eax
mov edx, dword [ebp - 0x908]
mov dword [ebp - 0x938], edx
mov ecx, dword [ebp - 0x904]
mov dword [ebp - 0x934], ecx
lea ecx, [ebp - 0x938]
mov eax, dword [ebp - 0x900]
mov dword [ebp - 0x930], eax
mov edx, dword [ebp - 0x8fc]
mov dword [ebp - 0x92c], edx
push ecx
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
push eax
mov eax, dword [ebx + 0x1568]
call fcn.00431de8
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x928], edx
mov dword [ebp - 0x924], ecx
mov dword [ebp - 0x920], 0x32
mov dword [ebp - 0x91c], 0x32
pop ecx
lea edx, [ebp - 0x928]
call fcn.0042d484
push esi
lea esi, [ebp - 0x908]
lea edi, [ebx + 0x157c]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
pop esi
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov eax, dword [eax + 0x14]
mov dl, 1
call fcn.0042d330
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov eax, dword [eax + 0x10]
mov edx, 2
call fcn.0042d03c
mov word [esi + 0x10], 0x110
xor ecx, ecx
mov dword [ebp - 0xdc], ecx
lea ecx, [ebp - 0xdc]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xdc]
push eax
lea eax, [ebp - 0xe0]
mov edx, 2
call fcn.0047ccc8
inc dword [esi + 0x1c]
lea edx, [ebp - 0xe0]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xe0]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x408a5d
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov eax, dword [eax + 0x10]
mov edx, 0xffff
call fcn.0042cf30
jmp 0x408a75
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov eax, dword [eax + 0x10]
mov edx, 0xff
call fcn.0042cf30
mov word [esi + 0x10], 0x11c
xor ecx, ecx
mov dword [ebp - 0xe4], ecx
lea ecx, [ebp - 0xe4]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xe8]
mov edx, 3
call fcn.0047ccc8
inc dword [esi + 0x1c]
lea edx, [ebp - 0xe8]
pop eax
call fcn.0047cddc
push eax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.0047cd0c
pop ecx
test cl, cl
je 0x408b2b
mov eax, dword [ebp - 0x144]
add eax, 0x14
push eax
mov edx, dword [ebp - 0x148]
add edx, 0x14
push edx
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, dword [ebp - 0x148]
add ecx, 0xffffffec
mov edx, dword [ebp - 0x144]
add edx, 0xffffffec
call fcn.0042d5b8
mov eax, dword [ebp - 0x144]
add eax, 0xf
push eax
mov edx, dword [ebp - 0x148]
add edx, 0xf
push edx
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
mov ecx, dword [ebp - 0x148]
add ecx, 0xfffffff1
mov edx, dword [ebp - 0x144]
add edx, 0xfffffff1
call fcn.0042d5b8
lea eax, [ebp - 0x918]
lea edx, [ebp - 0x908]
push eax
push edx
mov ecx, dword [ebx + 0x1564]
push ecx
mov eax, dword [ebx + 0x14ec]
push eax
call fcn.0041a604
mov edx, dword [ebp - 0x918]
add esp, 0x10
mov dword [ebp - 0x958], edx
mov ecx, dword [ebp - 0x914]
mov dword [ebp - 0x954], ecx
lea ecx, [ebp - 0x958]
mov eax, dword [ebp - 0x910]
mov dword [ebp - 0x950], eax
mov edx, dword [ebp - 0x90c]
mov dword [ebp - 0x94c], edx
push ecx
mov eax, dword [ebx + 0x1564]
call fcn.00431de8
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov edi, dword [ebp - 0x90c]
mov edx, dword [ebp - 0x910]
add edi, dword [ebx + 0x1570]
add edx, dword [ebx + 0x156c]
mov dword [ebp - 0x198], edx
mov ecx, dword [ebp - 0x914]
add ecx, dword [ebx + 0x1570]
mov dword [ebp - 0x19c], ecx
mov edx, dword [ebp - 0x918]
add edx, dword [ebx + 0x156c]
mov dword [ebp - 0x1a0], edx
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x948], ecx
mov edx, dword [ebp - 0x19c]
mov dword [ebp - 0x944], edx
lea edx, [ebp - 0x948]
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x940], ecx
mov dword [ebp - 0x93c], edi
pop ecx
call fcn.0042d484
jmp 0x408db7
mov word [esi + 0x10], 0x128
xor eax, eax
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], eax
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 3
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xec]
call fcn.0047cf0c
mov dword [ebp - 0x1a4], eax
xor edx, edx
mov dword [ebp - 0xf0], edx
lea ecx, [ebp - 0xf0]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 5
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xf0]
call fcn.0047cf0c
mov word [ebp - 0x1a6], ax
xor edx, edx
mov dword [ebp - 0xf4], edx
lea ecx, [ebp - 0xf4]
inc dword [esi + 0x1c]
mov eax, dword [ebx + 0x1488]
mov edx, dword [ebp - 0x138]
shl edx, 3
add edx, 4
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0xf4]
call fcn.0047cf0c
mov word [ebp - 0x1a8], ax
mov edx, dword [ebx + 0x149c]
mov dword [ebp - 0x1ac], edx
mov edi, dword [ebx + 0x1594]
cmp byte [edi + 0x12], 0
jne 0x408d21
cmp byte [edi + 0x11], 0
je 0x408d69
mov eax, dword [ebp - 0x1a4]
mov dword [edi + 4], eax
cmp byte [edi + 0x10], 1
jne 0x408d69
mov dx, word [ebp - 0x1a6]
push edx
mov cx, word [ebp - 0x1a8]
push ecx
mov eax, dword [ebp - 0x1ac]
push eax
mov edx, dword [edi + 8]
push edx
call fcn.0040953c
mov cx, word [ebp - 0x1a8]
add esp, 0x10
mov word [edi + 0xc], cx
mov ax, word [ebp - 0x1a6]
mov word [edi + 0xe], ax
dec dword [esi + 0x1c]
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.0047cd0c
jmp 0x408db7
push 0x10
push 0
lea ecx, [ebx + 0x157c]
push ecx
call fcn.00471b00
add esp, 0xc
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fld dword [ebx + 0x14a4]
fsub dword [0x409324]
faddp st(1)
call fcn.00475da4
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x9a0], eax
fild dword [ebp - 0x9a0]
fld dword [ebx + 0x14a0]
fsub dword [0x409324]
faddp st(1)
call fcn.00475da4
mov dword [ebp - 0x1b8], eax
fld dword [ebx + 0x14a4]
fsub dword [0x409324]
call fcn.00475da4
mov dword [ebp - 0x1bc], eax
fld dword [ebx + 0x14a0]
fsub dword [0x409324]
call fcn.00475da4
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x978], edx
mov ecx, dword [ebp - 0x1bc]
mov dword [ebp - 0x974], ecx
lea ecx, [ebp - 0x978]
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x970], eax
mov edx, dword [ebp - 0x1b4]
mov dword [ebp - 0x96c], edx
push ecx
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edi, eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x1b0], eax
xor ecx, ecx
mov dword [ebp - 0x968], ecx
xor eax, eax
mov dword [ebp - 0x964], eax
lea ecx, [ebp - 0x968]
mov edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x960], edx
mov dword [ebp - 0x95c], edi
push ecx
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
push eax
mov eax, dword [ebx + 0x14f4]
call fcn.00431de8
pop ecx
pop edx
call fcn.0042d484
fld dword [ebx + 0x14a4]
call fcn.00475da4
push eax
fld dword [ebx + 0x14a0]
call fcn.00475da4
push eax
mov edx, dword [ebx + 0x14ec]
push edx
mov ecx, dword [ebx + 0x1594]
push ecx
call fcn.00406584
add esp, 0x10
mov eax, dword [ebx + 0x14b0]
call fcn.004333f4
push eax
fld dword [ebx + 0x14a4]
call fcn.00475da4
push eax
fld dword [ebx + 0x14a0]
call fcn.00475da4
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
call fcn.0042da20
push eax
push ebx
call fcn.004064bc
add esp, 0x14
fld dword [ebx + 0x14a0]
fsub dword [0x409324]
call fcn.00475da4
mov dword [ebp - 0x8e8], eax
fld dword [ebx + 0x14a4]
fsub dword [0x409324]
call fcn.00475da4
mov dword [ebp - 0x8e4], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fld dword [ebx + 0x14a0]
fsub dword [0x409324]
faddp st(1)
call fcn.00475da4
mov dword [ebp - 0x8e0], eax
mov eax, dword [ebx + 0x14f4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x99c], eax
fild dword [ebp - 0x99c]
fld dword [ebx + 0x14a4]
fsub dword [0x409324]
faddp st(1)
call fcn.00475da4
mov dword [ebp - 0x8dc], eax
lea edx, [ebp - 0x8f8]
push edx
lea ecx, [ebp - 0x8e8]
push ecx
mov eax, dword [ebx + 0x1564]
push eax
mov edx, dword [ebx + 0x14ec]
push edx
call fcn.0041a604
mov ecx, dword [ebp - 0x8f8]
add esp, 0x10
mov dword [ebp - 0x998], ecx
mov eax, dword [ebp - 0x8f4]
mov dword [ebp - 0x994], eax
lea eax, [ebp - 0x998]
mov edx, dword [ebp - 0x8f0]
mov dword [ebp - 0x990], edx
mov ecx, dword [ebp - 0x8ec]
mov dword [ebp - 0x98c], ecx
push eax
mov eax, dword [ebx + 0x1564]
call fcn.00431de8
push eax
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov edx, dword [ebp - 0x8ec]
add edx, dword [ebx + 0x1570]
mov dword [ebp - 0x1c4], edx
mov ecx, dword [ebp - 0x8f0]
add ecx, dword [ebx + 0x156c]
mov dword [ebp - 0x1c8], ecx
mov edx, dword [ebp - 0x8f4]
add edx, dword [ebx + 0x1570]
mov dword [ebp - 0x1cc], edx
mov ecx, dword [ebp - 0x8f8]
add ecx, dword [ebx + 0x156c]
mov dword [ebp - 0x1d0], ecx
mov edx, dword [ebp - 0x1d0]
mov dword [ebp - 0x988], edx
mov ecx, dword [ebp - 0x1cc]
mov dword [ebp - 0x984], ecx
mov edx, dword [ebp - 0x1c8]
mov dword [ebp - 0x980], edx
mov ecx, dword [ebp - 0x1c4]
mov dword [ebp - 0x97c], ecx
lea edx, [ebp - 0x988]
pop ecx
call fcn.0042d484
mov eax, dword [ebx + 0x14f4]
push eax
mov eax, dword [ebx + 0x14ec]
call fcn.00431de8
push eax
fld dword [ebx + 0x14a4]
fsub dword [0x409324]
call fcn.00475da4
push eax
fld dword [ebx + 0x14a0]
fsub dword [0x409324]
call fcn.00475da4
mov edx, eax
pop ecx
pop eax
call fcn.0042d50c
lea edx, [ebp - 0x8f8]
lea ecx, [ebp - 0x8e8]
push edx
push ecx
mov eax, dword [ebx + 0x1564]
push eax
mov edx, dword [ebx + 0x14ec]
push edx
call fcn.0041a604
add esp, 0x10
push 0
push 0
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
or ecx, 0xffffffff
or edx, 0xffffffff
call fcn.0042d700
cmp dword [ebx + 0x13c8], 1
jne 0x409296
mov word [esi + 0x10], 0x134
mov edx, 0x492978
lea eax, [ebp - 0xfc]
call fcn.0047cc54
inc dword [esi + 0x1c]
lea ecx, [ebp - 0xfc]
push ecx
xor ecx, ecx
mov eax, dword [ebx + 0x151c]
push eax
lea eax, [ebp - 0xf8]
mov edx, dword [ebx + 0x153c]
inc edx
push edx
push ebx
mov dword [ebp - 0xf8], ecx
push eax
inc dword [esi + 0x1c]
call fcn.00403950
xor edx, edx
add esp, 0x10
mov dword [ebp - 0x100], edx
lea eax, [ebp - 0xf8]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x100]
pop edx
call fcn.0047cd50
lea eax, [ebp - 0x100]
xor edx, edx
push eax
mov ecx, dword [ebx + 0x151c]
push ecx
lea ecx, [ebp - 0x104]
mov eax, dword [ebx + 0x1538]
push eax
push ebx
mov dword [ebp - 0x104], edx
push ecx
inc dword [esi + 0x1c]
call fcn.00403950
xor eax, eax
add esp, 0x10
mov dword [ebp - 0x108], eax
lea edx, [ebp - 0x104]
inc dword [esi + 0x1c]
lea ecx, [ebp - 0x108]
pop eax
call fcn.0047cd50
lea edx, [ebp - 0x108]
mov ecx, dword [edx]
push ecx
mov eax, dword [ebx + 0x2d0]
call fcn.004421fc
mov edx, dword [ebx + 0x1574]
mov ecx, dword [ebx + 0x1570]
add edx, 0xffffff9c
call fcn.0047cc44
dec dword [esi + 0x1c]
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0x100]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xfc]
mov edx, 2
call fcn.0047cd0c
dec dword [esi + 0x1c]
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.0047cd0c
mov byte [ebx + 0x1560], 0
inc dword [ebx + 0x153c]
mov ecx, dword [ebx + 0x1544]
xor eax, eax
sub ecx, dword [ebx + 0x1540]
dec ecx
xor edx, edx
mov dword [ebx + 0x1548], ecx
mov dword [ebx + 0x1540], eax
mov dword [ebx + 0x1494], edx
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 0x154]
mov ecx, 0x28
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x154]
add eax, 0x14
cdq
idiv ecx
mov dword [ebx + 0x1540], eax
mov eax, dword [ebx + 0x1544]
sub eax, dword [ebx + 0x1540]
dec eax
xor edx, edx
mov dword [ebx + 0x1548], eax
mov dword [ebx + 0x1540], edx
mov ecx, dword [esi]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret