Function at 0x100461b7
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push esi
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x100464ee
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1004622b
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jg 0x100464ec
mov dword [ebp - 0x84], 0xffffffff
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10046260
mov dword [ebp - 0x4c], 1
jmp 0x10046264
and dword [ebp - 0x4c], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
cmp dword [eax], 0x8ceef9a8
jne 0x10046282
mov dword [ebp - 0x34], 1
jmp 0x10046286
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
jle 0x10046299
mov dword [ebp - 0x40], 1
jmp 0x1004629d
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x40], eax
jl 0x100462b9
mov eax, 0x6e2c9bf5
test eax, eax
je 0x100462b9
mov dword [ebp - 0x20], 1
jmp 0x100462bd
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
jle 0x100462d0
mov dword [ebp - 0x48], 1
jmp 0x100462d4
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov ecx, dword [ebp - 0x48]
cmp ecx, dword [eax]
jg 0x100462f1
mov dword [ebp - 0x28], 1
jmp 0x100462f5
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x28], eax
jge 0x10046308
mov dword [ebp - 0x50], 1
jmp 0x1004630c
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 1
jne 0x1004631b
mov dword [ebp - 0x30], 1
jmp 0x1004631f
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov esi, dword [ebp - 0x30]
imul esi, dword [eax]
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
cmp esi, dword [eax]
jg 0x1004634c
mov dword [ebp - 0x64], 1
jmp 0x10046350
and dword [ebp - 0x64], 0
mov eax, 0x11ec
test eax, eax
jne 0x10046367
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10046367
and dword [ebp - 0x58], 0
jmp 0x1004636e
mov dword [ebp - 0x58], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
add eax, dword [ebp - 0x58]
cmp eax, 0x58cdc14c
jne 0x10046386
mov dword [ebp - 0x54], 1
jmp 0x1004638a
and dword [ebp - 0x54], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x54], eax
jg 0x1004639d
mov dword [ebp - 0x3c], 1
jmp 0x100463a1
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [eax]
jle 0x100463c6
mov eax, dword [ebp - 4]
cmp dword [eax], 0
je 0x100463c6
mov dword [ebp - 0x44], 1
jmp 0x100463ca
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x4c]
cmp eax, dword [ebp - 0x44]
jge 0x100463db
mov dword [ebp - 0x14], 1
jmp 0x100463df
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [eax]
je 0x100463fc
mov dword [ebp - 0x38], 1
jmp 0x10046400
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov eax, dword [eax]
cmp eax, dword [ebp - 0x38]
jle 0x1004641d
mov dword [ebp - 0x18], 1
jmp 0x10046421
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jle 0x10046434
mov dword [ebp - 0x1c], 1
jmp 0x10046438
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jg 0x10046455
mov dword [ebp - 0x24], 1
jmp 0x10046459
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov eax, dword [eax]
cmp eax, dword [ebp - 0x24]
je 0x10046476
mov dword [ebp - 0x74], 1
jmp 0x1004647a
and dword [ebp - 0x74], 0
push 1
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
imul eax, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x2c]
mov esi, dword [eax]
neg esi
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
cmp dword [eax], esi
jg 0x100464b5
mov dword [ebp - 0x10], 1
jmp 0x100464b9
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov esi, eax
push 0
mov ecx, dword [ebp - 8]
call fcn.10017bc7
mov eax, dword [eax]
add eax, dword [esi]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x84], eax
jmp 0x10046220
jmp 0x100464f6
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
mov esp, ebp
pop ebp
ret