Function at 0x41fda0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a515d
mov eax, dword fs:[0]
push eax
sub esp, 0x49c
mov eax, dword [0x4e54fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x468], esi
mov edi, ecx
mov dword [ebp - 0x474], edi
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x428], edi
mov eax, dword fs:[0x2c]
mov eax, dword [eax]
cmp byte [eax + 0x18], 0
je 0x41fe3e
push 0
push 0x5c
mov ecx, esi
call fcn.0040e8f0
cmp eax, 0xffffffff
jne 0x41fe3e
push 0x4c5fe4
call fcn.00406fd0
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.004072a0
push esi
push eax
push edi
mov dword [ebp - 4], 0
call fcn.0040edb0
add esp, 0x18
lea ecx, [ebp - 0x48c]
jmp 0x420502
xorps xmm0, xmm0
mov dword [ebp - 0x430], 0
xor eax, eax
mov dword [ebp - 0x42c], 7
movups xmmword [ebp - 0x440], xmm0
mov word [ebp - 0x440], ax
mov dword [ebp - 4], 1
cmp dword [esi + 0x10], eax
jne 0x41fe7e
push esi
mov ecx, edi
call fcn.0040f130
jmp 0x4204fc
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41fe88
mov eax, dword [esi]
push 0
push 0
lea ecx, [ebp - 0x464]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHEvaluateSystemCommandTemplate]
test eax, eax
js 0x41fedd
mov edx, dword [ebp - 0x464]
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41feb0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x440]
call fcn.00402740
push dword [ebp - 0x464]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x4202c8
cmp dword [esi + 0x14], 8
mov eax, esi
mov dword [ebp - 0x424], 0
jb 0x41fef1
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x424]
call fcn.00405020
mov byte [ebp - 4], 2
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41ff0b
mov eax, dword [esi]
movzx eax, word [eax]
mov ecx, eax
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x428], ecx
lea ecx, [ebp - 0x424]
call fcn.0041e880
mov byte [ebp - 4], 3
call fcn.00406d20
mov ecx, eax
test ecx, ecx
je 0x420524
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x448], edi
mov eax, 0x4e6050
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0x424]
mov dword [ebp - 0x46c], eax
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x41ffa9
cmp dword [esi - 0xc], 0
jl 0x41ffa9
push ecx
push esi
call fcn.0047fb1d
mov esi, dword [ebp - 0x424]
add esp, 8
test eax, eax
je 0x41ffa3
sub eax, esi
sar eax, 1
mov dword [ebp - 0x470], eax
mov eax, dword [ebp - 0x46c]
js 0x41ffa9
mov edx, dword [eax]
test edx, edx
jne 0x4200cc
xor ecx, ecx
jmp 0x4200e0
mov eax, dword [ebp - 0x46c]
add eax, 4
mov dword [ebp - 0x46c], eax
cmp eax, 0x4e6064
jne 0x41ff60
mov dword [ebp - 0x470], 0xffffffff
cmp word [ebp - 0x444], 0x22
jne 0x420140
mov ecx, dword [ebp - 0x468]
push 0
push 0x5c
call fcn.0040e8f0
cmp eax, 0xffffffff
je 0x420140
mov ecx, dword [ebp - 0x468]
push 2
push 0x22
call fcn.0040e8f0
cmp eax, 0xffffffff
je 0x420140
mov ecx, dword [ebp - 0x468]
inc eax
push eax
push 0
lea eax, [ebp - 0x48c]
push eax
call fcn.004089b0
push eax
lea ecx, [ebp - 0x440]
call fcn.00404ef0
lea ecx, [ebp - 0x48c]
call fcn.00402b30
cmp dword [ebp - 0x470], 0
jge 0x42008e
mov eax, dword [ebp - 0x430]
lea ecx, [ebp - 0x440]
dec eax
push eax
push 0
lea eax, [ebp - 0x4a8]
push eax
call fcn.004089b0
push str..exe_
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 5
push eax
call fcn.00405a60
add esp, 0xc
lea ecx, [ebp - 0x440]
push eax
call fcn.00404ef0
lea ecx, [ebp - 0x48c]
call fcn.00402b30
lea ecx, [ebp - 0x4a8]
call fcn.00402b30
mov ecx, dword [ebp - 0x474]
lea eax, [ebp - 0x440]
push eax
call fcn.00402aa0
lea ecx, [ebp - 0x448]
call fcn.00405000
lea ecx, [ebp - 0x424]
call fcn.00405000
lea ecx, [ebp - 0x440]
call fcn.00402b30
mov eax, dword [ebp - 0x474]
jmp 0x420509
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4200d1
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x448]
call fcn.004056b0
mov ecx, dword [ebp - 0x468]
xor eax, eax
cmp word [ebp - 0x444], 0x22
sete al
add eax, 4
add eax, dword [ebp - 0x470]
push eax
push 0
lea eax, [ebp - 0x48c]
push eax
call fcn.004089b0
push eax
lea ecx, [ebp - 0x440]
call fcn.00404ef0
lea ecx, [ebp - 0x48c]
call fcn.00402b30
mov esi, dword [ebp - 0x424]
mov edi, dword [ebp - 0x448]
jmp 0x41ffc3
cmp dword [ebp - 0x470], 0
jge 0x4201c5
cmp word [ebp - 0x428], 0x22
je 0x4201c5
cmp dword [esi - 0xc], 0
jl 0x4201c5
push str.PROGRAM_FILES
push esi
call fcn.0047fb1d
add esp, 8
test eax, eax
je 0x4201c5
sub eax, dword [ebp - 0x424]
sar eax, 1
mov esi, dword [ebp - 0x468]
js 0x4201cb
add eax, 0xa
mov ecx, esi
push eax
push 0x20
call fcn.0040e8f0
cmp eax, 0xffffffff
jne 0x42019b
push esi
lea ecx, [ebp - 0x440]
call fcn.00404ec0
jmp 0x4201cb
push eax
push 0
lea eax, [ebp - 0x4a8]
mov ecx, esi
push eax
call fcn.004089b0
push eax
lea ecx, [ebp - 0x440]
call fcn.00404ef0
lea ecx, [ebp - 0x4a8]
call fcn.00402b30
jmp 0x4201cb
mov esi, dword [ebp - 0x468]
cmp dword [ebp - 0x430], 0
jne 0x420233
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4201de
mov eax, dword [esi]
lea ecx, [ebp - 0x444]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x428], eax
test eax, eax
je 0x420211
push dword [eax]
lea ecx, [ebp - 0x440]
call fcn.004026c0
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x420233
lea eax, [ebp - 0x440]
cmp eax, esi
je 0x420233
cmp dword [esi + 0x14], 8
mov eax, dword [esi + 0x10]
jb 0x420226
mov esi, dword [esi]
push eax
push esi
lea ecx, [ebp - 0x440]
call fcn.00402740
cmp dword [ebp - 0x42c], 8
lea edx, [ebp - 0x440]
mov eax, dword [ebp - 0x430]
cmovae edx, dword [ebp - 0x440]
or esi, 0xffffffff
test eax, eax
je 0x42027c
dec eax
mov ecx, esi
cmp eax, esi
cmovb ecx, eax
cmp word [edx + ecx*2], 0x2e
lea eax, [edx + ecx*2]
je 0x420273
cmp eax, edx
je 0x42027c
sub eax, 2
cmp word [eax], 0x2e
jne 0x420266
sub eax, edx
sar eax, 1
cmp eax, 0xffffffff
jne 0x42028c
push 0x4c6138
lea ecx, [ebp - 0x440]
call fcn.00405be0
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4202a3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x424]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4202c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x474]
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
mov ecx, dword [ebp - 0x430]
cmovae eax, dword [ebp - 0x440]
test ecx, ecx
je 0x420316
xor esi, esi
mov edx, eax
test ecx, ecx
je 0x420305
cmp word [eax], 0x3a
je 0x420303
cmp ecx, 1
je 0x420305
add edx, 2
dec ecx
cmp word [edx], 0x3a
jne 0x4202f4
mov esi, edx
test esi, esi
je 0x420316
sub esi, eax
sar esi, 1
cmp esi, 0xffffffff
jne 0x4204b4
call fcn.00420e60
test al, al
je 0x42032c
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 8
push 2
cmovae eax, dword [ebp - 0x440]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x420428
call fcn.00420e60
test al, al
je 0x4203c7
push 0x4c5fe4
call fcn.00406fd0
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.004072a0
lea ecx, [ebp - 0x440]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x4a8]
push eax
call fcn.0040edb0
add esp, 0x18
cmp dword [eax + 0x14], 8
jb 0x42039c
mov eax, dword [eax]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
lea ecx, [ebp - 0x4a8]
mov esi, eax
call fcn.00402b30
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 6
call fcn.00402b30
test esi, esi
jne 0x420428
push 0
push 0x5c
lea ecx, [ebp - 0x440]
call fcn.0040e8f0
cmp eax, 0xffffffff
jne 0x42049f
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x218]
push 0
push ecx
push 0x104
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
je 0x42049f
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x440]
call fcn.004026c0
jmp 0x42049f
push 0x208
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_K32GetMappedFileNameW]
test eax, eax
je 0x420498
lea edx, [ebp - 0x420]
lea ecx, [ebp - 0x460]
call fcn.00420530
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x440]
cmp dword [ebp - 0x450], 0
lea eax, [ebp - 0x460]
cmovbe eax, ecx
cmp ecx, eax
je 0x42048d
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x420480
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x440]
call fcn.00402740
lea ecx, [ebp - 0x460]
call fcn.00402b30
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.00420e60
test al, al
je 0x4204b4
push dword [ebp - 0x428]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x440]
mov dword [edi + 0x14], 0
mov word [ebp - 0x440], ax
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x430]
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 7
lea ecx, [ebp - 0x440]
call fcn.00402b30
mov eax, edi
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.0047df69
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00406ac0
int3