Function at 0x4ea8f3
Capabilities:
Check for time delay via gettickcount
Set current directory

Disassembly:
mov eax, 0x5e9cb8
call fcn.00594e8c
sub esp, 0x114
push esi
push edi
mov dword [ebp - 0xd8], ecx
movzx eax, byte [0x836ae8]
cmp eax, 1
jne 0x4ea91c
jmp 0x4ec5c7
mov byte [0x836ae8], 1
mov byte [ebp - 0x36], 0
movzx eax, byte [0x7c3ea9]
test eax, eax
je 0x4ea936
mov byte [ebp - 0x36], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
sub eax, dword [0x836ae4]
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
fdiv qword [0x5f24f0]
fstp qword [0x836580]
mov eax, dword [ebp - 0x18]
mov dword [0x836ae4], eax
push 0
push 0x836a64
lea ecx, [ebp - 0x24]
call fcn.0058d9e1
and dword [ebp - 4], 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.0058d9aa
mov ecx, 0x836a9c
call fcn.00412e55
mov dword [ebp - 0x14], eax
and dword [ebp - 0x44], 0
jmp 0x4ea99f
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
mov ecx, 0x836a9c
call fcn.00412e55
cmp dword [ebp - 0x44], eax
jge 0x4eaa3f
push 0
push dword [ebp - 0x44]
mov ecx, 0x836a9c
call fcn.00485927
mov eax, dword [eax]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jne 0x4eaa3a
push dword [ebp - 0x44]
mov ecx, 0x836a9c
call fcn.00485927
mov eax, dword [eax]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x4eaa1a
push 1
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x9c]
call dword [eax + 4]
mov dword [ebp - 0xe0], eax
jmp 0x4eaa21
and dword [ebp - 0xe0], 0
push 1
push dword [ebp - 0x44]
mov ecx, 0x836a9c
call fcn.0048593d
mov ecx, 0x836a9c
call fcn.00412e64
jmp 0x4ea998
lea ecx, [ebp - 0x24]
call fcn.0058d9bf
cmp dword [0x836598], 0
je 0x4eaab2
push 0
mov eax, dword [0x836598]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jne 0x4eaab2
mov eax, dword [0x836598]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x4eaaa4
push 1
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xa4]
call dword [eax + 4]
mov dword [ebp - 0xe4], eax
jmp 0x4eaaab
and dword [ebp - 0xe4], 0
and dword [0x836598], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bbc9]
test eax, eax
je 0x4eaafc
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb59]
test eax, eax
jne 0x4eaafc
mov eax, dword [0x68385c]
movzx eax, byte [eax + 0x11bb60]
test eax, eax
je 0x4eaafc
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11bbc9], 0
mov ecx, dword [ebp - 0xd8]
call fcn.005061f1
mov ecx, dword [ebp - 0xd8]
call fcn.004f1777
mov ecx, dword [ebp - 0xd8]
call fcn.004ea778
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4eab9a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
and dword [ebp - 0xe8], 0
fild qword [ebp - 0xec]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x2ed860]
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2a9008], 0
jle 0x4eab67
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ed84c
call fcn.00414d78
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xf4], eax
and dword [ebp - 0xf0], 0
fild qword [ebp - 0xf4]
mov eax, dword [ebp - 0xd8]
fsub qword [eax + 0x2ed860]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x2ed860]
jmp 0x4eac0a
fild dword [0x6837d4]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x2ed860]
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2a9008], 0
jle 0x4eabcc
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ed84c
call fcn.00414d78
fild dword [0x6837d4]
mov eax, dword [ebp - 0xd8]
fsub qword [eax + 0x2ed860]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x2ed860]
fld1
fdiv qword [0x683850]
mov eax, dword [ebp - 0xd8]
fmul qword [eax + 0x2ed860]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x2ed860]
cmp dword [0x8364fc], 0
je 0x4eac32
push 0
push dword [0x8364fc]
push 0x111
mov ecx, dword [0x683868]
call fcn.00440f45
and dword [0x8364fc], 0
lea ecx, [ebp - 0x30]
call fcn.0046d21d
push dword [0x683cd0]
push dword [0x683ccc]
lea eax, [ebp - 0xb0]
push eax
mov ecx, 0x683cd4
call fcn.0041cff5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
push 0x6133f0
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d01b
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
mov byte [ebp - 4], 1
push dword [ebp - 0xfc]
mov ecx, dword [0x683868]
add ecx, 0x20b68
call fcn.0040b132
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.0040b121
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3ad8]
call fcn.00595bd0
cdq
push edx
push eax
lea ecx, [ebp - 0xbc]
call fcn.0041c9f2
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x2c], eax
push str._H:_M:_S
lea eax, [ebp - 0xc0]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d01b
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 2
push dword [ebp - 0x104]
mov ecx, dword [0x683868]
add ecx, 0x20b6c
call fcn.0040b132
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc0]
call fcn.0040b121
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2a0700
call fcn.0041f82c
movzx eax, al
test eax, eax
jne 0x4eadc5
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.External_Macro
call fcn.0040e04b
mov dword [ebp - 0x108], eax
mov byte [ebp - 4], 3
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xc8], esp
push 0x613417
call fcn.0040e04b
mov dword [ebp - 0x10c], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xd8]
add eax, 0x2a0700
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push eax
call fcn.0040b108
push 1
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0xd8]
call fcn.00514c8e
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2a0700
call fcn.0040b45c
mov eax, dword [ebp - 0xd8]
and dword [eax + 0x2ed3e8], 0
movzx eax, byte [0x683457]
test eax, eax
jne 0x4eadef
movzx eax, byte [0x682f00]
test eax, eax
je 0x4eadef
mov byte [0x683457], 1
mov eax, dword [ebp - 0xd8]
mov cl, byte [0x6835ae]
mov byte [eax + 0xc3738], cl
mov byte [ebp - 0x25], 0
and dword [ebp - 0x50], 0
jmp 0x4eae12
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 6
jge 0x4eae90
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682b21]
test eax, eax
je 0x4eae65
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682af4]
test eax, eax
jne 0x4eae65
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682af5]
test eax, eax
jne 0x4eae65
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
mov byte [eax + 0x682b20], 0
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
mov byte [eax + 0x682aec], 0
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682b20]
test eax, eax
jne 0x4eae87
mov eax, dword [ebp - 0x50]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682aec]
test eax, eax
je 0x4eae8b
mov byte [ebp - 0x25], 1
jmp 0x4eae0b
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2ed649]
test eax, eax
je 0x4eaefc
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2ed64a]
test eax, eax
je 0x4eaefc
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2ed654]
test eax, eax
je 0x4eaefc
cmp dword [0x6834c4], 0
jne 0x4eaefc
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2ed64a], 0
mov eax, dword [ebp - 0xd8]
push dword [eax + 0x2ed650]
mov eax, dword [ebp - 0xd8]
push dword [eax + 0x2ed64c]
mov ecx, dword [ebp - 0xd8]
call fcn.005020f1
movzx eax, byte [0x6835f8]
test eax, eax
jne 0x4eb059
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x110]
mov eax, dword [eax + 0x2462e8]
or eax, dword [ecx + 0x2462ec]
jne 0x4eb059
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x2462f4], 0
je 0x4eb059
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
je 0x4eb059
mov eax, dword [ebp - 0xd8]
movsx eax, word [eax + 0x86bf0]
mov ecx, dword [ebp - 0xd8]
movsx ecx, word [ecx + 0x86bf2]
cmp eax, ecx
jne 0x4eb059
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc3560]
cmp eax, dword [ecx + 0xc355c]
jne 0x4eb059
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4eb059
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4eb059
and dword [ebp - 0x54], 0
jmp 0x4eafd7
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 6
jge 0x4eb04c
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x2462f4]
mov ecx, dword [ebp - 0x54]
sar eax, cl
and eax, 1
je 0x4eb04a
mov eax, dword [ebp - 0xd8]
movsx eax, word [eax + 0x2a272e]
test eax, eax
jne 0x4eb01d
fild dword [ebp - 0x54]
push ecx
push ecx
fstp qword [esp]
push 0
push 0x31
mov ecx, dword [ebp - 0xd8]
call fcn.004fca93
jmp 0x4eb04a
mov eax, dword [ebp - 0xd8]
movsx eax, word [eax + 0x2a272e]
mov dword [ebp - 0x114], eax
fild dword [ebp - 0x114]
push ecx
push ecx
fstp qword [esp]
push 0
push 0x31
mov ecx, dword [ebp - 0xd8]
call fcn.004fca93
jmp 0x4eafd0
mov eax, dword [ebp - 0xd8]
and dword [eax + 0x2462f4], 0
movzx eax, byte [0x6835f8]
test eax, eax
jne 0x4eb15a
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
je 0x4eb15a
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
je 0x4eb15a
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0xc3cb0], 0
jne 0x4eb15a
mov eax, dword [ebp - 0xd8]
movsx eax, word [eax + 0x86bf0]
mov ecx, dword [ebp - 0xd8]
movsx ecx, word [ecx + 0x86bf2]
cmp eax, ecx
jne 0x4eb15a
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc3560]
cmp eax, dword [ecx + 0xc355c]
jne 0x4eb15a
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4eb15a
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4eb15a
movzx eax, byte [0x682abc]
test eax, eax
jne 0x4eb15a
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x118]
mov eax, dword [eax + 0x2462e8]
or eax, dword [ecx + 0x2462ec]
jne 0x4eb15a
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x4eb15a
movzx eax, byte [0x682abe]
test eax, eax
jne 0x4eb15a
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2462f8], 1
jmp 0x4eb167
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2462f8], 0
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4eb1c7
movzx eax, byte [0x6835ad]
test eax, eax
je 0x4eb1c7
mov byte [0x6835ad], 0
and dword [ebp - 0x58], 0
jmp 0x4eb196
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x12
jge 0x4eb1c7
mov eax, dword [ebp - 0x58]
shl eax, 4
movzx eax, byte [eax + 0x682d70]
test eax, eax
je 0x4eb1c5
mov eax, dword [ebp - 0x58]
shl eax, 4
movzx eax, byte [eax + 0x682d68]
test eax, eax
je 0x4eb1c5
mov byte [0x6835ad], 1
jmp 0x4eb18f
mov al, byte [0x682abc]
mov byte [ebp - 0xd], al
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
je 0x4eb21e
movzx eax, byte [0x682abc]
test eax, eax
je 0x4eb21e
mov byte [0x682abc], 0
and dword [ebp - 0x5c], 0
jmp 0x4eb1fe
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 6
jge 0x4eb21e
mov eax, dword [ebp - 0x5c]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682aec]
test eax, eax
je 0x4eb21c
mov byte [0x682abc], 1
jmp 0x4eb1f7
and dword [ebp - 0x60], 0
jmp 0x4eb22b
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
cmp eax, dword [0x683f58]
jge 0x4eb250
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax + 0x686f60]
test eax, eax
je 0x4eb24e
mov eax, dword [ebp - 0x60]
call dword [eax*4 + 0x684b60]
jmp 0x4eb224
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d8]
test eax, eax
je 0x4eb2a7
mov eax, dword [0x682a78]
mov dword [0x682a7c], eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd739
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004da62f
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2461d8], 0
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2462f0], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2462f0]
test eax, eax
je 0x4eb336
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x2462f0], 0
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3c18]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3c10]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3c08]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3c00]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3bf8]
push ecx
push ecx
fstp qword [esp]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3bf0]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
call fcn.004f1f03
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11f874], 0
je 0x4eb37c
movzx eax, byte [0x683457]
test eax, eax
jne 0x4eb37c
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x11f874]
mov ecx, dword [eax + 0x40]
call fcn.004bfc90
movsx eax, ax
test eax, eax
je 0x4eb37c
mov byte [0x683457], 1
mov dword [0x6835c8], 0xb
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2ed440]
test eax, eax
je 0x4eb3a8
movzx eax, byte [0x683720]
test eax, eax
je 0x4eb3a1
mov byte [0x6830f3], 1
jmp 0x4eb3a8
mov byte [0x6830f3], 0
movzx eax, byte [0x6837f8]
test eax, eax
je 0x4eb3d0
mov eax, dword [0x6837f4]
cmp eax, dword [0x6837f0]
jle 0x4eb3c9
mov byte [0x6830f8], 1
jmp 0x4eb3d0
mov byte [0x6830f8], 0
and dword [0x683448], 0
mov ecx, dword [ebp - 0xd8]
call fcn.00513104
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4eb432
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0xc3cad], 0
and dword [ebp - 0x64], 0
jmp 0x4eb40c
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 6
jge 0x4eb432
mov eax, dword [ebp - 0x64]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682aec]
test eax, eax
je 0x4eb430
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0xc3cad], 1
jmp 0x4eb405
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x8f480]
test eax, eax
je 0x4eb467
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x8f480], 0
push 0
push 0
push 0x2851
mov eax, dword [0x683868]
push dword [eax + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11f878]
test eax, eax
je 0x4eb4b7
fild dword [0x683814]
push ecx
push ecx
fstp qword [esp]
call fcn.0059603e
pop ecx
pop ecx
fsubr qword [0x683850]
fstp qword [ebp - 0x6c]
fild dword [0x68381c]
fcomp qword [ebp - 0x6c]
fnstsw ax
test ah, 0x41
jne 0x4eb4b7
mov byte [0x683811], 0
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11f878], 0
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 0xc
jge 0x4eb5cd
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x11cd8c]
inc eax
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0x11cd8c], eax
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd83]
test eax, eax
je 0x4eb50a
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 5
jne 0x4eb50a
mov byte [0x6830c1], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd84]
test eax, eax
je 0x4eb531
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 6
jne 0x4eb531
mov byte [0x6830c6], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd85]
test eax, eax
je 0x4eb558
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 7
jne 0x4eb558
mov byte [0x6830cb], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd86]
test eax, eax
je 0x4eb57f
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 8
jne 0x4eb57f
mov byte [0x6830d0], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd87]
test eax, eax
je 0x4eb5a6
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 9
jne 0x4eb5a6
mov byte [0x6830d5], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd88]
test eax, eax
je 0x4eb5cd
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11cd8c], 0xa
jne 0x4eb5cd
mov byte [0x6830da], 1
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11dda4]
test eax, eax
jne 0x4eb6ed
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd91]
mov ecx, dword [0x6881a4]
imul ecx, ecx, 0x58
mov edx, dword [ebp - 0xd8]
movzx ecx, byte [edx + ecx + 0x89bdc]
cmp eax, ecx
je 0x4eb6ed
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4eb630
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
jne 0x4eb65e
mov ecx, dword [ebp - 0xd8]
call fcn.0050ab06
mov ecx, dword [ebp - 0xd8]
call fcn.0050aac8
mov byte [0x836ae8], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004bc060
jmp 0x4ec5c7
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd91]
test eax, eax
je 0x4eb67c
mov ecx, dword [ebp - 0xd8]
call fcn.004ea588
jmp 0x4eb687
mov ecx, dword [ebp - 0xd8]
call fcn.004ea64d
movzx eax, byte [0x6834cc]
mov ecx, dword [ebp - 0xd8]
movzx ecx, byte [ecx + 0x11cd91]
cmp eax, ecx
jne 0x4eb6b4
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd90]
mov dword [ebp - 0x11c], eax
jmp 0x4eb6cc
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11cd90]
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x11c], eax
mov eax, dword [0x6881a4]
imul eax, eax, 0x58
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd8]
mov al, byte [edx + eax + 0x89bdc]
mov byte [ecx + 0x11cd91], al
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc00]
fsub qword [0x6a5c10]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80bc0]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc08]
fsub qword [0x6a5c18]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80bc8]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc10]
fsub qword [0x6a5c20]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80bd0]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc18]
fsub qword [0x6a5c28]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80bd8]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc20]
fsub qword [0x6a5c30]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80be0]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc28]
fsub qword [0x6a5c38]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x80be8]
mov eax, dword [0x836ae0]
inc eax
mov dword [0x836ae0], eax
cmp dword [0x836ae0], 0x1388
jle 0x4eb7f1
movzx eax, byte [0x65a4f8]
test eax, eax
je 0x4eb7f1
movzx eax, byte [0x65aa75]
test eax, eax
jne 0x4eb7f1
and dword [0x836ae0], 0
mov byte [0x682ad0], 0x12
mov byte [0x682b30], 0x11
mov byte [0x682b90], 0
mov byte [0x682bf0], 0x10
mov ecx, dword [ebp - 0xd8]
call fcn.004ea4f3
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11f86d]
test eax, eax
jne 0x4eb86b
movzx eax, byte [0x683457]
test eax, eax
je 0x4eb86b
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x613418
lea ecx, [ebp - 0x70]
call fcn.0040e04b
mov byte [ebp - 4], 5
push 1
lea eax, [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0xd8]
call fcn.004fe8ec
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11f86d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.0040b121
and dword [0x683448], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb1c]
test eax, eax
je 0x4eb8ae
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a7c]
jne 0x4eb8ae
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4eb8ae
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11df10], 0
movzx eax, byte [0x683864]
test eax, eax
je 0x4eb8c4
mov ecx, dword [ebp - 0xd8]
call fcn.00512ac1
movzx eax, byte [0x8063f1]
test eax, eax
je 0x4eb98e
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4eb98e
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4eb98e
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11f86a]
test eax, eax
je 0x4eb915
mov ecx, dword [ebp - 0xd8]
call fcn.004fe4df
mov dword [ebp - 0x74], 1
mov ecx, dword [ebp - 0xd8]
call fcn.004f792f
movzx eax, byte [0x8063f0]
test eax, eax
jne 0x4eb96a
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0x11f830]
mov dword [0x6834dc], eax
mov eax, dword [0x6834dc]
mov dword [0x6834e0], eax
mov esi, dword [ebp - 0xd8]
add esi, 0x11f838
mov edi, dword [ebp - 0xd8]
add edi, 0x2ec1d0
push 0xc
pop ecx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
inc eax
je 0x4eb987
push dword [0x6834e0]
mov ecx, dword [ebp - 0xd8]
call fcn.005069ff
mov byte [0x6a5c49], 0
mov byte [0x8063f1], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bbf4]
test eax, eax
je 0x4eb9d3
movzx eax, byte [0x6830f4]
test eax, eax
je 0x4eb9d3
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11dc50]
fcomp qword [0x5f0c90]
fnstsw ax
test ah, 0x41
jne 0x4eb9cc
mov byte [0x6830f8], 1
jmp 0x4eb9d3
mov byte [0x6830f8], 0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x11f580
call fcn.0047bdf8
mov ecx, dword [ebp - 0xd8]
call fcn.0050aac8
mov ecx, dword [ebp - 0xd8]
call fcn.004e4e4c
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11f00e]
test eax, eax
je 0x4eba34
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11f00d]
test eax, eax
jne 0x4eba34
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11f00e], 0
mov ecx, dword [ebp - 0xd8]
call fcn.0051018e
mov ecx, dword [ebp - 0xd8]
add ecx, 0x11f090
call fcn.004c1c64
mov ecx, dword [ebp - 0xd8]
call fcn.004ea1be
movzx eax, byte [0x683457]
test eax, eax
je 0x4eba73
push str.........Press_Reset_...._Emergency_Mode_Active......
mov ecx, dword [ebp - 0xd8]
add ecx, 0x11c508
call fcn.0040b14b
jmp 0x4eba89
push 0x61345c
mov ecx, dword [ebp - 0xd8]
add ecx, 0x11c508
call fcn.0040b14b
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3ab8]
fdiv qword [0x5f4e58]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x8f468]
fmul qword [0x5f55f0]
fmulp st(1)
call fcn.00595bd0
mov dword [0x6837f4], eax
mov ecx, dword [ebp - 0xd8]
call fcn.0051044c
movzx eax, byte [0x6836f8]
test eax, eax
je 0x4ebafa
cmp dword [0x6834d4], 0
je 0x4ebae3
mov ecx, dword [ebp - 0xd8]
call fcn.005083e3
push str.Softlimits_System_Movement_Aborted
mov ecx, dword [ebp - 0xd8]
call fcn.004ef240
mov byte [0x6836f8], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb1c]
test eax, eax
je 0x4ebb29
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4ebb29
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11e03c], 0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11e03c]
test eax, eax
je 0x4ebb56
lea eax, [ebp - 0xd4]
push eax
call fcn.0046d201
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [0x683cd4], ecx
mov dword [0x683cd8], eax
mov ecx, dword [ebp - 0xd8]
call fcn.0050ab06
mov ecx, dword [ebp - 0xd8]
call fcn.00502c3c
mov ecx, dword [ebp - 0xd8]
call fcn.004ea1be
mov ecx, dword [ebp - 0xd8]
call fcn.0050c0a1
movzx eax, byte [0x682ac1]
test eax, eax
je 0x4ebba5
mov byte [0x836ae8], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004bc060
jmp 0x4ec5c7
cmp dword [0x836420], 0
jne 0x4ebbe7
movzx eax, byte [0x683457]
test eax, eax
je 0x4ebbc0
mov byte [0x682abe], 0
movzx eax, byte [0x682abe]
test eax, eax
je 0x4ebbdc
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb59]
test eax, eax
je 0x4ebbe7
mov ecx, dword [ebp - 0xd8]
call fcn.005093ac
and dword [ebp - 0x78], 0
jmp 0x4ebbf4
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 6
jge 0x4ebc3c
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682aec]
test eax, eax
jne 0x4ebc3a
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682af4]
test eax, eax
jne 0x4ebc3a
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682af5]
test eax, eax
jne 0x4ebc3a
mov eax, dword [ebp - 0x78]
imul eax, eax, 0x60
mov byte [eax + 0x682aea], 0
jmp 0x4ebbed
movzx eax, byte [0x682abb]
test eax, eax
je 0x4ebd3d
mov eax, dword [ebp - 0xd8]
and dword [eax + 0x11bb00], 0
mov eax, dword [ebp - 0xd8]
and dword [eax + 0xc3cb0], 0
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x11e03c], 0
mov dword [0x68822c], 1
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x80a80], 0
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4ebc9f
cmp dword [0x6834d4], 0
je 0x4ebcaf
mov ecx, dword [ebp - 0xd8]
call fcn.005083e3
jmp 0x4ebd3d
and dword [ebp - 0x7c], 0
jmp 0x4ebcbc
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 6
jge 0x4ebd00
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682aec]
test eax, eax
je 0x4ebce0
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x60
mov byte [eax + 0x682aea], 1
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x60
movzx eax, byte [eax + 0x682af4]
test eax, eax
je 0x4ebcfe
mov eax, dword [ebp - 0x7c]
imul eax, eax, 0x60
mov byte [eax + 0x682af4], 0
jmp 0x4ebcb5
mov byte [0x682abe], 1
mov byte [0x682abb], 0
mov eax, dword [0x682a78]
mov dword [0x682a7c], eax
mov eax, dword [ebp - 0xd8]
and dword [eax + 0x11baf8], 0
mov eax, dword [ebp - 0xd8]
and dword [eax + 0x11bafc], 0
mov ecx, dword [ebp - 0xd8]
call fcn.004f792f
movzx eax, byte [0x683457]
test eax, eax
je 0x4ebdf6
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb59]
test eax, eax
jne 0x4ebdf6
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd739
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004da62f
mov eax, dword [0x682a7c]
mov dword [0x682a78], eax
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0xc3bd5], 0
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0xc3bc8], 0
and dword [0x6834d4], 0
mov byte [0x682abe], 1
and dword [0x6a5bc0], 0
and dword [ebp - 0x80], 0
jmp 0x4ebdc9
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0x1e
jge 0x4ebdde
mov eax, dword [ebp - 0x80]
imul eax, eax, 5
mov byte [eax + 0x6830bc], 0
jmp 0x4ebdc2
mov byte [0x836ae8], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004bc060
jmp 0x4ec5c7
mov ecx, dword [ebp - 0xd8]
add ecx, 0x11f090
call fcn.004c3367
mov ecx, dword [ebp - 0xd8]
mov byte [ecx + 0x2a272d], al
mov ecx, dword [ebp - 0xd8]
call fcn.00514143
mov byte [0x836425], al
movzx eax, byte [0x683720]
test eax, eax
jne 0x4ebe6c
movzx eax, byte [0x6a5c4a]
test eax, eax
je 0x4ebe67
movzx eax, byte [0x682e88]
test eax, eax
je 0x4ebe67
movzx eax, byte [0x682e90]
test eax, eax
je 0x4ebe67
mov byte [0x836ae8], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004bc060
jmp 0x4ec5c7
jmp 0x4ebf8a
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2a272d]
test eax, eax
je 0x4ebf64
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0xc3738]
test eax, eax
jne 0x4ebf64
mov byte [ebp - 0x81], 0
movzx eax, byte [0x682f10]
test eax, eax
jne 0x4ebeeb
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
jne 0x4ebeeb
fld qword [0x836ad8]
fadd qword [0x5f9658]
fstp qword [0x836ad8]
fld qword [0x836ad8]
fcomp qword [0x836568]
fnstsw ax
test ah, 1
jne 0x4ebee9
mov byte [ebp - 0x81], 1
jmp 0x4ebef3
fldz
fstp qword [0x836ad8]
movzx eax, byte [0x682f10]
test eax, eax
jne 0x4ebf31
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
jne 0x4ebf31
movzx eax, byte [ebp - 0x81]
test eax, eax
je 0x4ebf31
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd60c
jmp 0x4ebf62
movzx eax, byte [0x682f10]
test eax, eax
je 0x4ebf62
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
je 0x4ebf62
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd6b5
jmp 0x4ebf8a
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
je 0x4ebf8a
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd6b5
movzx eax, byte [0x682abe]
test eax, eax
je 0x4ebfcf
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x11bb59]
test eax, eax
jne 0x4ebfcf
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4ebfcf
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4ebfcf
mov ecx, dword [ebp - 0xd8]
call fcn.004f792f
mov eax, dword [ebp - 0xd8]
and dword [eax + 0xc3580], 0
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
dec eax
neg eax
sbb eax, eax
inc eax
mov byte [ebp - 0x35], al
mov dword [ebp - 0x40], 0xfa0
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x8f372]
test eax, eax
jne 0x4ec0a7
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x11bb40]
fdiv qword [0x5f4e58]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004da921
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x58]
test eax, eax
je 0x4ec05d
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x11bb40]
fstp qword [eax + 0x50]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x50]
fcomp qword [0x5f4e58]
fnstsw ax
test ah, 0x41
jne 0x4ec082
mov eax, dword [ebp - 0xd8]
fld qword [0x5f4e58]
fstp qword [eax + 0x50]
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0x50]
fdiv qword [0x5f4e58]
push ecx
push ecx
fstp qword [esp]
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004daa6a
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd911
test eax, eax
je 0x4ec36d
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
jne 0x4ec36d
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d8]
test eax, eax
jne 0x4ec36d
cmp dword [0x836420], 0
jne 0x4ec36d
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f498]
fstp qword [eax + 0x11f040]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f4a0]
fstp qword [eax + 0x11f048]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f4a8]
fstp qword [eax + 0x11f050]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f4b0]
fstp qword [eax + 0x11f058]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f4b8]
fstp qword [eax + 0x11f060]
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
fld qword [ecx + 0x8f4c0]
fstp qword [eax + 0x11f068]
and dword [ebp - 0x88], 0
jmp 0x4ec1a1
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x40]
jge 0x4ec351
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dac18
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
je 0x4ec1e1
jmp 0x4ec351
movzx eax, byte [0x683720]
test eax, eax
je 0x4ec217
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd85a
test eax, eax
je 0x4ec217
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dc0ac
jmp 0x4ec351
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d8]
test eax, eax
je 0x4ec22d
jmp 0x4ec351
mov eax, dword [0x682a7c]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4ec274
mov ecx, dword [ebp - 0xd8]
call fcn.004ec5d5
mov ecx, dword [ebp - 0xd8]
cmp eax, dword [ecx + 0x29e368]
jle 0x4ec272
jmp 0x4ec351
jmp 0x4ec28d
mov eax, dword [ebp - 0x8c]
inc eax
and eax, 0xfff
cmp eax, dword [0x682a78]
jne 0x4ec28d
jmp 0x4ec351
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc3580]
inc eax
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0xc3580], eax
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
je 0x4ec2cc
lea eax, [ebp - 0x94]
push eax
push 0
mov ecx, dword [ebp - 0xd8]
call fcn.004edc88
jmp 0x4ec2e0
lea eax, [ebp - 0x94]
push eax
push 0
mov ecx, dword [ebp - 0xd8]
call fcn.004ef185
movzx eax, byte [0x6835ae]
test eax, eax
je 0x4ec31b
mov eax, dword [ebp - 0xd8]
movsx eax, word [eax + 0x246356]
cmp eax, 2
je 0x4ec31b
mov eax, dword [ebp - 0xd8]
fld qword [eax + 0xc3ad8]
fadd qword [0x616510]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0xc3ad8]
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
test eax, eax
je 0x4ec33f
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x29e358], 1
jmp 0x4ec34c
mov eax, dword [ebp - 0xd8]
mov byte [eax + 0x29e358], 0
jmp 0x4ec194
mov ecx, dword [ebp - 0xd8]
call fcn.004ec5d5
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x34], eax
jmp 0x4ec506
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0x11f030], 2
jne 0x4ec3ec
and dword [ebp - 0x98], 0
jmp 0x4ec392
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp eax, dword [ebp - 0x40]
jge 0x4ec3ec
mov eax, dword [0x683868]
movzx eax, byte [eax + 0x20b30]
test eax, eax
jne 0x4ec3ca
mov ecx, dword [ebp - 0xd8]
call fcn.004ec5d5
mov ecx, dword [ebp - 0xd8]
cmp eax, dword [ecx + 0x29e368]
jle 0x4ec3c8
jmp 0x4ec3ec
jmp 0x4ec3df
mov eax, dword [0x682a7c]
inc eax
and eax, 0xfff
cmp eax, dword [0x682a78]
jne 0x4ec3df
jmp 0x4ec3ec
mov ecx, dword [ebp - 0xd8]
call fcn.004edc7d
jmp 0x4ec385
mov eax, dword [ebp - 0xd8]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc3560]
cmp eax, dword [ecx + 0xc355c]
je 0x4ec506
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4ec506
mov eax, dword [ebp - 0xd8]
movzx eax, byte [eax + 0x2461d0]
test eax, eax
je 0x4ec506
cmp dword [0x6834d4], 2
je 0x4ec506
cmp dword [0x6834c4], 0
jne 0x4ec506
movzx eax, byte [0x682aec]
test eax, eax
je 0x4ec464
movzx eax, byte [0x682aeb]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x682b4c]
test eax, eax
je 0x4ec47e
movzx eax, byte [0x682b4b]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x682bac]
test eax, eax
je 0x4ec494
movzx eax, byte [0x682bab]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x682c0c]
test eax, eax
je 0x4ec4aa
movzx eax, byte [0x682c0b]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x682c6c]
test eax, eax
je 0x4ec4c0
movzx eax, byte [0x682c6b]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x682ccc]
test eax, eax
je 0x4ec4d6
movzx eax, byte [0x682ccb]
test eax, eax
jne 0x4ec506
movzx eax, byte [0x6835f8]
cmp eax, 1
je 0x4ec506
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 0xc355c]
mov ecx, dword [ebp - 0xd8]
push dword [ecx + eax*4 + 0xbf558]
mov ecx, dword [ebp - 0xd8]
call fcn.004fb5ae
mov eax, dword [ebp - 0xd8]
fild dword [eax + 0xc3580]
fidiv dword [ebp - 0x40]
fmul qword [0x5f4e58]
mov eax, dword [ebp - 0xd8]
fstp qword [eax + 0x11bb68]
mov ecx, dword [ebp - 0xd8]
add ecx, 0x2ab368
call fcn.004dd838
cmp eax, 1
jne 0x4ec556
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4ec556
mov dword [ebp - 0x120], 1
jmp 0x4ec55d
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0xd8]
mov cl, byte [ebp - 0x120]
mov byte [eax + 0x29e7b8], cl
mov eax, dword [0x836ad0]
inc eax
mov dword [0x836ad0], eax
mov eax, dword [0x836ad0]
and eax, 0x100
je 0x4ec5a5
mov eax, dword [0x682a7c]
cmp eax, dword [0x682a78]
jne 0x4ec5a5
and dword [0x836ad0], 0
mov ecx, dword [ebp - 0xd8]
call fcn.005142df
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x4ec5b4
mov byte [0x7c3ea9], 0
mov byte [0x836ae8], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004bc060
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret