Function at 0x404a60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x48
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 - 0x20], 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 - 0x10], 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 - 0x14], 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 - 0x18], 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 - 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 - 0x10]
mov dword [ebp - 0x24], eax
sub esp, 8
test edx, edx
je 0x404e00
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x404e00
mov edi, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
test eax, eax
sete dl
test ecx, ecx
sete al
or dl, al
jne 0x404d7d
test edi, edi
je 0x404d7d
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call esi
mov edi, eax
mov eax, dword [ebp - 0x14]
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 - 0x18]
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 - 0x1c]
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 - 0x24]
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 - 0x20]
mov edx, dword [ebp - 0x10]
mov esi, dword [eax + 0x40]
mov dword [eax + 0x10], edx
test esi, esi
je 0x404d70
mov dword [esp], esi
mov edi, esi
call ebx
mov esi, dword [eax + 8]
sub esp, 4
test esi, esi
jne 0x404c00
add eax, 8
mov esi, dword [ebp - 0x10]
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 - 0x14]
mov dword [ebx + 8], 0
mov dword [ebx + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebx + 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0x24]
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 [0x406020]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], eax
mov eax, dword [ebp - 0x20]
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 - 0x10]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x20]
xor edi, edi
add eax, 0x40
jmp 0x404c14
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call sym._MAIN_MessageBoxIDS
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x404dbb
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x404dce
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x404de1
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
sub esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x404e28
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
mov dword [ebp - 0x10], 0
sub esp, 4
jmp 0x404d5f
mov dword [esp + 8], 0
mov dword [esp + 4], 3
mov dword [esp], 0xd
call sym._MAIN_MessageBoxIDS
cmp dword [ebp - 0x10], 0
jne 0x404d99
jmp 0x404da8
mov dword [ebp - 0x10], 0
jmp 0x404d5f