Function at 0x417230
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov dword [ebp - 0x10], 0x1e7
mov dword [ebp - 0x70], 0x30c
mov dword [ebp - 0x40], 0x13c
mov dword [ebp - 0x64], 0x3c
mov dword [ebp - 0x44], 0x61
mov dword [ebp - 0x68], 0x22c
mov dword [ebp - 0x6c], 0x2d9
mov dword [ebp - 0x7c], 0xdf
mov dword [ebp - 0x80], 0xd9
mov dword [ebp - 0x60], 0x199
mov dword [ebp - 0x24], 0x8c
mov dword [ebp - 0x84], 0x17d
mov dword [ebp - 0x5c], 0x340
mov dword [ebp - 8], 0x174
mov dword [ebp - 0x14], 0x249
mov dword [ebp - 0x88], 0x156
mov dword [ebp - 0x8c], 0x169
mov dword [ebp - 0x58], 0x23f
mov dword [ebp - 0x90], 0x32a
mov dword [ebp - 0x94], 0xed
mov dword [ebp - 0xc], 0x365
mov dword [ebp - 0x18], 0x1c6
mov dword [ebp - 0x74], 0x1b
mov dword [ebp - 0x78], 0x24b
mov dword [ebp - 4], 0x260
mov dword [ebp - 0x1c], 0
jmp 0x417309
mov eax, dword [ebp - 0x1c]
nop
inc eax
nop
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x28]
sub ecx, 0x18889
cmp dword [ebp - 0x1c], ecx
jge 0x4173f8
mov edx, dword [ebp - 0x14]
and edx, dword [ebp - 0x40]
cmp edx, dword [ebp + 0x20]
jge 0x41732f
mov dword [ebp - 0x2c], 1
jmp 0x417336
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp + 0x20]
cmp eax, dword [ebp - 0x60]
jge 0x417347
mov dword [ebp - 0x30], 1
jmp 0x41734e
mov dword [ebp - 0x30], 0
mov ecx, dword [ebp - 0x2c]
and ecx, dword [ebp - 0x30]
je 0x4173f3
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x44]
cmp edx, dword [ebp + 0x1c]
jge 0x41736e
mov dword [ebp - 0x34], 1
jmp 0x417375
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp + 0x14]
jge 0x417386
mov dword [ebp - 0x38], 1
jmp 0x41738d
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 8]
nop
nop
dec ecx
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x6c]
jge 0x4173a7
mov dword [ebp - 0x3c], 1
jmp 0x4173ae
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x34]
and eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x3c]
je 0x4173f3
mov ecx, dword [ebp - 0x70]
cmp ecx, dword [ebp - 0x40]
jge 0x4173f3
mov edx, dword [ebp + 0x20]
cmp edx, dword [ebp - 0x44]
jge 0x4173d2
mov dword [ebp - 0x48], 1
jmp 0x4173d9
mov dword [ebp - 0x48], 0
mov eax, dword [ebp + 0x1c]
or eax, dword [ebp - 0x10]
or eax, dword [ebp - 0x48]
je 0x4173f3
mov ecx, dword [ebp - 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x417300
mov edx, dword [ebp + 0x24]
dec edx
nop
nop
mov dword [ebp + 0x24], edx
mov dword [ebp - 0x20], 0
jmp 0x417413
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x5c]
sub ecx, 0x189e0
cmp dword [ebp - 0x20], ecx
jge 0x4174d6
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
nop
dec eax
nop
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jge 0x41744e
mov dword [ebp - 0x4c], 1
jmp 0x417455
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp + 8]
and edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 0x1c]
jge 0x417469
mov dword [ebp - 0x50], 1
jmp 0x417470
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x4c]
or eax, dword [ebp - 0x50]
je 0x4174d1
mov ecx, dword [ebp + 0x28]
cmp ecx, dword [ebp - 0x74]
jge 0x417489
mov dword [ebp - 0x54], 1
jmp 0x417490
mov dword [ebp - 0x54], 0
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp - 0x58]
or edx, dword [ebp - 0x54]
je 0x4174d1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x58]
jge 0x4174d1
mov ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x78]
jge 0x4174d1
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x24]
nop
nop
inc eax
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x24]
je 0x4174d1
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
jmp 0x41740a
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
jmp 0x4174f1
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x5c]
sub edx, 0x33f
cmp dword [ebp - 0x28], edx
jge 0x41750a
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
jmp 0x4174e8
mov esp, ebp
pop ebp
ret