Function at 0x420a00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x48], 0
xor eax, eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 0x14], 0
jne 0x420a46
mov dword [ebp + 0x14], 0x4586f3
cmp dword [ebp + 0x10], 0
jne 0x420a8d
lea edx, [ebp - 0x20]
mov dword [ebp + 0x10], edx
mov eax, dword [0x4657e4]
mov dword [ebp - 0x160], eax
mov ecx, dword [0x4657e4]
add ecx, 1
mov dword [0x4657e4], ecx
mov edx, dword [ebp - 0x160]
push edx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
push str._08X_08d
push 0x20
lea eax, [ebp - 0x20]
push eax
call fcn.004011d0
add esp, 0x14
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0x1c]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.0041fed0
movzx ecx, al
test ecx, ecx
jne 0x420ab4
xor eax, eax
jmp 0x420c9d
mov edx, dword [ebp + 0x18]
and edx, 0x10000
je 0x420acb
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xee]
mov dword [ebp + 0x20], ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp - 0x15c]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x15c]
cmp dword [edx + 0x50], 0
je 0x420c5a
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x20], 0
jne 0x420b73
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.00438ba0
add esp, 4
mov ecx, dword [ebp - 0x15c]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.00409ef0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x24], 0
jne 0x420bbb
mov ecx, dword [ebp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
call fcn.00438ba0
add esp, 4
mov ecx, dword [ebp - 0x15c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00409ef0
add esp, 0xc
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x15c]
mov byte [edx + 0xa0], 0
mov eax, dword [ebp - 0x15c]
mov byte [eax + 0xa1], 0
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xee]
mov dword [edx + 0x68], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [edx + 0x58], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 8]
mov dword [edx + 0x60], ecx
mov edx, dword [ebp - 0x15c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x64], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x142], ecx
jmp 0x420c94
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp - 0x4c], eax
mov edx, dword [ebp - 0x4c]
push edx
push str.Error_Code__d
push 0x104
lea eax, [ebp - 0x158]
push eax
call fcn.004011d0
add esp, 0x10
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00423770
add esp, 4
push 1
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x50]
mov esp, ebp
pop ebp
ret 0x1c