Function at 0x46c5d7
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
mov dword [ebp - 0x20], 0x1928c176
mov dword [ebp - 0x20], 0
jmp 0x46c5f8
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xa
jl 0x46c64f
cmp dword [ebp - 0x20], 0
je 0x46c639
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x44], 6
jmp 0x46c61b
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xb
je 0x46c637
mov byte [ebp - 9], 0
movzx eax, byte [ebp - 9]
test eax, eax
je 0x46c635
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x46c614
jmp 0x46c64d
mov byte [ebp - 0xb], 0
movzx eax, byte [ebp - 0xb]
test eax, eax
je 0x46c64d
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
jmp 0x46c5f1
push 1
lea ecx, [ebp - 0x40]
call fcn.004013fc
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x24], 0xfffffff7
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x2c], 0
jmp 0x46c67e
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x46c697
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov dword [eax], 0x7bc75286
jmp 0x46c677
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x1c]
add esi, 0x8067
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
cmp dword [eax], esi
jne 0x46c6c9
mov dword [ebp - 0x8c], 1
jmp 0x46c6d0
and dword [ebp - 0x8c], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
cmp dword [eax], 0
je 0x46c731
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov esi, eax
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov ecx, dword [esi]
cmp ecx, dword [eax]
jge 0x46c704
mov dword [ebp - 0x80], 1
jmp 0x46c708
and dword [ebp - 0x80], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov esi, dword [ebp - 0x80]
sub esi, dword [eax]
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
cmp esi, dword [eax]
jle 0x46c731
mov dword [ebp - 0x98], 1
jmp 0x46c738
and dword [ebp - 0x98], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov ecx, dword [ebp - 0x98]
cmp ecx, dword [eax]
jle 0x46c758
mov dword [ebp - 0xb8], 1
jmp 0x46c75f
and dword [ebp - 0xb8], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov ecx, dword [ebp - 0xb8]
cmp ecx, dword [eax]
jle 0x46c77c
mov dword [ebp - 0x60], 1
jmp 0x46c780
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
ja 0x46c795
mov dword [ebp - 0x68], 1
jmp 0x46c799
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x8c]
cmp eax, dword [ebp - 0x68]
jge 0x46c8f8
push 3
lea ecx, [ebp - 0xfc]
call fcn.004013fc
mov dword [ebp - 0x48], 0
jmp 0x46c7c5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x46c7e1
push dword [ebp - 0x48]
lea ecx, [ebp - 0xfc]
call fcn.004014ea
mov dword [eax], 0x8b9ba5e0
jmp 0x46c7be
mov byte [ebp - 0xa], 0
movzx eax, byte [ebp - 0xa]
test eax, eax
je 0x46c7f3
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
imul eax, dword [ebp - 0x10], 0x3c1d
test eax, eax
je 0x46c8d4
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0xe0], 1
mov dword [ebp - 0x10], 0xfffffff6
jmp 0x46c823
mov eax, dword [ebp - 0x10]
dec eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffed
je 0x46c8d2
cmp dword [ebp - 0x4c], 0
jne 0x46c89e
mov dword [ebp - 0x4c], 0xb969b42c
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x9c], eax
push 1
lea ecx, [ebp - 0xfc]
call fcn.004014ea
mov ecx, dword [ebp - 0x9c]
mov dword [eax], ecx
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x9c]
jle 0x46c86c
mov dword [ebp - 0x70], 1
jmp 0x46c870
and dword [ebp - 0x70], 0
cmp dword [ebp - 0x70], 0x4cb4
jg 0x46c885
mov dword [ebp - 0xa4], 1
jmp 0x46c88c
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x12c005d9
jg 0x46c89e
and dword [ebp - 0x78], 0
jmp 0x46c8a5
mov dword [ebp - 0x78], 1
cmp dword [ebp - 0x78], 0x78c9dffb
jne 0x46c8ba
mov dword [ebp - 0xac], 1
jmp 0x46c8c1
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xe0], eax
jmp 0x46c81c
jmp 0x46c8e8
mov byte [ebp - 0xc], 0
movzx eax, byte [ebp - 0xc]
test eax, eax
je 0x46c8e8
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea ecx, [ebp - 0xfc]
call fcn.004014ce
jmp 0x46ca5d
push 3
lea ecx, [ebp - 0xdc]
call fcn.004013fc
mov dword [ebp - 0x50], 0x9097d93c
mov dword [ebp - 0x34], 0
jmp 0x46c91c
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x46c938
push dword [ebp - 0x34]
lea ecx, [ebp - 0xdc]
call fcn.004014ea
mov dword [eax], 0x4ce10b49
jmp 0x46c915
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
cmp dword [eax], 0
jne 0x46c9e2
push 1
lea ecx, [ebp - 0xdc]
call fcn.004014ea
cmp dword [eax], 0xa25a
jge 0x46c969
mov dword [ebp - 0x54], 1
jmp 0x46c96d
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x50], eax
mov esi, dword [ebp - 0x50]
sub esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0xdc]
call fcn.004014ea
cmp esi, dword [eax]
je 0x46c996
mov dword [ebp - 0xe4], 1
jmp 0x46c99d
and dword [ebp - 0xe4], 0
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
mov esi, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x40]
call fcn.004014ea
cmp esi, dword [eax]
jle 0x46c9c4
mov dword [ebp - 0xb4], 1
jmp 0x46c9cb
and dword [ebp - 0xb4], 0
push 0
lea ecx, [ebp - 0xdc]
call fcn.004014ea
mov eax, dword [eax]
cmp eax, dword [ebp - 0xb4]
jge 0x46c9f4
cmp dword [ebp - 0x50], 0
je 0x46c9f4
mov dword [ebp - 0x88], 1
jmp 0x46c9fb
and dword [ebp - 0x88], 0
imul eax, dword [ebp - 0x88], 0xf89c
cmp eax, 0x628a
jne 0x46ca18
mov dword [ebp - 0xbc], 1
jmp 0x46ca1f
and dword [ebp - 0xbc], 0
push 2
lea ecx, [ebp - 0xdc]
call fcn.004014ea
mov ecx, dword [ebp - 0xbc]
cmp ecx, dword [eax]
jne 0x46ca42
mov dword [ebp - 0xc4], 1
jmp 0x46ca49
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xdc]
call fcn.004014ce
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x40]
call fcn.004014ce
push 0
push dword [ebp + 8]
push 0xbfb
push dword [ebp + 0xc]
lea eax, [ebp - 0xe8]
push eax
call fcn.00473016
add esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xe6aa1654
mov dword [ebp - 0x14], 0xf0ebf903
mov dword [ebp - 8], 1
mov dword [ebp - 0xb0], 0xcaa5d732
push 1
lea ecx, [ebp - 0xd0]
call fcn.004013fc
mov dword [ebp - 0x28], 0
jmp 0x46caca
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 1
jge 0x46cae6
push dword [ebp - 0x28]
lea ecx, [ebp - 0xd0]
call fcn.004014ea
mov dword [eax], 7
jmp 0x46cac3
cmp dword [ebp - 4], 0x1c1ec2db
je 0x46cafb
mov dword [ebp - 0xc0], 1
jmp 0x46cb02
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46cb4a
mov eax, dword [ebp - 4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 4], 0xaf8716b5
ja 0x46cb4a
mov dword [ebp - 0x90], 1
jmp 0x46cb51
and dword [ebp - 0x90], 0
imul eax, dword [ebp - 0x90], 0xf25d
cmp eax, 0x58efa97
jl 0x46cb6e
mov dword [ebp - 0xf0], 1
jmp 0x46cb75
and dword [ebp - 0xf0], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 4], eax
je 0x46cb89
mov dword [ebp - 0x94], 1
jmp 0x46cb90
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 8]
imul eax, dword [ebp - 0x94]
mov dword [ebp - 0xb0], eax
imul eax, dword [ebp - 0xb0], 0
cmp eax, dword [ebp - 4]
jge 0x46cbb8
mov dword [ebp - 0xa0], 1
jmp 0x46cbbf
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xa0]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc0], 0
jl 0x46cbe0
mov dword [ebp - 0xa8], 1
jmp 0x46cbe7
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0
jmp 0x46cc00
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xfffffff2
jg 0x46cd52
mov dword [ebp - 0x30], 0xc1979116
push 0
lea ecx, [ebp - 0xd0]
call fcn.004014ea
cmp dword [eax], 0
je 0x46ccfb
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x100], eax
mov eax, 0x6fe5
cmp eax, 1
ja 0x46cc4c
mov dword [ebp - 0x58], 1
jmp 0x46cc50
and dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.004014ea
mov eax, dword [eax]
cmp eax, dword [ebp - 0x58]
jne 0x46cc6d
mov dword [ebp - 0x5c], 1
jmp 0x46cc71
and dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0xd0]
call fcn.004014ea
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax]
jl 0x46cc91
mov dword [ebp - 0xec], 1
jmp 0x46cc98
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 4]
mov dword [ebp - 0x108], eax
push 0
lea ecx, [ebp - 0xd0]
call fcn.004014ea
cmp dword [eax], 0
ja 0x46ccbc
mov dword [ebp - 0x64], 1
jmp 0x46ccc0
and dword [ebp - 0x64], 0
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x64], eax
je 0x46ccd1
mov dword [ebp - 0x6c], 1
jmp 0x46ccd5
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x6c], eax
jle 0x46cce6
mov dword [ebp - 0x74], 1
jmp 0x46ccea
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x74]
jle 0x46ccfb
mov dword [ebp - 0x7c], 1
jmp 0x46ccff
and dword [ebp - 0x7c], 0
cmp dword [ebp - 0x7c], 0x1ffd
jne 0x46cd14
mov dword [ebp - 0x84], 1
jmp 0x46cd1b
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x30], eax
mov dword [ebp - 8], 0
jmp 0x46cd34
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jge 0x46cd4d
push dword [ebp - 8]
lea ecx, [ebp - 0xd0]
call fcn.004014ea
and dword [eax], 0
jmp 0x46cd2d
jmp 0x46cbf9
lea ecx, [ebp - 0xd0]
call fcn.004014ce
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xe8]
pop esi
mov esp, ebp
pop ebp
ret