Function at 0x417e90
Capabilities:
Check for foreground window switch
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x465443
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a770]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x130]
xor eax, eax
mov dword [esp + 0x124], eax
push eax
mov byte [esp + 0x23], al
mov dword [esp + 0x98], eax
call fcn.0044bf56
add esp, 4
push eax
call fcn.0044bf22
add esp, 4
call fcn.0044bf34
cdq
idiv dword [0x480c2c]
mov dword [esp + 0x88], edx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x134]
mov esi, dword [esp + 0x12c]
push eax
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x1c], esp
mov dword [esp + 0x20], esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x417f4f
cmp eax, dword [esi]
jne 0x417f4f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x417f83
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x419c74
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0044b46f
add esp, 0x10
mov edx, dword [esp + 0x20]
add edi, 0x10
mov ecx, ebp
mov dword [edx], edi
call fcn.00408690
mov esi, dword [esp + 0x134]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
add esi, 0xfffffff0
add esp, 4
mov dword [esp + 0x18], esp
mov dword [esp + 0x1c], esp
call edx
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x417fcc
cmp eax, dword [esi]
jne 0x417fcc
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x418000
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
test edi, edi
je 0x419c74
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
inc eax
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0044b46f
add esp, 0x10
mov edx, dword [esp + 0x1c]
add edi, 0x10
mov dword [edx], edi
mov edi, ebp
call fcn.00407850
mov eax, dword [0x47baf4]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
add esp, 4
lea ecx, [esp + 0x8c]
push ecx
push ebp
mov dword [esp + 0x20], eax
call esi
mov edx, dword [esp + 0x8c]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x50], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esp + 0x18]
mov edi, eax
lea eax, [esp + 0x108]
push eax
push 4
lea ecx, [esp + 0x4c]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x47baf8]
lea ecx, [esp + 0x9c]
push ecx
push ebp
mov dword [esp + 0x20], eax
call esi
mov edx, dword [esp + 0x9c]
push edx
push 0
push 0x1fffff
mov dword [esp + 0x44], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edx, dword [esp + 0x18]
mov edi, eax
lea eax, [esp + 0x100]
push eax
push 4
lea ecx, [esp + 0x40]
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x44], 0
jne case.0x4182ec.1002
cmp dword [esp + 0x38], 0x457
jne case.0x4182ec.1002
mov eax, dword [0x480c28]
push eax
call ebx
push 0
call fcn.0044bf56
add esp, 4
push eax
call fcn.0044bf22
add esp, 4
call fcn.0044bf34
mov ecx, dword [0x480c2c]
cdq
idiv ecx
mov eax, ecx
mov edi, edx
cdq
sub eax, edx
sar eax, 1
sub eax, edi
mov dword [esp + 0x20], eax
call fcn.0044bf34
mov ecx, dword [0x480c2c]
cdq
idiv ecx
mov eax, ecx
mov edi, edx
cdq
sub eax, edx
sar eax, 1
sub eax, edi
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
push eax
call fcn.00429de0
mov ecx, dword [0x47bb0c]
add esp, 4
lea edx, [esp + 0x90]
push edx
push ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0x90]
push eax
push 0
push 0x1fffff
mov dword [esp + 0x4c], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x10c]
push ecx
push 4
mov edi, eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x48]
push edx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x40]
lea edx, [esp + 0x98]
push edx
push ebp
mov dword [esp + 0x20], ecx
call esi
mov eax, dword [esp + 0x98]
push eax
push 0
push 0x1fffff
mov dword [esp + 0x48], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 0x104]
push ecx
mov edi, eax
mov eax, dword [esp + 0x1c]
push 4
lea edx, [esp + 0x44]
push edx
add eax, 0x1ec
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41821c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov esi, ebp
lea edi, [esp + 0x2c]
call fcn.004045c0
mov edi, dword [esp + 0x2c]
add esp, 4
cmp dword [esp + 0x30], edi
jne 0x4182d1
mov esi, dword [esp + 0x20]
add esi, 0x13e
cmp dword [esp + 0x18], 0x456
jne 0x418296
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x12c]
add ecx, 0x133
push ecx
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
call fcn.00429de0
mov edx, dword [esp + 0x20]
add eax, 0x10
mov dword [edx], eax
jmp 0x4182c2
mov eax, dword [esp + 0x24]
add eax, 0xe3
push eax
mov eax, dword [esp + 0x130]
push ecx
mov dword [esp + 0x1c], esp
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
push eax
call fcn.00429de0
mov ecx, dword [esp + 0x20]
add eax, 0x10
mov dword [ecx], eax
add esp, 4
mov ecx, esi
mov edx, ebp
call fcn.004062f0
add esp, 8
mov eax, dword [esp + 0x18]
add eax, 0xfffffc17
cmp eax, 0xac
ja case.0x4182ec.1002
movzx edx, byte [eax + 0x419ca0]
jmp dword [edx*4 + 0x419c7c]
mov eax, dword [0x480c2c]
cdq
sub eax, edx
sar eax, 1
cmp dword [esp + 0x88], eax
jle 0x4184b1
cmp edi, 9
jle 0x4183bd
cmp dword [esp + 0x2c], 0xa
jle 0x4183bd
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.0044bf34
cmp edi, 0xf
jge 0x41833c
mov eax, 0xf
sub eax, edi
lea esi, [eax + eax*4]
add esi, esi
add esi, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xd
jge 0x418355
mov eax, 0xc
sub eax, ecx
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
jmp 0x418359
mov eax, dword [esp + 0x14]
cmp edi, 0x21
jle 0x41836c
mov esi, 0x21
sub esi, edi
lea esi, [esi + esi*4]
add esi, esi
add esi, esi
lea edx, [edi + edi*4]
add edx, edx
add edx, edx
lea ecx, [ecx + ecx*4 + 0x23]
mov edi, 0x34d
sub edi, edx
push 0x5a
push ecx
lea edx, [eax + ecx*4]
sub edi, esi
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], esp
call fcn.00403870
mov esi, ebp
call fcn.00405540
push 0x32
call ebx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
add ecx, eax
push ecx
add edi, edx
jmp 0x418565
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add eax, 0x1ae
push eax
push ecx
lea eax, [esp + 0x134]
mov esi, esp
add edi, 0xd6
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
xor edi, edi
push 0xc8
call ebx
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x3e9
je 0x41842f
inc edi
cmp edi, 7
jle 0x4183f2
mov dword [esp + 0x18], 0
push 0xc8
call ebx
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
push eax
call fcn.00429de0
mov ecx, dword [0x47bb0c]
add esp, 4
mov esi, eax
push ecx
mov ecx, ebp
add esi, 0x10
call fcn.0042bd60
add eax, 0x1ec
push eax
mov ecx, ebp
call fcn.0042bd60
mov edi, eax
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41848f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0x3e9
je 0x4184a5
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 7
mov dword [esp + 0x18], eax
jle 0x418437
push 0xc8
call ebx
jmp case.0x4182ec.1002
cmp edi, 0xd
jle 0x418590
cmp dword [esp + 0x2c], 0xb
jge 0x418590
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.0044bf34
cmp edi, 0xf
jge 0x4184e3
mov eax, 0xf
sub eax, edi
lea esi, [eax + eax*4]
add esi, esi
add esi, esi
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xd
jge 0x4184fe
mov eax, 0xc
sub eax, ecx
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x18], eax
cmp edi, 0x21
jle 0x418511
mov eax, 0x21
sub eax, edi
lea esi, [eax + eax*4]
add esi, esi
add esi, esi
mov eax, dword [esp + 0x2c]
lea ecx, [edi + edi*4]
add ecx, ecx
lea edx, [eax + eax*4 - 0xa]
mov eax, dword [esp + 0x18]
add ecx, ecx
mov edi, 0x20d
sub edi, ecx
lea ecx, [eax + edx*4]
push 0x5a
push ecx
sub edi, esi
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esp
call fcn.00403870
mov esi, ebp
call fcn.00405540
push 0x32
call ebx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add eax, edx
push eax
add edi, ecx
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x4b0
call ebx
jmp case.0x4182ec.1002
mov edx, dword [esp + 0x24]
add edx, 0xe6
push edx
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, dword [esp + 0x28]
mov edx, ebp
call fcn.004062f0
add esp, 8
xor edi, edi
mov edi, edi
push 0xc8
call ebx
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x3e9
je 0x4185fd
inc edi
cmp edi, 7
jle 0x4185c0
mov dword [esp + 0x18], 0
push 0xc8
call ebx
mov eax, dword [esp + 0x12c]
add eax, 0xfffffff0
push eax
call fcn.00429de0
mov esi, eax
mov eax, dword [0x47bb0c]
add esp, 4
push eax
mov ecx, ebp
add esi, 0x10
call fcn.0042bd60
add eax, 0x1ec
push eax
mov ecx, ebp
call fcn.0042bd60
mov edi, eax
lea eax, [esi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41865c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, 0x3e9
je 0x418672
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 7
mov dword [esp + 0x18], eax
jle 0x418605
push 0xc8
call ebx
jmp case.0x4182ec.1002
lea ecx, [edi - 0x111]
cmp ecx, 0xf
ja 0x418962
mov edx, dword [esp + 0x2c]
add edx, 0xffffffdd
cmp edx, 0x14
ja 0x418962
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea eax, [esp + 0xe4]
push eax
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x4187eb
cmp dword [esp + 0xe0], 0x32
jne 0x4187eb
cmp dword [esp + 0xe4], 0xe6
jne 0x4187eb
push 0x47e5d8
mov byte [esp + 0x22], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, ebp
je 0x418737
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebp
call edi
call fcn.00408120
push eax
call ebx
call esi
cmp eax, ebp
jne 0x418726
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x41878d
push 0x113
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x56
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x578
call ebx
mov byte [esp + 0x1e], 1
push 0x47e5d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esp + 0x1e], 1
jne 0x418955
xor edi, edi
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x456
je 0x418955
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
inc edi
cmp edi, 0xa
jle 0x4187a5
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417efd
push 0x514
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x7a
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov esi, ebp
call fcn.00405540
mov ecx, dword [esp + 0x134]
mov ebx, dword [ecx + 0x64]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x46d09c
call fcn.0042a2b0
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov byte [esp + 0x12c], 1
mov dword [esp + 0x20], esp
call fcn.00403870
lea edx, [esp + 0xa8]
push edx
mov esi, ebp
mov byte [esp + 0x130], 0
call fcn.00408500
mov eax, dword [esp + 0xac]
add esp, 0xc
test eax, eax
je 0x418951
mov ecx, dword [esp + 0xa4]
test ecx, ecx
je 0x418951
push eax
push ecx
lea eax, [esp + 0x134]
mov esi, esp
lea edi, [ecx + 1]
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov esi, ebp
call fcn.00407980
add esp, 8
xor ebx, ebx
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea eax, [esp + 0xd4]
push eax
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x41890c
cmp dword [esp + 0xd0], 0x32
jne 0x41890c
cmp dword [esp + 0xd4], 0xe6
je 0x418955
cmp ebx, 8
jne 0x41893a
push 0x115
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x8e
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
inc ebx
cmp ebx, 8
jle 0x4188a5
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417efd
mov dword [esp + 0x30], edi
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x417efd
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
lea ecx, [esp + 0xf8]
add esp, 4
mov dword [esi], eax
push ecx
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418af0
cmp dword [esp + 0xf0], 0x295
jne 0x418af0
cmp dword [esp + 0xf4], 0x1a3
jne 0x418af0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea edx, [esp + 0x7c]
push edx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x78], 0
jne 0x418a16
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x418a4c
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f290]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
lea edi, [esi + 0x147]
push eax
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x12c
call ebx
push 0x18
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov edi, ebp
call fcn.004054b0
add esp, 8
push 0x12c
call ebx
mov dword [esp + 0x30], 0
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push 0x18
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov edi, ebp
mov dword [esi], eax
call fcn.004054b0
add esp, 8
jmp case.0x4182ec.1002
lea edx, [edi - 3]
cmp edx, 0x16
ja 0x418c2c
mov eax, dword [esp + 0x2c]
add eax, 0xffffffba
mov dword [esp + 0x14], eax
cmp eax, 0x10
ja 0x418c2c
xor esi, esi
mov dword [esp + 0x18], esi
call fcn.0044bf34
cmp edi, 0xf
jge 0x418b62
mov eax, 0xf
sub eax, edi
lea eax, [eax + eax*4]
add eax, eax
add eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x2c]
cmp eax, 0xd
jge 0x418b79
mov esi, 0xc
sub esi, eax
lea esi, [esi + esi*4]
add esi, esi
add esi, esi
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov ecx, eax
mov eax, 0x159
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, dword [esp + 0x18]
lea edx, [ecx + ecx*4]
mov ecx, dword [esp + 0x24]
lea esi, [esi + edx*4]
mov edx, dword [esp + 0x20]
add esi, ecx
push esi
push ecx
lea edi, [eax + edx]
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
xor edi, edi
push 0x12c
call ebx
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x495
je case.0x4182ec.1002
cmp edi, 0xf
jne 0x418c21
push 0xf0
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, 0x205
mov edx, ebp
call fcn.004062f0
add esp, 8
inc edi
cmp edi, 0xf
jle 0x418bc6
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xb0]
add esp, 4
push eax
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418af0
cmp dword [esp + 0xa8], 0x195
jne 0x418af0
cmp dword [esp + 0xac], 0x1a3
jne 0x418af0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x64]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x60], 0
jne 0x418ce0
mov eax, dword [esp + 0x64]
test eax, eax
je 0x418d16
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f288]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
lea edi, [esi + 0xb5]
jmp 0x418a96
add edi, 0xffffffd3
cmp edi, 0xf
ja 0x419011
mov edx, dword [esp + 0x2c]
add edx, 0xfffffff6
cmp edx, 0x11
ja 0x419011
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea eax, [esp + 0xb4]
push eax
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418ece
cmp dword [esp + 0xb0], 0x32
jne 0x418ece
cmp dword [esp + 0xb4], 0xe6
jne 0x418ece
push 0x47e5d8
mov byte [esp + 0x22], al
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, ebp
je 0x418e21
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ebx, [ebx]
push ebp
call edi
call fcn.00408120
push eax
call ebx
call esi
cmp eax, ebp
jne 0x418e10
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x418e77
push 0x113
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x56
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x578
call ebx
mov byte [esp + 0x1e], 1
push 0x47e5d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [esp + 0x1e], 1
jne 0x419008
xor edi, edi
nop
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x443
je 0x419008
push 0x12c
call ebx
inc edi
cmp edi, 0xa
jle 0x418e90
push 5
call ebx
jmp case.0x4182ec.1002
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x419008
push 0x7a
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov esi, ebp
call fcn.00405540
push 0x34
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x11
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov esi, ebp
call fcn.00407980
add esp, 8
xor edi, edi
mov dword [esp + 0x18], edi
jmp 0x418f40
push 0x12c
call ebx
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0xbc]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418fa3
cmp dword [esp + 0xb8], 0x32
jne 0x418fa3
cmp dword [esp + 0xbc], 0xe6
je 0x419008
cmp edi, 0xa
jne 0x418ffa
mov edx, dword [esp + 0x134]
push edx
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, ebp
call fcn.00408690
add esp, 8
push 0x147
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x13e
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
mov edi, dword [esp + 0x20]
add esp, 8
inc edi
cmp edi, 0xa
mov dword [esp + 0x18], edi
jle 0x418f40
push 5
call ebx
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xd0]
add esp, 4
push eax
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418af0
cmp dword [esp + 0xc8], 0x2bb
jne 0x418af0
cmp dword [esp + 0xcc], 0xfb
jne 0x418af0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x54]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x50], 0
jne 0x4190c5
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4190fb
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], eax
add eax, 0x127
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f280]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
push eax
push ecx
lea edi, [esi + 0x4d]
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x514
call ebx
push 0x18
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov edi, ebp
call fcn.004054b0
add esp, 8
mov dword [esp + 0x30], 0
jmp case.0x4182ec.1002
cmp byte [esp + 0x1f], 0
jne 0x419589
add edi, 0xffffffcc
cmp edi, 9
ja 0x419482
mov edx, dword [esp + 0x2c]
add edx, 0xffffffea
cmp edx, 0xa
ja 0x419482
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je case.0x4182ec.1002
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea eax, [esp + 0x4c]
push eax
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x4193ca
cmp dword [esp + 0x48], 0x32
jne 0x4193ca
cmp dword [esp + 0x4c], 0xe6
jne 0x4193ca
push 0x47e5d8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [sym.imp.USER32.dll_GetForegroundWindow]
call esi
cmp eax, ebp
je 0x419271
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
lea ecx, [ecx]
push ebp
call edi
call fcn.00408120
push eax
call ebx
call esi
cmp eax, ebp
jne 0x419260
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x4192c2
push 0x153
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x8f
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x578
call ebx
mov dword [esp + 0x18], 0
lea ebx, [ebx]
push 0x12c
call ebx
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x419359
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x114]
push ecx
mov eax, ebp
call fcn.00405d80
mov edi, dword [eax]
mov edx, dword [eax + 4]
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x419359
cmp edi, 0x32
jne 0x419359
cmp dword [esp + 0x4c], 0xe6
je 0x41936b
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 0xa
mov dword [esp + 0x18], eax
jle 0x4192d0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00406270
add esp, 4
cmp al, 1
je 0x4193ba
push 0xf0
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x203
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
mov byte [esp + 0x1f], 1
push 0x47e5d8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.0x4182ec.1002
push 0x7a
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov esi, ebp
call fcn.00405540
push 0x38
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x1c
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov esi, ebp
call fcn.00407980
add esp, 8
xor edi, edi
mov edi, edi
push 0x12c
call ebx
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea eax, [esp + 0xdc]
push eax
mov eax, ebp
call fcn.00405d80
add esp, 4
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x419477
cmp dword [esp + 0xd8], 0x32
jne 0x419477
cmp dword [esp + 0xdc], 0xe6
je case.0x4182ec.1002
inc edi
cmp edi, 8
jle 0x419410
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x4197db
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x74]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x70], 0
jne 0x4194e4
mov eax, dword [esp + 0x74]
test eax, eax
je 0x41951a
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f278]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
push eax
push ecx
lea edi, [esi + 0x101]
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
jmp 0x418abd
lea edx, [edi - 0x93]
cmp edx, 0xd
ja 0x419693
mov esi, dword [esp + 0x2c]
cmp esi, 0x93
jl 0x419693
push 0x64
call ebx
mov dword [esp + 0x14], 0
call fcn.0044bf34
cmp esi, 0x9b
jle 0x4195d1
mov eax, 0x9b
sub eax, edi
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
jmp 0x4195d5
mov ecx, dword [esp + 0x14]
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov edx, eax
mov eax, 0xd9d
sub eax, edx
mov edx, dword [esp + 0x24]
sub eax, ecx
lea ecx, [esi + esi*4 - 0x307]
add ecx, ecx
add ecx, ecx
lea ecx, [ecx + edx - 0x32]
mov edx, dword [esp + 0x20]
push ecx
push ecx
lea edi, [eax + edx]
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x578
call ebx
xor edi, edi
lea ebx, [ebx]
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
mov eax, ebp
call fcn.00403f70
add esp, 4
cmp eax, 0x42e
je case.0x4182ec.1002
push 0x1f4
call ebx
inc edi
cmp edi, 0xc
jle 0x419630
push 0xf0
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov edi, 0x205
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xf0]
add esp, 4
push eax
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x4197db
cmp dword [esp + 0xe8], 0x1b0
jne 0x4197db
cmp dword [esp + 0xec], 0x1a3
jne 0x4197db
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x84]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x80], 0
jne 0x419750
mov eax, dword [esp + 0x84]
test eax, eax
je 0x41978c
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f270]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
lea edi, [esi + 0x1a2]
jmp 0x418a96
push 0x18
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov edi, ebp
call fcn.004054b0
add esp, 8
jmp case.0x4182ec.1002
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x12c]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00409040
add edi, 0xffffff98
add esp, 8
cmp edi, 0x10
ja 0x41987f
cmp dword [esp + 0x2c], 0xb9
jl 0x41987f
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add eax, 0x13
push eax
add edi, 0x179
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x578
call ebx
jmp case.0x4182ec.1002
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
lea ecx, [esp + 0x100]
add esp, 4
mov dword [esi], eax
push ecx
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418af0
cmp dword [esp + 0xf8], 0x146
jne 0x418af0
cmp dword [esp + 0xfc], 0x1a3
jne 0x418af0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea edx, [esp + 0x5c]
push edx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x58], 0
jne 0x419933
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x419969
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f268]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
push eax
push ecx
lea edi, [esi + 0x169]
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov ecx, edi
mov edx, ebp
call fcn.004062f0
add esp, 8
push 0x12c
call ebx
push 0x18
push ecx
lea eax, [esp + 0x134]
mov esi, esp
mov dword [esp + 0x1c], esp
call fcn.00403870
mov edi, ebp
call fcn.004054b0
add esp, 8
mov dword [esp + 0x30], 0
jmp case.0x4182ec.1002
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x12c]
push edx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00409040
lea eax, [edi - 0x77]
add esp, 8
cmp eax, 0x10
ja 0x419a8b
mov ecx, dword [esp + 0x2c]
lea edx, [ecx - 0x7e]
cmp edx, 0xe
ja 0x419a8b
lea eax, [edi + edi*4]
add eax, eax
add eax, eax
mov edx, eax
lea ecx, [ecx + ecx*4 - 0x299]
add ecx, ecx
mov eax, 0xb6d
sub eax, edx
mov edx, dword [esp + 0x24]
add ecx, ecx
add ecx, edx
cmp ecx, 0x35
mov edx, dword [esp + 0x20]
lea edi, [eax + edx]
jge 0x419a85
cmp edi, 0x94
jle 0x419a85
mov ecx, 0x35
push ecx
jmp 0x419854
mov eax, dword [esp + 0x12c]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0xc8]
add esp, 4
push eax
mov eax, ebp
call fcn.004060f0
mov eax, dword [esp + 0x134]
add esp, 4
add eax, 0xfffffff0
mov dword [esp + 0x18], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov eax, ebp
call fcn.004046f0
add esp, 4
test al, al
jne 0x418af0
cmp dword [esp + 0xc0], 0x1a9
jne 0x418af0
cmp dword [esp + 0xc4], 0x1a3
jne 0x418af0
push ecx
lea eax, [esp + 0x130]
mov esi, esp
mov dword [esp + 0x18], esp
call fcn.00403870
lea ecx, [esp + 0x6c]
push ecx
mov eax, ebp
call fcn.00405d80
add esp, 8
cmp dword [esp + 0x68], 0
jne 0x419b3f
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x419b75
push 0
push 0
push ecx
lea eax, [esp + 0x138]
mov esi, esp
mov dword [esp + 0x20], esp
call fcn.00403870
mov esi, ebp
call fcn.00405f00
add esp, 0xc
push 0x12c
call ebx
xor eax, eax
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], eax
add eax, 0x178
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fsub qword [0x46f260]
call fcn.00450dd0
mov edi, eax
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov esi, 5
sub esi, edx
call fcn.0044bf34
cdq
mov ecx, 0xa
idiv ecx
mov eax, 5
sub eax, edx
add eax, edi
lea edi, [esi + 0x176]
jmp 0x418a96
cmp edi, 0x29
jl 0x419c08
mov eax, dword [esp + 0x134]
lea edx, [esp + 0x94]
push edx
push 1
push eax
mov eax, dword [esp + 0x138]
push ebp
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x28], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.004091a0
add esp, 0x14
jmp case.0x4182ec.1002
or bl, ah
invalid
mov edi, dword [esp + 0x134]
mov eax, dword [esp + 0x12c]
push 0x16
push 0x22
push edi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00407a80
mov eax, dword [esp + 0x13c]
add esp, 0x10
push 0x1b
push 0x2d
push edi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00429de0
add eax, 0x10
add esp, 4
mov ecx, ebp
mov dword [esi], eax
call fcn.00407a80
add esp, 0x10
push 0x46
call ebx
jmp case.0x4182ec.1002
call fcn.00401ea0
lea ecx, [ecx]
jle 0x419c04
inc ecx
add bl, dh
add byte [ecx], 0xff
xchg edi, eax
inc ecx
add byte [ebp + 0x20004191], dl
mov eax, dword [ecx]
push es
lcall 65, 0x9bc40041
lea eax, gs:[ecx]
adc byte [edi + 65], bh
add byte [eax], al
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
add dword [eax], ecx
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
add cl, byte [eax]
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [ebx], al
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
add al, 8
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [134743560], al
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [eax], cl
or byte [edi], al
int3