Function at 0x403cf0
Capabilities:
Copy file
Execute command
Get disk information
Get system information on windows
Hide graphical window
Query environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4519b0
mov eax, dword fs:[0]
push eax
sub esp, 0x508
mov eax, dword [0x462080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4cc], edi
mov edx, 0x57
xor esi, esi
nop dword [eax]
mov al, byte [esi + str.__8__5]
xor al, dl
inc edx
mov byte [ebp + esi - 0x514], al
and edx, 0x800000ff
jns 0x403d50
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0x27
jl 0x403d30
lea eax, [ebp - 0x514]
mov byte [ebp - 0x4ed], 0
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 4
push 0x50
call esi
mov ecx, 0x9e
xor edx, edx
nop
mov al, byte [edx + 0x45e4f8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x4dc], al
and ecx, 0x800000ff
jns 0x403da0
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0xb
jl 0x403d80
mov byte [ebp - 0x4d1], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x4dc]
xorps xmm0, xmm0
mov dword [ebp - 0x42c], 0
movups xmmword [ebp - 0x43c], xmm0
mov dword [ebp - 0x428], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x403de0
sub ecx, edx
lea eax, [ebp - 0x4dc]
push ecx
push eax
lea ecx, [ebp - 0x43c]
call fcn.00401e00
cmp dword [ebp - 0x428], 0xf
lea eax, [ebp - 0x43c]
push 0x45e108
cmova eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
add esp, 8
test eax, eax
je 0x403e36
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
mov byte [ebp - 0x4c5], 1
jmp 0x403e3d
mov byte [ebp - 0x4c5], 0
mov ecx, dword [ebp - 0x428]
cmp ecx, 0xf
jbe 0x403e79
mov edx, dword [ebp - 0x43c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x403e6f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403e6f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
cmp byte [ebp - 0x4c5], 0
mov dword [ebp - 4], 0xffffffff
je 0x404238
push 0x64
call esi
push 1
push 0x45e504
push str.MinAh77.ini
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0x64
call esi
push 1
push 0x3ec
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 0x45e530
push 0x3ec
push dword [ebp - 0x4cc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push 0
push 0x3f1
push dword [ebp - 0x4cc]
call edi
push eax
call esi
push 0
push 0x3eb
push dword [ebp - 0x4cc]
call edi
push eax
call esi
push 0
push 0x3ed
push dword [ebp - 0x4cc]
call edi
push eax
call esi
push 0
push 0x3ee
push dword [ebp - 0x4cc]
call edi
push eax
call esi
push 0
push 0x3ef
push dword [ebp - 0x4cc]
call edi
push eax
call esi
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx ecx, word [ebp - 0x428]
lea eax, [ebp - 0x218]
push 0xa
push eax
movzx eax, word [ebp - 0x426]
add eax, dword [ebp - 0x430]
add ecx, eax
push ecx
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea edx, [ebp - 0x218]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x403f76
mov edi, 0x462bd8
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x403f85
mov ecx, edx
lea eax, [ebp - 0x114]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0x104
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
push str.HOMEDRIVE
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edi, [ebp - 0x114]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x403fc0
mov ax, word [0x45de1c]
push 0
push 0
push 0
push 0
mov word [edi], ax
lea eax, [ebp - 0x424]
push eax
push 0
push 0
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x404137
push 0xa
lea eax, [ebp - 0x31c]
push eax
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea edx, [ebp - 0x31c]
add esp, 0xc
mov esi, edx
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x404020
mov edi, 0x462bd8
sub edx, esi
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x404030
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov dword [ebp - 0x4d0], esi
test esi, esi
je 0x404137
push str.GetCurrentHwProfileA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x404130
lea ecx, [ebp - 0x4c4]
push ecx
call eax
test eax, eax
je 0x404130
push 0xa
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x4c4]
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea edx, [ebp - 0x420]
add esp, 0xc
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4040a6
mov edi, 0x462bd8
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4040b5
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x4c0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4040d3
mov edi, 0x462bd8
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4040e2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x499]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x404100
mov ecx, 0x462bd8
sub edx, esi
dec ecx
nop
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x404110
mov edi, ecx
mov ecx, edx
push dword [ebp - 0x4d0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x404131
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
sub esp, 0x18
mov ecx, 0x462bd8
mov edx, esp
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404158
sub ecx, esi
push ecx
push 0x462bd8
mov ecx, edx
call fcn.00401e00
lea ecx, [ebp - 0x43c]
call fcn.00401bb0
add esp, 0x18
cmp dword [eax + 0x14], 0xf
jbe 0x404184
mov eax, dword [eax]
push eax
push 0x3ec
push dword [ebp - 0x4cc]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov ecx, dword [ebp - 0x428]
cmp ecx, 0xf
jbe 0x4041d2
mov edx, dword [ebp - 0x43c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4041c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4041c8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00450407
add esp, 8
mov ecx, 0x73
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x45e534]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x514], al
and ecx, 0x800000ff
jns 0x404200
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x29
jl 0x4041e0
lea eax, [ebp - 0x514]
mov byte [ebp - 0x4eb], 0
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004501c9
mov esp, ebp
pop ebp
ret
push 0x10
sub esp, 0x18
mov ecx, esp
push 0x462bd8
call fcn.00401dc0
lea ecx, [ebp - 0x4e8]
call fcn.00401bb0
add esp, 0x18
lea ecx, [ebp - 0x510]
mov esi, eax
push 0x7f2b64ac
call fcn.00406c50
mov ecx, esi
mov edx, eax
call fcn.00401d60
push eax
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x510]
call fcn.00404e00
lea ecx, [ebp - 0x4e8]
call fcn.00401d70
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]