Function at 0x405400
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.kernel32.dll_LocalLock]
mov dword [esp], eax
call ebx
mov edi, dword [sym.imp.kernel32.dll_LocalAlloc]
sub esp, 4
mov dword [ebp - 0x2c], eax
mov dword [esp + 4], 0x38
mov dword [esp], 0
call edi
mov edx, dword [ebp + 0x10]
mov esi, dword [sym.imp.ucrtbase.dll_strlen]
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [esp], edx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov ecx, dword [ebp + 0x1c]
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp], ecx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov edx, dword [ebp + 0x20]
sub esp, 8
mov dword [ebp - 0x24], eax
mov dword [esp], edx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov ecx, dword [ebp + 0x28]
sub esp, 8
mov dword [ebp - 0x28], eax
mov dword [esp], ecx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
sub esp, 8
test edi, edi
je 0x4057a8
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4057a8
mov edi, eax
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
test eax, eax
sete al
test edx, edx
sete dl
or al, dl
jne 0x405725
test edi, edi
je 0x405725
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add edi, 1
mov dword [esp], eax
call ebx
mov ecx, dword [ebp + 0x10]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x24]
add edi, 1
mov dword [esp], eax
call ebx
mov edx, dword [ebp + 0x1c]
sub esp, 4
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x28]
add edi, 1
mov dword [esp], eax
call ebx
mov ecx, dword [ebp + 0x20]
sub esp, 4
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x30]
add esi, 1
mov dword [esp], eax
call ebx
mov edx, dword [ebp + 0x28]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [eax + 0x40]
mov dword [eax + 0x10], ecx
test esi, esi
je 0x405718
mov dword [esp], esi
mov edi, esi
call ebx
mov esi, dword [eax + 8]
sub esp, 4
test esi, esi
jne 0x4055b0
add eax, 8
mov esi, dword [ebp - 0x1c]
mov dword [eax], esi
mov dword [esp], esi
call ebx
mov ebx, eax
mov eax, dword [ebp + 8]
sub esp, 4
mov dword [ebx + 4], edi
mov dword [ebx], eax
mov eax, dword [ebp - 0x20]
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebx + 0x30], eax
mov eax, dword [0x409080]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x24], 0
mov eax, dword [eax + 8]
mov dword [esp + 0x1c], 0x80000000
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x40c00000
mov dword [esp + 8], 0
mov dword [esp + 4], str.PMProgram
mov dword [esp], 0
call sym._CreateWindowExW_48
mov edx, dword [ebp + 0x10]
sub esp, 0x30
mov dword [ebx + 0xc], eax
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._SetWindowTextA_8
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._SetWindowLongW_12
sub esp, 0xc
mov dword [esp + 4], 2
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._ShowWindow_8
mov eax, dword [ebp + 0x18]
sub esp, 8
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call sym._SetWindowPos_28
mov eax, dword [ebx + 0xc]
sub esp, 0x1c
mov dword [esp], eax
call sym._UpdateWindow_4
sub esp, 4
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x2c]
xor edi, edi
add eax, 0x40
jmp 0x4055c4
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call dbg.MAIN_MessageBoxIDS
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x405763
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405776
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x405789
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4057d0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [ebp - 0x1c], 0
sub esp, 4
jmp 0x405709
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call dbg.MAIN_MessageBoxIDS
cmp dword [ebp - 0x1c], 0
jne 0x405741
jmp 0x405750
mov dword [ebp - 0x1c], 0
jmp 0x405709