Function at 0x401290
Capabilities:
Execute command
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x405556
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x409004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
xor edi, edi
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
lea ecx, [ebp - 0x248]
call fcn.00403760
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
mov eax, dword [ebp - 0x238]
cmovae ecx, dword [ebp - 0x248]
lea eax, [ecx + eax*2]
lea ecx, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x248]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x260]
call fcn.00403e70
lea ecx, [ebp - 0x230]
cmp ecx, eax
je 0x401377
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x230], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x220], xmm0
mov dword [eax + 0x10], edi
mov edi, dword [ebp - 0x220]
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x24c]
cmp ecx, 0x10
jb 0x4013b3
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4013a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4013a9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404817
add esp, 8
mov esi, closesocket
mov eax, esi
sub eax, edi
cmp eax, 0xb
jb 0x401595
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
push 0xb
cmovae eax, dword [ebp - 0x230]
push 0x406324
push edi
push eax
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x260]
call fcn.00404610
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x250]
sub esi, ecx
cmp esi, 0xd
jb 0x40159a
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push ecx
cmovae eax, dword [ebp - 0x260]
push eax
push 0xd
push str.attrib_s_h
push ecx
push dword [ebp - 0x27c]
lea ecx, [ebp - 0x278]
call fcn.00404610
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
cmovae eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, dword [ebp - 0x264]
add esp, 4
cmp ecx, 0x10
jb 0x401490
mov edx, dword [ebp - 0x278]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401486
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40156a
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
cmp ecx, 0x10
jb 0x4014e5
mov edx, dword [ebp - 0x260]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4014db
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40156a
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0x234]
cmp ecx, 8
jb 0x401521
mov edx, dword [ebp - 0x248]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x401517
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40156a
push ecx
push edx
call fcn.00404817
add esp, 8
mov ecx, dword [ebp - 0x21c]
xor eax, eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
cmp ecx, 0x10
jb 0x40157a
mov edx, dword [ebp - 0x230]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401570
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x401570
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00404817
add esp, 8
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.004047d9
mov esp, ebp
pop ebp
ret
call fcn.004011e0
call fcn.004011e0
int3