Function at 0x421f50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x462544]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x7c], 0
xor eax, eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x30], 0
push 0x2c
push 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00409d80
add esp, 0xc
mov edx, dword [ebp - 0x84]
mov byte [edx + 0x2a], 1
mov dword [ebp - 0x30], 0x30
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xd0]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp + 0x24], 0
jne 0x421fcd
mov dword [ebp - 0x28], 0x4217c0
jmp 0x421fd3
mov edx, dword [ebp + 0x24]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
jne 0x422042
lea edx, [ebp - 0x54]
mov dword [ebp + 0x10], edx
mov eax, dword [0x465aa0]
mov dword [ebp - 0x88], eax
mov ecx, dword [0x465aa0]
add ecx, 1
mov dword [0x465aa0], ecx
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._08X_08d
push 0x20
lea eax, [ebp - 0x54]
push eax
call fcn.00401090
add esp, 0x14
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
push 1
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x1c]
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], ecx
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x5c], edx
cmp dword [ebp + 0x14], 0
jne 0x422089
mov dword [ebp + 0x14], 0x459407
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
movzx ecx, ax
test ecx, ecx
jne 0x4220a1
xor eax, eax
jmp 0x422271
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x84]
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 - 0x84]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x84]
cmp dword [edx + 0x50], 0
je 0x422234
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x20], 0
jne 0x42214b
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00409e00
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x20]
push edx
call fcn.0040a100
add esp, 0xc
mov eax, dword [ebp - 0x84]
cmp dword [eax + 0x24], 0
jne 0x422195
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.00409e00
add esp, 4
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
push edx
call fcn.0043aab0
add esp, 4
mov ecx, dword [ebp - 0x84]
mov dword [ecx + 0x24], eax
mov edx, dword [ebp - 0x58]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x84]
mov edx, dword [ecx + 0x24]
push edx
call fcn.0040a100
add esp, 0xc
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x54], ecx
mov edx, dword [ebp - 0x84]
mov byte [edx + 0xa0], 0
mov eax, dword [ebp - 0x84]
mov byte [eax + 0xa1], 0
mov ecx, dword [ebp - 0x84]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xf0]
mov dword [edx + 0x68], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [edx + 0x58], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 4]
mov dword [edx + 0x5c], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 8]
mov dword [edx + 0x60], ecx
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x64], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 0x50]
mov dword [edx + 0x144], ecx
jmp 0x422268
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x80], eax
mov edx, dword [ebp - 0x80]
push edx
push str.Error_Code__d
push 0x20
lea eax, [ebp - 0x54]
push eax
call fcn.00401090
add esp, 0x10
lea ecx, [ebp - 0x54]
push ecx
call fcn.004250a0
add esp, 4
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov edx, dword [ebp - 0x84]
mov eax, dword [edx + 0x50]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00409d69
mov esp, ebp
pop ebp
ret 0x20