Function at 0x404bf0
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
inc eax
mov dword [esp + 4], eax
call edi
mov edx, dword [ebp + 0x1c]
sub esp, 8
mov dword [ebp - 0x20], eax
mov dword [esp], edx
call esi
mov dword [esp], 0
inc eax
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
inc eax
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
inc eax
mov dword [esp + 4], eax
call edi
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], eax
sub esp, 8
test edx, edx
je 0x404f90
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x404f90
mov edi, eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
test eax, eax
sete dl
test ecx, ecx
sete al
or dl, al
jne 0x404f0d
test edi, edi
je 0x404f0d
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x20]
inc edi
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]
inc edi
mov dword [esp], eax
call ebx
mov ecx, dword [ebp + 0x1c]
sub esp, 4
mov dword [esp + 4], ecx
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]
inc edi
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]
inc esi
mov dword [esp], eax
call ebx
mov ecx, dword [ebp + 0x28]
sub esp, 4
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sym._memcpy
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov esi, dword [eax + 0x40]
mov dword [eax + 0x10], edx
test esi, esi
je 0x404f00
mov dword [esp], esi
mov edi, esi
call ebx
mov esi, dword [eax + 8]
sub esp, 4
test esi, esi
jne 0x404d90
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 [0x407020]
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 dword [sym.imp.user32.dll_CreateWindowExW]
mov ecx, dword [ebp + 0x10]
sub esp, 0x30
mov dword [ebx + 0xc], eax
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowTextA]
sub esp, 8
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
sub esp, 0xc
mov dword [esp + 4], 2
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
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 dword [sym.imp.user32.dll_SetWindowPos]
mov eax, dword [ebx + 0xc]
sub esp, 0x1c
mov dword [esp], eax
call dword [sym.imp.user32.dll_UpdateWindow]
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 0x404da4
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call sym._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 0x404f4b
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x404f5e
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x404f71
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x404fb8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [ebp - 0x1c], 0
sub esp, 4
jmp 0x404eef
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call sym._MAIN_MessageBoxIDS
cmp dword [ebp - 0x1c], 0
jne 0x404f29
jmp 0x404f38
mov dword [ebp - 0x1c], 0
jmp 0x404eef