Function at 0x40bd50
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov dword [ebp - 0x6c], 0xd7
mov dword [ebp - 0x20], 0x36b
mov dword [ebp - 0x70], 0xf6
mov dword [ebp - 0x28], 0x21d
mov dword [ebp - 8], 0x13b
mov dword [ebp - 0x14], 0x2d8
mov dword [ebp - 0x58], 0x2d7
mov dword [ebp - 0x1c], 0x3ac
mov dword [ebp - 0x38], 0x337
mov dword [ebp - 0x10], 0x167
mov dword [ebp - 0x5c], 0x209
mov dword [ebp - 0x74], 0x192
mov dword [ebp - 0x48], 0x85
mov dword [ebp - 0xc], 0x377
mov dword [ebp - 0x60], 0x370
mov dword [ebp - 0x78], 0x2bb
mov dword [ebp - 0x7c], 0x311
mov dword [ebp - 0x54], 0x350
mov dword [ebp - 0x80], 0x10b
mov dword [ebp - 0x84], 0x1a0
mov dword [ebp - 0x88], 0x1e7
mov dword [ebp - 0x50], 0x2d2
mov dword [ebp - 4], 0x2fe
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x38]
jge 0x40be11
mov dword [ebp - 0x34], 1
jmp 0x40be18
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jge 0x40be29
mov dword [ebp - 0x2c], 1
jmp 0x40be30
mov dword [ebp - 0x2c], 0
mov edx, dword [ebp - 8]
or edx, dword [ebp - 0x48]
cmp edx, dword [ebp - 0x50]
jge 0x40be44
mov dword [ebp - 0x30], 1
jmp 0x40be4b
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x30]
or eax, dword [ebp - 0x34]
je 0x40bed5
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
and edx, dword [ebp - 0x28]
cmp edx, dword [ebp - 4]
jge 0x40bed5
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x38]
jge 0x40be7b
mov dword [ebp - 0x40], 1
jmp 0x40be82
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x54]
jge 0x40be9f
mov dword [ebp - 0x3c], 1
jmp 0x40bea6
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jge 0x40beb7
mov dword [ebp - 0x44], 1
jmp 0x40bebe
mov dword [ebp - 0x44], 0
mov ecx, dword [ebp - 0x3c]
and ecx, dword [ebp - 0x10]
or ecx, dword [ebp - 0x40]
or ecx, dword [ebp - 0x44]
je 0x40bed5
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], 0
jmp 0x40bee7
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x48]
sub ecx, 0x18725
cmp dword [ebp - 0x18], ecx
jge 0x40bf48
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [ebp - 4]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 4]
nop
dec ecx
nop
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x64]
cmp edx, dword [ebp - 0x68]
jge 0x40bf21
mov dword [ebp - 0x4c], 1
jmp 0x40bf28
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
nop
inc eax
nop
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
imul ecx, dword [ebp - 0x20]
or ecx, dword [ebp - 0x4c]
je 0x40bf46
mov edx, dword [ebp - 0x1c]
nop
inc edx
nop
mov dword [ebp - 0x1c], edx
jmp 0x40bede
mov dword [ebp - 0x24], 0
jmp 0x40bf5a
mov eax, dword [ebp - 0x24]
nop
inc eax
nop
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x20]
sub ecx, 0x36a
cmp dword [ebp - 0x24], ecx
jge 0x40bf73
mov edx, dword [ebp - 0x28]
sub edx, 1
mov dword [ebp - 0x28], edx
jmp 0x40bf51
mov esp, ebp
pop ebp
ret