Function at 0x401523
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 0
mov eax, dword [ebp + 8]
mov dword [0x413d14], eax
push 0x64
lea ecx, [ebp - 0x68]
push ecx
push 0x67
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x64
lea eax, [ebp - 0x104]
push eax
push 0x6d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadStringA]
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40158a
xor eax, eax
jmp 0x401841
lea ecx, [ebp - 0x6c]
push ecx
push 0x413cfc
call fcn.0040241a
add esp, 8
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0
je 0x4015c4
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004026ad
add esp, 8
xor eax, eax
jmp 0x401841
call fcn.004013ff
mov dword [0x413cf8], 1
push 0
push 0x40
push 0x40
push 1
push 0x85
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x42af28], eax
cmp dword [0x42af28], 0
jne 0x401619
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
push edx
push 0x10107
call fcn.004026ad
add esp, 8
xor eax, eax
jmp 0x401841
push 0
push 0x40
push 0x40
push 1
push 0x81
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x42af2c], eax
cmp dword [0x42af2c], 0
jne 0x40165f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
push ecx
push 0x10107
call fcn.004026ad
add esp, 8
xor eax, eax
jmp 0x401841
push 0
push 0x10
push 0x10
push 1
push 0x82
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadImageA]
mov dword [0x42af30], eax
cmp dword [0x42af30], 0
jne 0x4016a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
push eax
push 0x10107
call fcn.004026ad
add esp, 8
xor eax, eax
jmp 0x401841
mov dword [ebp - 0x9c], 0x30
mov dword [ebp - 0x98], 3
mov dword [ebp - 0x94], 0x401847
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x88], ecx
push 0x6b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x84], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 6
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x104]
mov dword [ebp - 0x74], eax
push 0x6b
mov ecx, dword [ebp - 0x88]
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x70], eax
lea edx, [ebp - 0x9c]
push edx
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0x58
push 0
push 0x42aed0
call fcn.00408e20
add esp, 0xc
mov dword [0x42aed0], 0x58
mov eax, dword [0x42af30]
mov dword [0x42aee4], eax
mov dword [0x42aedc], 2
mov dword [0x42aed8], 1
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4017b1
xor eax, eax
jmp 0x401841
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4017fa
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x4017c7
cmp dword [0x42af28], 0
je 0x40180f
mov eax, dword [0x42af28]
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [0x42af2c], 0
je 0x401825
mov ecx, dword [0x42af2c]
push ecx
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp dword [0x42af30], 0
je 0x40183b
mov edx, dword [0x42af30]
push edx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [ebp - 0x118]
mov esp, ebp
pop ebp
ret 0x10