Function at 0x10036220
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100725e0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1ac
push ebx
push esi
push edi
mov eax, dword [0x1008e46c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x35], 0
mov dword [ebp - 0x50], 0
mov byte [ebp - 0x51], 0
lea ecx, [ebp - 0x64]
call fcn.1001d0b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1001d0b0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1003c040
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
lea ecx, [ebp - 0x74]
call fcn.1003c040
mov eax, dword [ebp - 0x14]
add eax, 0x118
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x14]
call fcn.1002e5d0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 2
push 2
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov ecx, dword [ebp - 0x14]
call fcn.1002eff0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1288], 0
push 2
push 0
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x338
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x10036371
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x338], 0
mov dword [ebp - 0x18c], 0x81000202
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1003bfe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.1003bfe0
mov eax, dword [ebp - 0x18c]
jmp 0x1003a978
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x11], 1
movzx eax, byte [ebp - 0x35]
cmp eax, 1
je 0x1003a947
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x328]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 6
ja case.0x100363a7.4
mov edx, dword [ebp - 0x1b0]
jmp dword [edx*4 + 0x1003a98c]
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 0
push 1
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
jmp case.0x100363a7.4
push 2
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
jmp case.0x100363a7.4
push 3
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x32c]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 8
ja case.default.0x10036405
mov edx, dword [ebp - 0x1b0]
jmp dword [edx*4 + 0x1003a9a8]
mov ecx, dword [ebp - 0x14]
call fcn.1002e9b0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 1
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12b8], 0
jne 0x10036520
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1240]
mov dword [eax + 0x123c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x123c]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1240], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x127c], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x123c]
cmp edx, dword [ecx + 0x9c]
jb 0x10036490
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 7
jmp case.default.0x10036405
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x123c]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xa0
call fcn.1001d2f0
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10027ad0
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100364eb
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
mov byte [ebp - 4], 1
jmp case.default.0x10036405
jmp 0x1003650d
mov dword [ebp - 4], 1
jmp 0x1003651b
jmp 0x10036617
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1248]
mov dword [eax + 0x1244], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1244]
add ecx, 1
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x1248], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x127c], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d2c0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1244], eax
jb 0x1003659a
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d410
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12b8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 7
jmp case.default.0x10036405
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1244]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d2f0
mov dword [ebp - 0x1b0], eax
mov edx, dword [ebp - 0x1b0]
push edx
mov ecx, dword [ebp - 0x3c]
call fcn.10027ad0
mov dword [ebp - 0x1b4], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100365f5
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
mov byte [ebp - 4], 1
jmp case.default.0x10036405
jmp 0x10036617
mov dword [ebp - 4], 1
jmp 0x10036625
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003acc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003664b
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 0xc]
cmp ecx, 1
jne 0x10036679
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1034]
shr ecx, 1
and ecx, 1
je 0x10036679
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 7
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 2
jmp case.default.0x10036405
mov byte [ebp - 0x51], 1
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10032a00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100366b5
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100343c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100366db
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10033250
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036701
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10033470
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036727
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100331b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003674d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100335f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036773
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10033940
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x127c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
je 0x100367c1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x127c]
mov dword [eax + 0x1274], edx
mov eax, dword [ebp - 0x3c]
cmp dword [eax + 0x3c], 0xffffffff
je 0x100367c1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x127c]
mov dword [eax + 0x1278], edx
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1193]
cmp ecx, 1
jne 0x10036810
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xa
je 0x10036800
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
je 0x10036800
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x1e
je 0x10036800
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
jne 0x10036810
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x334], 0
jne 0x10036810
mov byte [ebp - 0x51], 0
movzx eax, byte [ebp - 0x51]
cmp eax, 1
jne 0x1003682b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 3
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x127c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10033b80
mov dword [ebp - 0x30], eax
push 0
mov eax, dword [ebp - 0x30]
push eax
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10034a50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10036881
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x128c], 0
jmp 0x1003691f
cmp dword [ebp - 0x18], 0x10000000
jne 0x100368f1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x100368dd
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x100368ab
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x100368dd
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
call sym.ADVMOT.dll_Acm_GetLastError
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
je 0x100368ce
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp 0x100368db
push 0x80000041
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp 0x100368ea
push 0x8000002a
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
cmp dword [ebp - 0x18], 0x81000210
jne 0x1003690e
push 0x81000210
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1270], 0
mov ecx, dword [ebp - 0x14]
call fcn.10034880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003694e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1288], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x128c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12e0], 0
je 0x10036a26
fldz
fstp qword [ebp - 0x88]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10033d40
fstp qword [ebp - 0x88]
mov byte [ebp - 4], 6
sub esp, 8
fld qword [ebp - 0x88]
fstp qword [esp]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x127c]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x12e0]
call eax
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov dword [ebp - 0x18], ecx
jmp 0x100369fa
mov dword [ebp - 4], 1
jmp 0x10036a08
cmp dword [ebp - 0x18], 0
je 0x10036a26
cmp dword [ebp - 0x18], 1
je 0x10036a26
push 0x81000229
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1193]
cmp ecx, 1
jne 0x10037875
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xa
je 0x10036a6d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
je 0x10036a6d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x1e
je 0x10036a6d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
jne 0x10037875
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x334], 0
jne 0x10037875
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12b8], 0
jne 0x10037875
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x10036c0f
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetPathStatus
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036ade
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x40]
mov word [eax + 0x50], cx
cmp dword [ebp - 0x1c], 0
jne 0x10036b67
movzx eax, word [ebp - 0x40]
cmp eax, 1
jne 0x10036b67
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetPathStatus
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036b49
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov cx, word [ebp - 0x40]
mov word [eax + 0x50], cx
movzx eax, word [ebp - 0x40]
cmp eax, 3
jne 0x10036b96
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
call sym.ADVMOT.dll_Acm_GetLastError
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
cmp dword [ebp - 0x1c], 0
jne 0x10036bd9
movzx eax, word [ebp - 0x40]
cmp eax, 1
jne 0x10036bd9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
je 0x10036bd9
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002fe00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036bd7
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x10036c0d
cmp dword [ebp - 0x1c], 0xc8
jb 0x10036c0d
movzx eax, word [ebp - 0x40]
cmp eax, 1
jne 0x10036c0d
mov ecx, dword [ebp - 0x14]
call fcn.10030a30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036c0d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x10036c88
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
je 0x10036c88
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002fe00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036c41
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x10036c88
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetPathStatus
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036c88
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
cmp dword [ebp - 0x20], 0
ja 0x10036cbb
cmp dword [ebp - 0x1c], 0
jbe 0x10036cbb
mov ecx, dword [ebp - 0x14]
call fcn.10030a30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036cb6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xa
jne 0x10036f67
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x10036ced
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10036dcf
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fsub qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10036ce4
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
test ecx, ecx
je 0x10036e3a
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 3
jne 0x10036e14
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10035b30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036e12
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x10036e3a
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10034fe0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036e3a
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10036e6e
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036e6e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10030530
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10036e94
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov dword [ebp - 0x24], 0
jmp 0x10036ea6
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10036f62
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10036e9d
jmp 0x10037797
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
je 0x10036f83
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x1e
jne 0x10037797
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x10036fa5
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037059
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10036f9c
mov dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
test ecx, ecx
jne 0x10037081
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 1
jmp 0x100370bd
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 1
jne 0x100370a0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 2
jmp 0x100370bd
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 2
jne 0x100370bd
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 2
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xa0]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0x98]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xb0]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xa8]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
test ecx, ecx
jne 0x100371fc
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
je 0x10037183
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x1003718b
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
je 0x100371e3
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x100371eb
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0xb8]
jmp 0x100372cf
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
cmp ecx, 1
jne 0x100372cf
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
je 0x1003725b
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10037263
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0xc0]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
je 0x100372bb
mov edx, dword [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x100372c3
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0xb8]
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 0x148]
test ecx, ecx
je 0x1003734d
mov eax, dword [ebp - 0x3c]
fld qword [eax + 0x150]
fstp qword [ebp - 0xd8]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x127c]
push eax
sub esp, 8
fld qword [ebp - 0xa8]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0xb0]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0x98]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0xa0]
fstp qword [esp]
mov ecx, dword [ebp - 0x3c]
sub esp, 8
fld qword [ecx + 0x150]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.1002fc90
jmp 0x100373a5
push 2
fld qword [ebp - 0xb0]
fsub qword [ebp - 0xc0]
sub esp, 8
fstp qword [esp]
call fcn.10029980
add esp, 0xc
push 2
fld qword [ebp - 0xa8]
fsub qword [ebp - 0xb8]
sub esp, 8
fstp qword [esp]
fstp qword [ebp - 0x1b4]
call fcn.10029980
add esp, 0xc
fadd qword [ebp - 0x1b4]
sub esp, 8
fstp qword [esp]
call fcn.10046d94
add esp, 8
fstp qword [ebp - 0xd8]
mov eax, dword [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0xc0]
fstp qword [eax]
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0xb8]
fstp qword [eax]
fld qword [ebp - 0xa0]
fsub qword [ebp - 0xc0]
fstp qword [ebp - 0xd0]
fld qword [ebp - 0x98]
fsub qword [ebp - 0xb8]
fstp qword [ebp - 0xc8]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
jne 0x10037415
mov dword [ebp - 0xdc], 0
lea eax, [ebp - 0xd0]
push eax
call fcn.10041a60
jmp 0x1003742b
mov dword [ebp - 0xdc], 1
lea eax, [ebp - 0xd0]
push eax
call fcn.10041aa0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0xd0]
fstp qword [eax]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0xc8]
fstp qword [eax]
fld qword [ebp - 0xb0]
fsub qword [ebp - 0xc0]
fstp qword [ebp - 0xd0]
fld qword [ebp - 0xa8]
fsub qword [ebp - 0xb8]
fstp qword [ebp - 0xc8]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
jne 0x1003749d
lea eax, [ebp - 0xd0]
push eax
call fcn.10041a60
jmp 0x100374a9
lea eax, [ebp - 0xd0]
push eax
call fcn.10041aa0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0xd0]
fstp qword [eax]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0xc8]
fstp qword [eax]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
test ecx, ecx
je 0x10037658
cmp dword [ebp - 0xdc], 0
jne 0x10037564
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 1
jne 0x10037519
mov eax, dword [ebp - 0x14]
fldz
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 0x41
je 0x1003753a
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 2
jne 0x10037562
mov eax, dword [ebp - 0x14]
fldz
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 5
jp 0x10037562
mov eax, dword [ebp - 0x14]
fld qword [ebp - 0xd8]
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 0x41
jp 0x10037562
push 0x81000233
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x100375d7
cmp dword [ebp - 0xdc], 1
jne 0x100375d7
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 1
jne 0x1003758e
mov eax, dword [ebp - 0x14]
fldz
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 5
jnp 0x100375af
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 2
jne 0x100375d7
mov eax, dword [ebp - 0x14]
fldz
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 0x41
jne 0x100375d7
mov eax, dword [ebp - 0x14]
fld qword [ebp - 0xd8]
fcomp qword [eax + 0x1228]
fnstsw ax
test ah, 0x41
jp 0x100375d7
push 0x81000233
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1194]
cmp ecx, 3
jne 0x1003760e
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10035b30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003760c
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x10037634
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10034fe0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10037634
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
push 0
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xb0]
push 1
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xa8]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x1003768c
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003768c
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [eax + 0x127c], 0x14
setne cl
movzx edx, cx
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.10030830
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100376c9
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov dword [ebp - 0x24], 0
jmp 0x100376db
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037797
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x100376d2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x123c]
cmp edx, dword [ecx + 0x126c]
jne 0x100377ec
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1268], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x126c], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x1270]
mov dword [eax + 0x1288], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x128c]
or ecx, 2
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128c], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
je 0x10037870
mov dword [ebp - 0x24], 0
jmp 0x1003780a
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037870
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
je 0x1003786e
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fsub qword [edi]
fstp qword [esi]
jmp 0x10037801
jmp 0x10039448
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x127c]
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 0x2da
ja 0x1003790c
cmp dword [ebp - 0x1b0], 0x2da
je 0x10039243
cmp dword [ebp - 0x1b0], 0x28
ja 0x100378d7
cmp dword [ebp - 0x1b0], 0x28
je 0x100388d6
cmp dword [ebp - 0x1b0], 0x1e
ja case.0x10037983.2
mov edx, dword [ebp - 0x1b0]
movzx eax, byte [edx + 0x1003a9dc]
jmp dword [eax*4 + 0x1003a9cc]
cmp dword [ebp - 0x1b0], 0x10e
je 0x10038c32
cmp dword [ebp - 0x1b0], 0x118
je 0x10038e12
cmp dword [ebp - 0x1b0], 0x122
je 0x100390b6
jmp case.0x10037983.2
cmp dword [ebp - 0x1b0], 0xc25
ja 0x1003795e
cmp dword [ebp - 0x1b0], 0xc24
jae 0x10038a16
mov ecx, dword [ebp - 0x1b0]
sub ecx, 0x2e4
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 0xb5
ja case.0x10037983.2
mov edx, dword [ebp - 0x1b0]
movzx eax, byte [edx + 0x1003aa34]
jmp dword [eax*4 + 0x1003a9fc]
mov ecx, dword [ebp - 0x1b0]
sub ecx, 0xc26
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 8
ja case.0x10037983.2
mov edx, dword [ebp - 0x1b0]
jmp dword [edx*4 + 0x1003aaec]
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x100379ac
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037a50
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x100379a3
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10037a84
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10037a84
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.10030cb0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x10037aa9
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037b65
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10037aa0
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x10037b8c
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037c6e
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fsub qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10037b83
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10037ca2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10037ca2
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x9c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10030e60
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x10037ccd
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037d89
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10037cc4
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x10037db0
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10037e64
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10037da7
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
test ecx, ecx
jne 0x1003806d
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xec]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xe4]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xfc]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
test ecx, ecx
jne 0x10037fa1
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10037f2e
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10037f36
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10037f88
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10037f90
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
jmp 0x10038068
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
cmp ecx, 1
jne 0x10038068
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10037ffa
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10038002
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038054
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x1003805c
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
jmp 0x1003847c
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 1
jne 0x10038277
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xec]
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xe4]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xfc]
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
test ecx, ecx
jne 0x100381ab
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038138
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10038140
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038192
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x1003819a
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
jmp 0x10038272
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
cmp ecx, 1
jne 0x10038272
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038204
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 1
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x1003820c
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x1003825e
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10038266
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
jmp 0x1003847c
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 2
jne 0x1003847c
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xec]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xe4]
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xfc]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [ebp - 0xf4]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
test ecx, ecx
jne 0x100383b5
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038342
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x1003834a
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x1003839c
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov esi, eax
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x100383a4
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
jmp 0x1003847c
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1192]
cmp ecx, 1
jne 0x1003847c
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x1003840e
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 2
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10038416
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x10c]
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
movzx eax, byte [eax]
test eax, eax
je 0x10038468
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xd4
call fcn.1001ce80
fld qword [eax + 8]
fadd qword [esi]
fstp qword [ebp - 0x1b4]
jmp 0x10038470
fldz
fstp qword [ebp - 0x1b4]
fld qword [ebp - 0x1b4]
fstp qword [ebp - 0x104]
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 0x148]
test ecx, ecx
je 0x100384e9
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x127c]
push eax
sub esp, 8
fld qword [ebp - 0xf4]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0xfc]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0xe4]
fstp qword [esp]
sub esp, 8
fld qword [ebp - 0xec]
fstp qword [esp]
mov ecx, dword [ebp - 0x3c]
sub esp, 8
fld qword [ecx + 0x150]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.1002fc90
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
test ecx, ecx
jne 0x1003851d
push 0
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x10c]
fstp qword [eax]
push 1
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x104]
fstp qword [eax]
jmp 0x10038585
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 1
jne 0x10038552
push 1
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x10c]
fstp qword [eax]
push 2
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x104]
fstp qword [eax]
jmp 0x10038585
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 2
jne 0x10038585
push 2
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x10c]
fstp qword [eax]
push 0
lea ecx, [ebp - 0x74]
call fcn.1001dd40
fld qword [ebp - 0x104]
fstp qword [eax]
fld qword [ebp - 0xec]
fsub qword [ebp - 0x10c]
fstp qword [ebp - 0x11c]
fld qword [ebp - 0xe4]
fsub qword [ebp - 0x104]
fstp qword [ebp - 0x114]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
jne 0x100385c3
lea eax, [ebp - 0x11c]
push eax
call fcn.10041a60
jmp 0x100385cf
lea eax, [ebp - 0x11c]
push eax
call fcn.10041aa0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
test ecx, ecx
jne 0x10038612
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
jmp 0x10038692
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 1
jne 0x10038653
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
jmp 0x10038692
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 2
jne 0x10038692
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
fld qword [ebp - 0xfc]
fsub qword [ebp - 0x10c]
fstp qword [ebp - 0x11c]
fld qword [ebp - 0xf4]
fsub qword [ebp - 0x104]
fstp qword [ebp - 0x114]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0x14
jne 0x100386d0
lea eax, [ebp - 0x11c]
push eax
call fcn.10041a60
jmp 0x100386dc
lea eax, [ebp - 0x11c]
push eax
call fcn.10041aa0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
test ecx, ecx
jne 0x1003871f
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
jmp 0x1003879f
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 1
jne 0x10038760
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
jmp 0x1003879f
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1190]
cmp ecx, 2
jne 0x1003879f
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x11c]
fstp qword [eax]
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [ebp - 0x114]
fstp qword [eax]
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x100387d3
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100387d3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
xor ecx, ecx
cmp dword [eax + 0x127c], 0x14
setne cl
movzx edx, cx
push edx
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x9c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10031240
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x10038815
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x100388d1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x1003880c
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
movzx ecx, byte [eax + 0x138]
cmp ecx, 1
jne 0x1003890a
mov eax, dword [ebp - 0x3c]
mov esi, dword [eax + 0x140]
imul esi, esi, 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, esi
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x12c4], eax
jmp 0x1003898d
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa4
call fcn.1001ce80
movzx eax, byte [eax]
cmp eax, 1
jne 0x1003897e
push 0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa4
call fcn.1001ce80
fld qword [eax + 8]
fmul qword [0x1007a150]
fnstcw word [ebp - 0x1ae]
movzx eax, word [ebp - 0x1ae]
or eax, 0xc00
mov dword [ebp - 0x1b4], eax
fldcw word [ebp - 0x1b4]
fistp qword [ebp - 0x1bc]
fldcw word [ebp - 0x1ae]
mov esi, dword [ebp - 0x1bc]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, esi
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x12c4], eax
jmp 0x1003898d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x12c4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12c4], 0
jne 0x100389a6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x128c]
or ecx, 4
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128c], ecx
jmp case.0x10037983.2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x12c4], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12c4], 0
jne 0x100389e8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c4], 1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x128c]
or ecx, 8
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128c], ecx
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10031da0
mov dword [ebp - 0x18], eax
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov dword [ebp - 0x24], 0
jmp 0x10038a38
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038adc
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10038a2f
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10038b10
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038b10
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.10031880
mov dword [ebp - 0x18], eax
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10031b10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x10038b49
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038c05
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10038b40
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10031c00
mov dword [ebp - 0x18], eax
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100321a0
mov dword [ebp - 0x18], eax
jmp case.0x10037983.2
mov dword [ebp - 0x24], 0
jmp 0x10038c44
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038cf8
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10038c3b
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10038d2c
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038d2c
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.10030a90
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x24], 0
jmp 0x10038d51
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038e0d
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10038d48
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10038e56
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038e56
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002fe00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038e70
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10030530
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038e8a
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f6a0
mov dword [ebp - 0x24], 0
jmp 0x10038eac
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038ec9
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10038ea3
mov dword [ebp - 0x24], 0
jmp 0x10038edb
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10038f7f
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
fld qword [eax]
fadd qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x64]
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fldz
fstp qword [eax]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fldz
fstp qword [eax]
jmp 0x10038ed2
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
test ecx, ecx
je 0x10038fb3
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10036160
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038fb3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10030530
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038fcd
jmp case.0x10037983.2
mov ecx, dword [ebp - 0x14]
call fcn.10030a30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10038fe3
jmp case.0x10037983.2
mov dword [ebp - 0x24], 0
jmp 0x10038ff5
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x100390b1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x10038fec
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002fe00
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100390e0
jmp case.0x10037983.2
mov ecx, dword [ebp - 0x14]
add ecx, 0x1198
call fcn.1003c110
movzx eax, al
test eax, eax
jne 0x10039109
mov eax, dword [ebp - 0x14]
add eax, 0x1198
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10030530
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039114
jmp case.0x10037983.2
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10030530
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003912e
jmp case.0x10037983.2
mov ecx, dword [ebp - 0x14]
call fcn.10030a30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039144
jmp case.0x10037983.2
mov dword [ebp - 0x24], 0
jmp 0x10039156
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10039212
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x103c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x107c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x104c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x108c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x105c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x109c
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x106c
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ac
call fcn.1001dd40
fld qword [eax]
fstp qword [esi]
jmp 0x1003914d
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1274], 0xa
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1278], 0xa
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 0
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12bc], 0
jne 0x10039292
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c0], 0
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.1002f440
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x9c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10030e60
mov dword [ebp - 0x18], eax
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12bc], 1
jmp case.0x10037983.2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12b8], 0
jne 0x10039415
lea ecx, [ebp - 0x120]
call fcn.1002aa40
mov eax, dword [ebp - 0x3c]
add eax, 0x80
push eax
lea ecx, [ebp - 0x1ac]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xc0
call fcn.1001dc10
mov edx, dword [eax]
mov dword [ebp - 0x120], edx
lea eax, [ebp - 0x1a8]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc0
call fcn.1002a590
push eax
lea ecx, [ebp - 0x120]
call fcn.1002aa60
movzx ecx, al
test ecx, ecx
je 0x100393f9
mov eax, dword [ebp - 0x3c]
add eax, 0x80
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xc0
call fcn.1003bd30
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d140
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12b8], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1244], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1248], 0
jmp case.0x10037983.2
mov dword [ebp - 0x18], 0x81000230
cmp dword [ebp - 0x18], 0
je 0x10039433
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x128c]
or ecx, 2
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x128c], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x128c], 0
je 0x10039466
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 5
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 6
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x12c4]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x1288]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x128c]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.10034a50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x100394b6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x128c], 0
jmp 0x100394f4
cmp dword [ebp - 0x18], 0x10000000
jne 0x100394c6
jmp case.default.0x10036405
cmp dword [ebp - 0x18], 0x81000210
jne 0x100394e3
push 0x81000210
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
call fcn.10034880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003951e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 1
je 0x10039537
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x330], 7
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xffffffff
je 0x100395f3
mov dword [ebp - 0x24], 0
jmp 0x10039559
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x100395f3
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0xa4
call fcn.1001ce80
movzx ecx, byte [eax]
test ecx, ecx
jne 0x100395ae
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xc27
je 0x100395ae
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xc2a
je 0x100395ae
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x127c], 0xc2c
jne 0x100395ee
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ec
call fcn.1001dd40
fld qword [eax]
fsub qword [edi]
fstp qword [esi]
jmp 0x10039550
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 6
jmp case.default.0x10036405
mov ecx, dword [ebp - 0x14]
call fcn.10034880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039627
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.10034580
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003964d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 7
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12b8], 1
jne 0x100396b3
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d2c0
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x1244], eax
jb 0x100396a1
mov ecx, dword [ebp - 0x14]
add ecx, 0xd0
call fcn.1001d410
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12b8], 0
jmp 0x100396b3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 1
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x334], 2
jne 0x100396d1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 2
jmp 0x10039914
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax + 0x123c]
cmp edx, dword [ecx + 0x9c]
jb 0x100396f7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 8
jmp 0x10039914
lea ecx, [ebp - 0x130]
call fcn.1002aa40
mov eax, dword [ebp - 0x14]
add eax, 0x1240
push eax
lea ecx, [ebp - 0x1a4]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x1028
call fcn.1001cee0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1028
call fcn.1001cea0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x19c]
push edx
call fcn.10022fc0
mov eax, dword [eax]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x334], 1
je 0x10039787
lea eax, [ebp - 0x198]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1028
call fcn.1001cee0
push eax
lea ecx, [ebp - 0x130]
call fcn.1002aa60
movzx ecx, al
test ecx, ecx
je 0x10039877
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x10039851
mov eax, 1
test eax, eax
je 0x10039851
mov ecx, dword [ebp - 0x14]
call fcn.10030a30
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100397c6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp 0x10039851
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x12c]
push eax
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetPathStatus
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x124], 0
jbe 0x10039825
mov eax, dword [ebp - 0x124]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1003b9a0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov dword [ecx + 0x374], edx
mov eax, dword [ebp - 0x124]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1003b9a0
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
cmp edx, dword [ecx + 0x123c]
jb 0x1003984c
jmp 0x10039851
jmp 0x10039797
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 5
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 1
je 0x10039877
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x330], 6
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 4
jne 0x100398ac
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 5
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 0
jmp 0x10039914
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 1
jne 0x100398c7
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 8
jmp 0x10039914
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 2
jne 0x100398e2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 8
jmp 0x10039914
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 5
jne 0x10039907
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 0
jmp 0x10039914
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 0
jmp case.default.0x10036405
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x1288]
push ecx
push 2
mov ecx, dword [ebp - 0x14]
call fcn.10034a50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10039947
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x128c], 0
jmp 0x10039985
cmp dword [ebp - 0x18], 0x10000000
jne 0x10039957
jmp case.default.0x10036405
cmp dword [ebp - 0x18], 0x81000210
jne 0x10039974
push 0x81000210
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 1
jne 0x100399a3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 1
jmp 0x10039d33
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1238], 4
jne 0x10039c45
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x14]
call fcn.10034880
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x100399dd
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov dword [ebp - 0x24], 0
jmp 0x100399ef
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10039ada
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
mov esi, eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x110c
call fcn.1001dd40
mov edi, eax
mov edx, dword [ebp - 0x24]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0x10ec
call fcn.1001dd40
fld qword [eax]
fsub qword [edi]
fstp qword [esi]
mov eax, dword [ebp - 0x24]
xor edx, edx
mov ecx, 6
div ecx
cmp edx, 2
jne 0x10039ad5
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
cmp ecx, 1
jne 0x10039a95
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x14]
fld qword [ecx]
fsub qword [edx + 0x1230]
mov eax, dword [ebp - 0x1b0]
fstp qword [eax]
jmp 0x10039ad5
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x1195]
cmp ecx, 2
jne 0x10039ad5
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x10fc
call fcn.1001dd40
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ebp - 0x14]
fld qword [ecx]
fadd qword [edx + 0x1230]
mov eax, dword [ebp - 0x1b0]
fstp qword [eax]
jmp 0x100399e6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x10039c21
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x10039c21
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x138]
push edx
lea eax, [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetPathStatus
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039b33
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
mov byte [ebp - 4], 8
cmp dword [ebp - 0x134], 0
jne 0x10039b89
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1002b580
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x1b0]
jae 0x10039b89
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1003b9a0
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1b0]
mov edx, dword [ecx]
mov dword [eax + 0x124c], edx
cmp dword [ebp - 0x134], 0
jbe 0x10039be3
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1002b580
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x1b0]
jae 0x10039be3
mov eax, dword [ebp - 0x134]
sub eax, 1
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1254
call fcn.1003b9a0
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1b0]
mov eax, dword [edx]
mov dword [ecx + 0x124c], eax
jmp 0x10039bf2
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
call sym.ADVMOT.dll_Acm_GpResetPath
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039c1f
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.default.0x10036405
jmp 0x10039c33
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x123c]
mov dword [eax + 0x124c], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 5
jmp 0x10039d33
mov dword [ebp - 0x24], 0
jmp 0x10039c57
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x10039cd9
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
cmp dword [eax], 0
je 0x10039cd4
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov edx, dword [eax]
push edx
call sym.ADVMOT.dll_Acm_AxGetState
mov dword [ebp - 0x18], eax
movzx eax, word [ebp - 0x40]
cmp eax, 7
je 0x10039ca6
movzx eax, word [ebp - 0x40]
cmp eax, 5
jne 0x10039cd4
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov ecx, dword [eax]
push ecx
call sym.ADVMOT.dll_Acm_AxStopEmg
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039cd4
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x10039cd9
jmp 0x10039c4e
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x10039d0d
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
call sym.ADVMOT.dll_Acm_GpClose
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039d03
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x4c], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x12c8], 1
jne 0x10039d26
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 0
jmp case.0x100363a7.4
push 6
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
jmp case.0x100363a7.4
push 5
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
jmp case.0x100363a7.4
push 0
mov ecx, dword [ebp - 0x14]
call fcn.1002ee00
mov byte [ebp - 0x35], 1
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 3
jne 0x10039d86
mov ecx, dword [ebp - 0x14]
call fcn.1002eed0
mov ecx, dword [ebp - 0x14]
call fcn.10034950
jmp 0x10039d8e
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.1002f090
test eax, eax
jne 0x1003a942
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1b0], eax
mov ecx, dword [ebp - 0x1b0]
sub ecx, 1
mov dword [ebp - 0x1b0], ecx
cmp dword [ebp - 0x1b0], 0xfe
ja case.0x10039ddf.8
mov edx, dword [ebp - 0x1b0]
movzx eax, byte [edx + 0x1003ab38]
jmp dword [eax*4 + 0x1003ab10]
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 1
jne 0x10039df7
jmp 0x10039f53
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 2
jne 0x10039e8a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x9c], 0
jbe 0x10039e85
mov eax, dword [ebp - 0x4c]
and eax, 0xffff0000
je 0x10039e39
mov eax, dword [ebp - 0x4c]
and eax, 0xffff
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002f3c0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x1240], eax
jmp 0x10039e45
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x1240], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x1240], 0xffffffff
jne 0x10039e5e
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1240], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp 0x10039f53
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 5
jne 0x10039f53
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x10039eb2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x10039ee0
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x11d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.100328b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039ede
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x10039f39
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 0
jne 0x10039efb
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
jmp 0x10039f39
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 3
jne 0x10039f16
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
jmp 0x10039f39
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x330], 6
mov ecx, 6
test ecx, ecx
je 0x10039f39
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 3
je 0x10039f74
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 5
jne 0x1003a190
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x1003a052
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039fad
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
movzx eax, word [ebp - 0x40]
cmp eax, 4
je 0x10039fd1
movzx eax, word [ebp - 0x40]
cmp eax, 5
je 0x10039fd1
movzx eax, word [ebp - 0x40]
cmp eax, 6
je 0x10039fd1
movzx eax, word [ebp - 0x40]
cmp eax, 7
jne 0x10039ff2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
call sym.ADVMOT.dll_Acm_GpStopEmg
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039ff2
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a01f
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
movzx eax, word [ebp - 0x40]
cmp eax, 1
jne 0x1003a052
mov eax, dword [ebp - 0x14]
add eax, 0x4c
push eax
call sym.ADVMOT.dll_Acm_GpResetPath
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a052
cmp dword [ebp - 0x18], 0x80000054
je 0x1003a052
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov dword [ebp - 0x24], 0
jmp 0x1003a064
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x1003a15c
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
cmp dword [eax], 0
je 0x1003a157
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 4
je 0x1003a12b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 5
je 0x1003a12b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 6
je 0x1003a12b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 7
je 0x1003a12b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 8
je 0x1003a12b
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x111c
call fcn.1003c2c0
movzx ecx, word [eax]
cmp ecx, 9
jne 0x1003a157
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov ecx, dword [eax]
push ecx
call sym.ADVMOT.dll_Acm_AxStopEmg
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a157
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a05b
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c8], 0
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 3
jne 0x1003a21a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x1003a1b9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x1003a1d8
mov ecx, dword [ebp - 0x14]
call fcn.10032780
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a1d6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a20d
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 0
je 0x1003a1f0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 3
jne 0x1003a20d
mov ecx, dword [ebp - 0x14]
call fcn.100327f0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a20d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 5
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 5
jne 0x1003a2c3
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x1003a247
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x1003a275
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x11d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.100328b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a273
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a2a9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 0
jne 0x1003a290
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
jmp 0x1003a2a9
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 3
jne 0x1003a2a9
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 4
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 2
jne 0x1003a319
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x9c], 0
jbe 0x1003a314
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1240], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp 0x1003a46a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 5
jne 0x1003a46a
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x1003a341
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x1003a372
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x11d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.100328b0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a36d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a450
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 0
jne 0x1003a418
mov dword [ebp - 0x24], 0
jmp 0x1003a394
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x1003a416
mov eax, dword [ebp - 0x14]
fld qword [eax + 0x1178]
fld qword [0x1007a028]
fucompp
fnstsw ax
test ah, 0x44
jnp 0x1003a3e5
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x1178]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.10032930
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a3e3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a411
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x11d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.10032930
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a411
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a38b
jmp 0x1003a450
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 3
jne 0x1003a450
mov eax, dword [ebp - 0x14]
sub esp, 8
fld qword [eax + 0x11d8]
fstp qword [esp]
mov ecx, dword [ebp - 0x14]
call fcn.10032930
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a450
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 1
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 6
je 0x1003a48b
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 2
jne 0x1003a5de
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x1003a4f0
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a4c6
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
movzx eax, word [ebp - 0x40]
cmp eax, 3
jne 0x1003a4de
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
call sym.ADVMOT.dll_Acm_GpResetError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a4f0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
mov dword [ebp - 0x24], 0
jmp 0x1003a502
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x1003a59d
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
cmp dword [eax], 0
je 0x1003a598
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov edx, dword [eax]
push edx
call sym.ADVMOT.dll_Acm_AxGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a55b
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
movzx eax, word [ebp - 0x40]
cmp eax, 3
jne 0x1003a586
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov ecx, dword [eax]
push ecx
call sym.ADVMOT.dll_Acm_AxResetError
mov dword [ebp - 0x18], eax
push 2
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x18], 0
je 0x1003a598
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a4f9
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12b8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1238], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12c8], 0
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 3
jne 0x1003a876
fldz
fstp qword [ebp - 0x148]
cmp dword [ebp - 0x50], 0
je 0x1003a612
mov eax, dword [ebp - 0x50]
fld qword [eax]
fdiv qword [0x10079c70]
fstp qword [ebp - 0x148]
fldz
fcomp qword [ebp - 0x148]
fnstsw ax
test ah, 0x41
jne 0x1003a626
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 4
je 0x1003a642
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 5
jne 0x1003a6c7
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x4c], 0
je 0x1003a6c2
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call sym.ADVMOT.dll_Acm_GpGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a678
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp case.0x10039ddf.8
movzx eax, word [ebp - 0x140]
cmp eax, 4
je 0x1003a690
movzx eax, word [ebp - 0x140]
cmp eax, 6
jne 0x1003a6c2
sub esp, 8
fld qword [ebp - 0x148]
fstp qword [esp]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x4c]
push ecx
call sym.ADVMOT.dll_Acm_GpChangeVel
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a6c2
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp case.0x10039ddf.8
jmp 0x1003a876
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 0
jne 0x1003a7a1
mov dword [ebp - 0x24], 0
jmp 0x1003a6e9
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x1003a79c
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
cmp dword [eax], 0
je 0x1003a797
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov edx, dword [eax]
push edx
call sym.ADVMOT.dll_Acm_AxGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a745
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a79c
movzx eax, word [ebp - 0x140]
cmp eax, 5
je 0x1003a75d
movzx eax, word [ebp - 0x140]
cmp eax, 6
jne 0x1003a797
sub esp, 8
fld qword [ebp - 0x148]
fstp qword [esp]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov ecx, dword [eax]
push ecx
call sym.ADVMOT.dll_Acm_AxChangeVel
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a797
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a79c
jmp 0x1003a6e0
jmp 0x1003a876
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x330], 3
jne 0x1003a876
mov dword [ebp - 0x24], 0
jmp 0x1003a7c3
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [eax + 0x54]
jae 0x1003a876
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
cmp dword [eax], 0
je 0x1003a871
lea eax, [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov edx, dword [eax]
push edx
call sym.ADVMOT.dll_Acm_AxGetState
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a81f
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a876
movzx eax, word [ebp - 0x140]
cmp eax, 5
je 0x1003a837
movzx eax, word [ebp - 0x140]
cmp eax, 6
jne 0x1003a871
sub esp, 8
fld qword [ebp - 0x148]
fstp qword [esp]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x3c
call fcn.1003b9a0
mov ecx, dword [eax]
push ecx
call sym.ADVMOT.dll_Acm_AxChangeVel
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a871
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1002ee30
jmp 0x1003a876
jmp 0x1003a7ba
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x328], 2
jne 0x1003a917
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 2
mov eax, dword [ebp - 0x14]
add eax, 0xe0
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.10027ad0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a8c0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003acc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1003a8e3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1003ac40
jmp case.0x10039ddf.8
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x12b8], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x334], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x32c], 2
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x328], 3
jmp case.0x10039ddf.8
mov byte [ebp - 0x35], 1
cmp dword [ebp - 0x50], 0
je 0x1003a942
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x194], eax
mov ecx, dword [ebp - 0x194]
push ecx
call fcn.10042f49
add esp, 4
mov dword [ebp - 0x50], 0
jmp 0x10036378
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x11], 0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x190], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.1003bfe0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x64]
call fcn.1003bfe0
mov eax, dword [ebp - 0x190]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret