Function at 0x5e7dc0
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60399a
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x55], dl
mov edi, ecx
mov dword [ebp - 0x68], edi
xorps xmm0, xmm0
mov byte [ebp - 0x57], 0
push 1
mov byte [ebp - 0x56], 0
xor bl, bl
mov byte [ebp - 0x58], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x20], 0
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], 0
call fcn.005dc190
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc570
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.005dc190
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 0x54], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x5e85c4
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x5e85c4
cmp eax, 1
jne 0x5e7e98
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x5e85c6
mov ecx, dword [esi]
call fcn.005e1200
test al, al
jne 0x5e85c6
push 1
push dword [esi]
mov ecx, edi
call fcn.005dc260
mov bl, byte [eax + 8]
jmp 0x5e85c6
xorps xmm0, xmm0
mov dword [ebp - 0x24], 0
push 1
movq qword [ebp - 0x2c], xmm0
lea ecx, [ebp - 0x2c]
push dword [esi]
call fcn.005dc570
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x38]
movq qword [ebp - 0x38], xmm0
call fcn.005dc5e0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x44]
movq qword [ebp - 0x44], xmm0
call fcn.005dc5e0
push 0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.005dbf40
push 0x62444c
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
jne 0x5e7f91
push str.svchost
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
jne 0x5e7f91
push str.wscript
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
je 0x5e7f44
mov byte [ebp - 0x59], 1
mov eax, str..vbs.vbe
jmp 0x5e7f9a
push str.regsvr32
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
jne 0x5e7f86
push str.rundll32
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
jne 0x5e7f86
push str.regedit
lea ecx, [ebp - 0x2c]
call fcn.005dc4c0
test al, al
je 0x5e8557
mov byte [ebp - 0x58], 1
mov eax, str..reg
jmp 0x5e7f9a
mov byte [ebp - 0x56], 1
mov eax, str..dll.cpl.ocx
jmp 0x5e7f9a
mov byte [ebp - 0x57], 1
mov eax, str..exe.com.bat.cmd
lea ecx, [ebp - 0x44]
push eax
call fcn.005dc510
mov ecx, 1
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x20], ecx
jle 0x5e8557
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop word [eax + eax]
push dword [esi + ecx*4]
lea ecx, [ebp - 0x1c]
call fcn.005dc510
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
test eax, eax
je 0x5e8544
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc440
cmp word [eax], 0x2d
je 0x5e8544
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc440
cmp word [eax], 0x2f
je 0x5e8544
cmp byte [ebp - 0x56], 0
je 0x5e8035
push 0
push 1
push 1
push 0
push 0x624514
lea ecx, [ebp - 0x1c]
call fcn.005daa70
cmp eax, 1
jle 0x5e802d
dec eax
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dae00
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
push ecx
lea ecx, [ebp - 0x1c]
call fcn.005dc0b0
push eax
lea ecx, [ebp - 0x38]
call fcn.005dc510
lea ecx, [ebp - 0x38]
call fcn.005dc3a0
cmp eax, 4
jle 0x5e8087
push 4
lea ecx, [ebp - 0x38]
call fcn.005dae00
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x1c]
call fcn.005daa70
test eax, eax
je 0x5e8087
add eax, 3
lea ecx, [ebp - 0x1c]
push eax
call fcn.005dae00
lea ecx, [ebp - 0x38]
call fcn.005dc3a0
push 0
push 1
push 1
push 0
push 0x624518
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x60], eax
call fcn.005daa70
mov edi, eax
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x5e811f
cmp byte [ebp - 0x57], 0
jne 0x5e80de
push 0
push 1
push 1
push 0
lea ecx, [ebp - 0x38]
call fcn.005dc190
push eax
lea ecx, [ebp - 0x44]
call fcn.005daa70
test eax, eax
je 0x5e8544
mov eax, dword [ebp - 0x60]
test eax, eax
jle 0x5e811f
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x5e80f2
call fcn.005dc190
push eax
call ebx
jmp 0x5e8540
push 0
call fcn.005dc190
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.005db9a0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
push eax
call edi
jmp 0x5e8540
cmp byte [ebp - 0x56], 0
je 0x5e824e
test edi, edi
jle 0x5e81b1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dll
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
lea ecx, [ebp - 0x1c]
lea edi, [eax - 2]
push edi
push 0x62452c
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
push edi
push 0x624534
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
jmp 0x5e8540
cmp byte [ebp - 0x55], 0
je 0x5e8544
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..dll
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
push 0
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.005dc190
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.005db9a0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
add edi, 0xfffffffe
lea ecx, [ebp - 0x1c]
push edi
push 0x62452c
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
push edi
push 0x624534
jmp 0x5e8527
cmp byte [ebp - 0x59], 0
je 0x5e8339
test edi, edi
jle 0x5e82a8
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..vbs
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
add eax, 0xfffffffe
push eax
push 0x624548
jmp 0x5e8199
cmp byte [ebp - 0x55], 0
je 0x5e8544
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..vbs
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
push 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x60], eax
call fcn.005dc190
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.005db9a0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
push eax
call edi
test eax, eax
jne 0x5e8589
mov eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x1c]
add eax, 0xfffffffe
push eax
push 0x624548
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call edi
jmp 0x5e8540
cmp byte [ebp - 0x58], 0
je 0x5e83cc
test edi, edi
jle 0x5e837a
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..reg
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
jmp 0x5e8540
cmp byte [ebp - 0x55], 0
je 0x5e8544
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str..reg
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.005db9a0
jmp 0x5e852f
cmp byte [ebp - 0x57], 0
je 0x5e8544
test edi, edi
jle 0x5e846c
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6243cc
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
lea ecx, [ebp - 0x1c]
lea edi, [eax - 2]
push edi
push 0x624550
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
push edi
push 0x624558
lea ecx, [ebp - 0x1c]
call fcn.005da210
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call ebx
test eax, eax
jne 0x5e8589
push edi
push 0x62444c
jmp 0x5e8199
cmp byte [ebp - 0x55], 0
je 0x5e8544
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x6243cc
lea ecx, [ebp - 0x1c]
call fcn.005da780
lea ecx, [ebp - 0x1c]
call fcn.005dc3a0
push 0
lea ecx, [ebp - 0x1c]
mov edi, eax
call fcn.005dc190
push eax
push 0x104
lea ecx, [ebp - 0x1c]
call fcn.005db9a0
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
add edi, 0xfffffffe
lea ecx, [ebp - 0x1c]
push edi
push 0x624550
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
push edi
push 0x624558
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
push edi
push 0x62444c
lea ecx, [ebp - 0x1c]
call fcn.005da210
push 0
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindOnPathW]
test eax, eax
jne 0x5e8589
mov ecx, dword [ebp - 0x64]
inc ecx
mov dword [ebp - 0x64], ecx
cmp ecx, dword [ebp - 0x20]
jl 0x5e7fc0
mov edi, dword [ebp - 0x68]
push 1
push dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.005dc260
mov dl, byte [ebp - 0x55]
lea ecx, [ebp - 0x1c]
call fcn.005e7990
test al, al
je 0x5e85a0
push 1
lea ecx, [ebp - 0x1c]
call fcn.005dc190
push eax
mov ecx, edi
call fcn.005dc260
mov bl, byte [eax + 8]
jmp 0x5e85a2
lea ecx, [ebp - 0x1c]
call fcn.005dc190
mov ecx, dword [ebp - 0x68]
push 1
push eax
call fcn.005dc260
mov bl, 1
jmp 0x5e85a2
xor bl, bl
lea ecx, [ebp - 0x44]
call fcn.005dc430
lea ecx, [ebp - 0x38]
call fcn.005dc430
lea ecx, [ebp - 0x1c]
call fcn.005dc430
lea ecx, [ebp - 0x2c]
call fcn.005dc430
jmp 0x5e85ca
xor bl, bl
test esi, esi
je 0x5e85d1
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp - 0x50]
call fcn.005dc430
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
ret