Function at 0x412ed6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
lea edi, [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, edi
call fcn.00401b09
lea ecx, [ebp - 0x1c]
call fcn.004016ed
push dword [0x421930]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x41b3cc
push 0x62
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
push dword [ebp - 0x18]
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov eax, dword [0x421950]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push 0xc
mov dword [ebp - 8], eax
call ebx
push eax
push 0xb
call ebx
push eax
push 1
push 0x80
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 1
push 0x80
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x421950]
push 0
push 0x32
mov dword [ebp - 8], eax
call ebx
push eax
push 0x31
call ebx
push eax
mov ebx, 0x80
push 1
push ebx
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_LoadImageA]
push eax
push 0
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ff
push dword [edi]
call ebx
push eax
lea ecx, [esi + 0x7c]
call fcn.00411c4d
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 0x50
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
push dword [ebp - 0x18]
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push dword [esi + 0x80]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x421930]
push 4
lea ecx, [ebp - 0x1c]
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3f2
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 3
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3fb
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 0x51
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3e8
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 5
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3e9
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 0x52
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 2
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 6
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3fa
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3f7
push dword [edi]
call ebx
push 0x22
push 0x22
push 0x1036
push eax
mov dword [esi + 0x58], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0x5c]
push 1
push 0x1003
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.00413ef4
mov ecx, esi
call fcn.004140cc
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 7
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
mov eax, dword [ebp - 0x18]
push 0x3f8
push dword [edi]
mov dword [ebp - 8], eax
call ebx
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [0x421930]
lea ecx, [esi + 0x18c]
push 8
call fcn.00401d20
push 0x3fd
push dword [edi]
call ebx
push eax
lea ecx, [esi + 0xcc]
call fcn.00411c4d
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 0xb
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
push dword [ebp - 0x18]
push dword [esi + 0xd0]
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x3f1
push dword [edi]
call ebx
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [0x421930]
lea ecx, [esi + 0x128]
push 0x4e
call fcn.00401d20
push dword [0x421930]
lea ecx, [esi + 0x13c]
push 0x62
call fcn.00401d20
push dword [0x421930]
lea ecx, [esi + 0x150]
push 0xc
call fcn.00401d20
push dword [0x421930]
lea ecx, [esi + 0x178]
push 0xe
call fcn.00401d20
push dword [0x421930]
lea ecx, [esi + 0x164]
push 0xf
call fcn.00401d20
push ebx
push dword [edi]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
push ebx
push ebx
push 0x800
push eax
mov dword [ebp - 8], eax
call edi
push dword [0x421930]
lea ecx, [ebp - 0x1c]
push 0x5d
call fcn.00401d20
lea ecx, [ebp - 0x1c]
call fcn.0040185e
push dword [ebp - 0x18]
push 0xda
push ebx
push dword [ebp - 8]
call edi
lea ebx, [esi + 0x1a1]
mov ecx, 0x421938
push ebx
call fcn.004133b7
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0x10
jne 0x413355
and byte [ebp - 8], 0
xor eax, eax
lea edi, [ebp - 7]
push 5
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
lea eax, [ebp - 8]
push ebx
push eax
call edi
lea eax, [ebp - 8]
push 0xa
push eax
call fcn.0040467f
pop ecx
movzx eax, ax
pop ecx
push eax
push 1
push 0x101e
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebx + 4]
push 5
push eax
lea eax, [ebp - 8]
push eax
call edi
lea eax, [ebp - 8]
push 0xa
push eax
call fcn.0040467f
pop ecx
movzx eax, ax
pop ecx
push eax
push 2
push 0x101e
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [ebx + 8]
push 5
push eax
lea eax, [ebp - 8]
push eax
call edi
lea eax, [ebp - 8]
push 0xa
push eax
call fcn.0040467f
pop ecx
movzx eax, ax
pop ecx
push eax
push 3
push 0x101e
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageA]
add ebx, 0xc
push 5
lea eax, [ebp - 8]
push ebx
push eax
call edi
lea eax, [ebp - 8]
push 0xa
push eax
call fcn.0040467f
pop ecx
movzx eax, ax
pop ecx
push eax
push 4
push 0x101e
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esi + 0x124], 0
jne 0x4133a5
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x421948
call fcn.00408e78
mov edi, eax
mov eax, esi
neg eax
lea ecx, [esi + 0x50]
sbb eax, eax
and eax, ecx
lea ecx, [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040dd5a
mov eax, esi
add esi, 0x54
neg eax
sbb eax, eax
lea ecx, [edi + 0x10]
and eax, esi
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.0040dd5a
lea ecx, [ebp - 0x1c]
call fcn.00401701
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10