Function at 0x422290
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x15c], ecx
mov dword [ebp - 0x4c], 0
xor eax, eax
mov dword [ebp - 0x48], 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 ecx, dword [ebp - 0x15c]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 0x14], 0
jne 0x4222e0
mov dword [ebp + 0x14], 0x459407
cmp dword [ebp + 0x10], 0
jne 0x422327
lea edx, [ebp - 0x24]
mov dword [ebp + 0x10], edx
mov eax, dword [0x465aa4]
mov dword [ebp - 0x160], eax
mov ecx, dword [0x465aa4]
add ecx, 1
mov dword [0x465aa4], 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 - 0x24]
push eax
call fcn.00401090
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.00421680
movzx ecx, al
test ecx, ecx
jne 0x42234e
xor eax, eax
jmp 0x42253b
mov edx, dword [ebp + 0x18]
and edx, 0x10000
je 0x422365
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xf0]
mov dword [ebp + 0x20], ecx
lea edx, [ebp - 0x4c]
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 0x4224f8
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x20], 0
jne 0x42240f
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00409e00
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 0x15c]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0040a100
add esp, 0xc
mov eax, dword [ebp - 0x15c]
cmp dword [eax + 0x24], 0
jne 0x422459
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00409e00
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
push edx
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 0x15c]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x15c]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0040a100
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 + 0xf0]
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 + 0x144], ecx
jmp 0x422532
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
push edx
push str.Error_Code__d
push 0x104
lea eax, [ebp - 0x158]
push eax
call fcn.00401090
add esp, 0x10
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00425050
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x15c]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret 0x1c