Function at 0x408460
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov dword [ebp - 0x68], 0x5d
mov dword [ebp - 0x10], 0x48
mov dword [ebp - 0x2c], 0x11
mov dword [ebp - 0x24], 0x62
mov dword [ebp - 0x90], 0x41
mov dword [ebp - 0x64], 0x4d
mov dword [ebp - 0x20], 0x23
mov dword [ebp - 0x78], 0x5a
mov dword [ebp - 0x18], 0xb
mov dword [ebp - 0x14], 0x62
mov dword [ebp - 4], 0x5d
mov dword [ebp - 0x84], 0xe
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x34], 0x33
mov dword [ebp - 0x1c], 0x3c
mov dword [ebp - 0x80], 1
mov dword [ebp - 0x7c], 0xa
mov dword [ebp - 0x58], 0x5d
mov dword [ebp - 0x74], 0x4a
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x30], 0x60
mov dword [ebp - 0xc], 0x1e
mov dword [ebp - 8], 0x39
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x84]
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x8c]
jge 0x408545
mov dword [ebp - 0x38], 1
jmp 0x40854c
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [ebp - 0x7c]
jge 0x40855d
mov dword [ebp - 0x3c], 1
jmp 0x408564
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x58]
cmp edx, dword [ebp - 0x34]
jge 0x408575
mov dword [ebp - 0x40], 1
jmp 0x40857c
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x38]
and eax, dword [ebp - 0x3c]
or eax, dword [ebp - 0x40]
je 0x4085ae
mov ecx, dword [ebp - 0x68]
cmp ecx, dword [ebp - 0x74]
jne 0x4085ae
push 0x14ded
call dword [sym.imp.USER32.dll_DispatchMessageA]
add esp, 4
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x2c]
jge 0x4085ae
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x28]
and ecx, dword [ebp + 0x14]
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0x98], edx
mov eax, dword [ebp - 0x28]
sub eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x94]
cmp ecx, dword [ebp - 0x98]
jge 0x4085e6
mov dword [ebp - 0x44], 1
jmp 0x4085ed
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x2c]
cmp edx, dword [ebp - 0xc]
jge 0x4085fe
mov dword [ebp - 0x48], 1
jmp 0x408605
mov dword [ebp - 0x48], 0
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jge 0x40861f
mov dword [ebp - 0x4c], 1
jmp 0x408626
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x44]
and edx, dword [ebp - 0x48]
or edx, dword [ebp - 0x4c]
je 0x40880c
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x20]
jge 0x40880c
mov ecx, dword [ebp - 0x78]
cmp ecx, dword [ebp - 0x5c]
jne 0x40880c
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0xc]
jge 0x40865e
mov dword [ebp - 0x50], 1
jmp 0x408665
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xa0], ecx
mov edx, dword [ebp - 0x30]
add edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0xa0]
jge 0x408697
mov dword [ebp - 0x54], 1
jmp 0x40869e
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 1
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 8]
imul edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x50]
and eax, dword [ebp - 0x54]
and eax, edx
je 0x408800
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x408800
push 0xbc07
push 0x9167
push 0x150a1
push 0x1c0e
push 0x10b25
push 0xf3e
push 0x1437c
call dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0x1c
mov edx, dword [ebp - 4]
sub edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x58]
sub eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jge 0x408711
mov dword [ebp - 0x60], 1
jmp 0x408718
mov dword [ebp - 0x60], 0
mov ecx, dword [ebp - 0x5c]
sub ecx, dword [ebp + 0x10]
or ecx, dword [ebp - 0x60]
je 0x408800
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jge 0x408741
mov dword [ebp - 0x6c], 1
jmp 0x408748
mov dword [ebp - 0x6c], 0
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xa4]
cmp ecx, dword [ebp - 0xa8]
jge 0x40877a
mov dword [ebp - 0x70], 1
jmp 0x408781
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x68]
or edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x14]
or edx, eax
or edx, dword [ebp - 0x70]
mov dword [ebp - 0xac], edx
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0xac], 0
je 0x408800
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 8]
jne 0x408800
push 0xf3e0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
add esp, 4
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp - 0x18]
je 0x408800
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x80]
jne 0x408800
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
push 0x1611b
push 0xa52c
push 0xe4bc
push 0x11f53
push 0x11710
push 0x7dd0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp - 0x78]
sub eax, 0x17
push eax
mov ecx, dword [ebp - 0x7c]
add ecx, 0x4e
push ecx
mov edx, dword [ebp - 8]
sub edx, 0x21
push edx
mov eax, dword [ebp + 8]
add eax, 0x11
push eax
mov ecx, dword [ebp - 0x80]
add ecx, 0x3e
push ecx
mov edx, dword [ebp - 0x20]
sub edx, 0x10
push edx
mov eax, dword [ebp - 0x1c]
sub eax, 7
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x3b
push ecx
mov edx, dword [ebp - 0x20]
add edx, 0x3f
push edx
call fcn.00421020
add esp, 0x24
mov esp, ebp
pop ebp
ret