Function at 0x405410
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 - 0x30], eax
mov dword [esp + 4], 0x38
mov dword [esp], 0
call edi
mov ecx, dword [ebp + 0x10]
mov esi, dword [sym.imp.ucrtbase.dll_strlen]
sub esp, 8
mov dword [ebp - 0x1c], eax
mov dword [esp], ecx
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 - 0x24], 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 - 0x20], eax
mov dword [esp], edx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov edx, dword [ebp + 0x28]
sub esp, 8
mov dword [ebp - 0x28], eax
mov dword [esp], edx
call esi
mov dword [esp], 0
add eax, 1
mov dword [esp + 4], eax
call edi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
sub esp, 8
test eax, eax
je 0x4057b0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4057b0
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x405728
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x405728
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x405728
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x24]
add edi, 1
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 8], edi
mov edx, dword [ebp + 0x10]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [ebp + 0x1c]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x20]
add edi, 1
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 8], edi
mov edx, dword [ebp + 0x1c]
mov dword [esp], eax
mov dword [esp + 4], edx
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
sub esp, 4
mov dword [esp + 8], edi
mov ecx, dword [ebp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
call esi
mov esi, eax
mov eax, dword [ebp - 0x2c]
add esi, 1
mov dword [esp], eax
call ebx
sub esp, 4
mov dword [esp + 8], esi
mov edx, dword [ebp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._memcpy
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov esi, dword [eax + 0x40]
mov dword [eax + 0x10], ecx
test esi, esi
je 0x4057e8
nop
mov dword [esp], esi
mov edi, esi
call ebx
mov esi, dword [eax + 8]
sub esp, 4
test esi, esi
jne 0x4055c0
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 - 0x24]
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x20]
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 - 0x2c]
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 dword [esp + 0x2c], 0
mov eax, dword [0x408080]
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x30]
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
sub esp, 8
mov dword [esp + 0x18], 0x15
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
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
mov eax, dword [ebp - 0x1c]
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call dbg.MAIN_MessageBoxIDS
mov eax, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.kernel32.dll_LocalFree]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [ebp - 0x24]
mov dword [esp], eax
call ebx
sub esp, 4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x405773
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x405786
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x405799
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call dbg.MAIN_MessageBoxIDS
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4057f5
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x405760
mov ebx, dword [sym.imp.kernel32.dll_LocalFree]
jmp 0x405755
mov eax, dword [ebp - 0x30]
xor edi, edi
add eax, 0x40
jmp 0x4055d4
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
push edx
jmp 0x4057d3