Function at 0x407cd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xdc
mov dword [ebp - 0xa4], eax
test byte [0x4142b4], 8
jne 0x4080b0
mov edi, dword [ebp - 0xa4]
mov esi, dword [sym.imp.user32.dll_SendDlgItemMessageW]
mov dword [0x425368], 1
mov ebx, 0x425020
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], 0x100c
mov dword [esp + 4], 0x412
mov dword [esp], edi
mov dword [ebp - 0xac], esi
call esi
sub esp, 0x14
mov dword [ebp - 0xbc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x1009
mov dword [esp + 4], 0x412
mov dword [esp], edi
call esi
mov byte [ebp - 0x99], 0x41
mov dword [ebp - 0xa8], 0
sub esp, 0x14
mov dword [ebp - 0xa0], 0
jmp 0x407d9f
add ebx, 0x20
mov eax, 0x425360
add byte [ebp - 0x99], 1
cmp eax, ebx
je 0x40800f
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x407d88
cmp byte [ebx], 0x43
mov eax, 1
cmovne eax, dword [ebp - 0xa8]
mov edx, 0x3a
mov word [ebp - 0x93], dx
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov dword [ebp - 0xa8], eax
movzx eax, byte [ebp - 0x99]
mov dword [ebp - 0x90], 5
mov byte [ebp - 0x94], al
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call esi
mov edi, dword [sym.imp.ucrtbase.dll_malloc]
mov ecx, eax
sub esp, 0x18
add eax, eax
mov dword [ebp - 0xb0], ecx
mov dword [esp], eax
call edi
mov edx, eax
test eax, eax
je 0x407e8b
mov ecx, dword [ebp - 0xb0]
mov dword [esp + 0x10], eax
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x94]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call esi
mov edx, dword [ebp - 0xb0]
sub esp, 0x18
cmp word [edx], 0
mov dword [ebp - 0x7c], edx
je 0x408008
mov eax, edx
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407ea0
sub eax, edx
sar eax, 1
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x90]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x70], ebx
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x104d
mov dword [esp + 4], 0x412
call eax
mov eax, dword [ebp - 0x7c]
sub esp, 0x14
mov dword [esp], eax
mov eax, dword [sym.imp.ucrtbase.dll_free]
mov dword [ebp - 0xb0], eax
call eax
mov ecx, dword [ebx + 4]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], ecx
mov dword [ebp - 0xb8], ecx
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call esi
mov edx, eax
sub esp, 0x18
add eax, eax
mov dword [ebp - 0xb4], edx
mov dword [esp], eax
call edi
mov edi, eax
test eax, eax
je 0x407f7e
mov edx, dword [ebp - 0xb4]
mov ecx, dword [ebp - 0xb8]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0xffffffff
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov dword [esp], 0xfdf2
call esi
sub esp, 0x18
mov eax, dword [ebp - 0xa0]
cmp word [edi], 0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x54], 1
mov dword [ebp - 0x50], eax
mov eax, edi
mov dword [ebp - 0x4c], 1
je 0x40808a
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x407fa8
sub eax, edi
sar eax, 1
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 8], 0x104c
mov dword [esp + 4], 0x412
call eax
mov eax, dword [ebp - 0xb0]
sub esp, 0x14
mov dword [esp], edi
call eax
add dword [ebp - 0xa0], 1
jmp 0x407d88
xor eax, eax
jmp 0x407ead
test byte [0x4142b4], 8
jne 0x4080d9
mov eax, dword [ebp - 0xa8]
mov dword [esp + 4], 0x433
test eax, eax
mov eax, dword [ebp - 0xa4]
mov dword [esp], eax
jne 0x408091
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 1
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
mov ecx, dword [ebp - 0xbc]
mov eax, 0
cmp ecx, 0xffffffff
cmovne eax, ecx
mov edx, eax
mov eax, dword [ebp - 0xa4]
call fcn.00407950
mov eax, dword [ebp - 0xa0]
mov dword [0x425368], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x407fb5
call dword [sym.imp.user32.dll_GetDlgItem]
sub esp, 8
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.user32.dll_ShowWindow]
sub esp, 8
jmp 0x408054
mov dword [esp + 0xc], 0x418473
mov dword [esp + 8], str.fill_drives_list
mov dword [esp + 4], 0x4142b4
mov dword [esp], 3
call fcn.00407af0
jmp 0x407cef
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0xc], str.loaded__d_drives_n
mov dword [esp + 8], str.fill_drives_list
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x4142b4
mov dword [esp], 3
call fcn.00407af0
jmp 0x40801c