Function at 0x405e34
Capabilities:
Copy file
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.00414000
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov edi, 0x423b40
push 1
push edi
call fcn.0040952b
mov esi, 0x422de0
push esi
call fcn.00405d9e
add esp, 0x10
test eax, eax
je 0x405e6d
call fcn.004059e0
jmp 0x405e73
mov dword [0x420b08], ebx
lea eax, [ebp - 0x66c]
push esi
push eax
call fcn.00413500
push edi
lea eax, [ebp - 0x66c]
push str.wincmd.ini
push eax
call fcn.00405740
add esp, 0x14
cmp byte [ebp - 0x66c], bl
je 0x405eb5
lea eax, [ebp - 0x66c]
push eax
push edi
push 0x4237e0
push 0x423b00
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x41c04c], ebx
je 0x405ee9
push ebx
push 0x80000001
call fcn.00405b73
cmp dword [0x420b0c], ebx
pop ecx
pop ecx
je 0x405ee9
mov esi, 0x80000002
push ebx
push esi
call fcn.00405b73
push 1
push esi
call fcn.00405b73
add esp, 0x10
mov esi, 0x103
lea eax, [ebp - 0x468]
push esi
push eax
call fcn.0040c6ed
lea eax, [ebp - 0x468]
push eax
call fcn.0040919c
push edi
call fcn.0040919c
add esp, 0x10
mov dword [ebp - 8], ebx
call fcn.004056a8
test eax, eax
jne 0x406575
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
inc dword [ebp - 4]
lea eax, [ebp - 0x18]
push 0xa
push eax
push dword [ebp - 4]
call fcn.00413472
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x18]
push 0x420b98
push eax
push 0x4236a0
call fcn.00403881
add esp, 0x20
cmp byte [ebp - 0x220], bl
je 0x405ffb
mov edi, 0x41c328
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.00413697
push edi
push ebx
call fcn.00413697
mov edi, eax
add esp, 0x10
cmp edi, ebx
jne 0x405f8a
mov edi, 0x41caf4
jmp 0x405f96
movsx eax, byte [edi]
push eax
call fcn.00413f34
pop ecx
mov byte [edi], al
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.00413500
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0040c6bc
add esp, 0x14
cmp byte [edi], 0x43
jne 0x405fdf
push dword [0x41c06c]
push 0x423c60
push 0x423860
call fcn.0040a151
add esp, 0xc
jmp 0x405fec
lea eax, [ebp - 0x220]
push eax
call fcn.00404952
pop ecx
add dword [ebp - 0xc], eax
cmp byte [ebp - 0x220], bl
jne 0x405f26
push ebx
push dword [0x422bf8]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [0x422bf8]
push dword [0x423968]
call fcn.00401699
pop ecx
mov dword [0x420b04], eax
pop ecx
push 0x423420
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push dword [ebp - 0xc]
call fcn.00401793
push 0xd
push 0x78
push dword [0x420b04]
mov dword [ebp - 0x10], ebx
call fcn.0040a9ea
add esp, 0x10
mov dword [ebp - 4], ebx
inc dword [ebp - 4]
lea eax, [ebp - 0x18]
push 0xa
push eax
push dword [ebp - 4]
call fcn.00413472
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x18]
push 0x420b98
push eax
push 0x4236a0
call fcn.00403881
add esp, 0x20
cmp byte [ebp - 0x220], bl
je 0x4062e6
mov edi, 0x41c328
lea eax, [ebp - 0x220]
push edi
push eax
call fcn.00413697
push edi
push ebx
call fcn.00413697
mov edi, eax
lea eax, [ebp - 0x11c]
push 0x423860
push eax
call fcn.00413500
push esi
lea eax, [ebp - 0x11c]
push 0x41c534
push eax
call fcn.0040c6bc
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0040c6bc
add esp, 0x30
cmp edi, ebx
mov byte [ebp - 0x364], bl
jne 0x4060ed
mov edi, 0x41caf4
jmp 0x406101
movsx eax, byte [edi]
push eax
call fcn.00413f34
mov byte [edi], al
cmp byte [ebp - 0x364], bl
pop ecx
jne 0x406114
lea eax, [ebp - 0x364]
push 0x423b40
push eax
call fcn.00413500
pop ecx
pop ecx
lea eax, [ebp - 0x220]
push esi
push eax
lea eax, [ebp - 0x364]
push eax
call fcn.0040c6bc
lea eax, [ebp - 0x364]
push eax
push 0x422c80
call fcn.00413500
add esp, 0x14
cmp byte [edi], 0x43
jne 0x406181
lea eax, [ebp - 0x364]
push 0x5c
push eax
call fcn.00413670
pop ecx
cmp eax, ebx
pop ecx
je 0x406157
mov byte [eax], bl
push dword [0x41c06c]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x364]
push eax
push 0x423c60
push 0x423860
call fcn.00409f36
mov edi, eax
add esp, 0x14
mov dword [ebp - 8], edi
jmp 0x4061aa
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x423c60
push 0x423860
call fcn.00404b07
add esp, 0x14
mov dword [ebp - 8], eax
mov edi, eax
cmp edi, 0xfffffffb
je 0x40627f
cmp edi, 0xfffffffc
je 0x4061ec
cmp edi, 0xfffffffd
je 0x40627f
cmp edi, 0xfffffffe
jne 0x40629d
lea eax, [ebp - 0x11c]
push 0x3ff
push eax
lea eax, [ebp - 0x106c]
push 0x12
push eax
call fcn.0040ab9f
add esp, 0x10
jmp 0x4062a5
lea eax, [ebp - 0x106c]
push 0x3ff
push eax
push 0x14
call fcn.0040aa65
cmp dword [0x420b28], ebx
jne 0x406211
mov dword [0x420b28], 3
push 0xff
lea eax, [ebp - 0x86c]
push 0x423420
push eax
call fcn.0040c7b3
add esp, 0xc
cmp dword [0x420b1c], ebx
jne 0x406260
lea eax, [ebp - 0x86c]
push 0x30
push eax
lea eax, [ebp - 0x106c]
push eax
push dword [0x420b04]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp edi, 0xfffffffd
je 0x406258
cmp edi, 0xfffffffb
jne 0x406260
cmp dword [0x420b40], ebx
jne 0x4062b4
cmp edi, 1
je 0x40626a
cmp edi, 0xffffffff
jne 0x40626d
mov dword [ebp - 8], ebx
cmp byte [ebp - 0x220], bl
je 0x4062e6
cmp dword [ebp - 8], ebx
jne 0x4062e6
jmp 0x40604c
push 0x3ff
push 0x422c80
lea eax, [ebp - 0x106c]
push 0x13
push eax
call fcn.0040ab9f
add esp, 0x10
cmp edi, 0xfffffffe
jg 0x40626d
jne 0x4061ff
mov dword [0x420b28], 2
jmp 0x406211
push 1
push dword [0x422bf8]
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00401786
push str.c:_totalcmd
push 0x423b40
mov dword [0x420b04], ebx
call fcn.00413500
pop ecx
pop ecx
push 1
pop eax
jmp 0x40658e
cmp dword [0x420b24], ebx
je 0x4063e2
cmp word [0x423c60], bx
je 0x406342
mov edi, 0x423c60
push esi
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.0040c7db
lea eax, [ebp - 0x11c]
push 0xff
push eax
lea eax, [ebp - 0x86c]
push eax
call fcn.0040c7b3
lea eax, [ebp - 0x86c]
push edi
push eax
call fcn.00413eff
add esp, 0x20
test eax, eax
je 0x406355
mov byte [ebp - 0x11c], bl
jmp 0x406355
lea eax, [ebp - 0x11c]
push 0x423860
push eax
call fcn.00413500
pop ecx
pop ecx
lea eax, [ebp - 0x11c]
push 0x5c
push eax
call fcn.00413670
pop ecx
cmp eax, ebx
pop ecx
je 0x40636c
mov byte [eax + 1], bl
mov edi, str.wincmd.key
push esi
lea eax, [ebp - 0x11c]
push edi
push eax
call fcn.0040c6bc
lea eax, [ebp - 0x364]
push 0x423b40
push eax
call fcn.00413500
push esi
lea eax, [ebp - 0x364]
push edi
push eax
call fcn.0040c6bc
add esp, 0x20
lea eax, [ebp - 0x364]
push 1
push eax
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x4063e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4063e2
push dword [0x420b04]
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x11c]
push eax
call fcn.0040b671
add esp, 0xc
mov eax, dword [0x41c068]
cmp eax, ebx
jle 0x406400
xor ecx, ecx
cmp eax, 2
setne cl
push ecx
push 0x423b40
call fcn.00407244
pop ecx
pop ecx
push 0x63
call fcn.004014a2
cmp dword [ebp - 8], ebx
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
pop ecx
jne 0x4064fa
cmp dword [0x41c044], ebx
je 0x406424
call fcn.00404e56
cmp dword [0x41c040], ebx
je 0x406431
call fcn.0040498e
lea eax, [ebp - 0x260]
push 0x3f
push eax
push str.none
push str.Groupname
push 0x422c00
call fcn.00403881
add esp, 0x14
cmp dword [0x41c038], ebx
je 0x4064d7
push 0xe
push 0x82
push dword [0x420b04]
call fcn.0040a9ea
add esp, 0xc
cmp dword [0x423800], ebx
je 0x40648b
push dword [0x4240ac]
lea eax, [ebp - 0x260]
push eax
call fcn.00404433
pop ecx
jmp 0x406497
lea eax, [ebp - 0x260]
push eax
call fcn.00404270
mov edi, dword [sym.imp.USER32.dll_BringWindowToTop]
pop ecx
push dword [0x422bf8]
call edi
push dword [0x420b04]
call edi
push 0x3e8
call esi
push dword [0x422bf8]
mov edi, dword [sym.imp.USER32.dll_SetForegroundWindow]
call edi
push dword [0x420b04]
call edi
push dword [0x420b04]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [0x41c03c], ebx
je 0x4064fa
cmp dword [0x423800], ebx
je 0x4064f5
push dword [0x4240ac]
call fcn.00404784
pop ecx
jmp 0x4064fa
call fcn.0040463f
push 0x64
call fcn.004014a2
pop ecx
push 0x64
call esi
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
push 1
push dword [0x422bf8]
call dword [sym.imp.USER32.dll_EnableWindow]
call fcn.00401786
mov dword [0x420b04], ebx
call section..text
cmp dword [0x420b1c], ebx
jne 0x406560
cmp dword [ebp - 8], ebx
jne 0x40654c
push 0x40
push 0xffffffffffffffff
push 0xf
jmp 0x406552
push 0x30
push 0xffffffffffffffff
push 0x10
push dword [0x422bf8]
call fcn.0040ab69
add esp, 0x10
cmp dword [0x423e68], ebx
je 0x406575
push 7
push 0x423fa0
call dword [sym.imp.KERNEL32.dll_WinExec]
push ebx
push 0xf060
push 0x112
push dword [0x422bf8]
call dword [sym.imp.USER32.dll_PostMessageA]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret