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

Disassembly:
push 0xffffffffffffffff
push 0x4818b8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e701
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], 0
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e733
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x3c], 1
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e762
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov byte [esp + 0x3c], 2
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41e791
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
push 0x490718
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 3
call fcn.00404a50
xor ecx, ecx
mov byte [esp + 0x3c], 4
mov dword [esp + 0x18], ecx
lea ebx, [ecx + 1]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
cmp eax, ecx
jle 0x41e85d
test ecx, ecx
jl 0x41e868
cmp ecx, eax
jge 0x41e868
mov edx, dword [edx + 4]
mov ebp, dword [edx + ecx*4]
xor edi, edi
test ebx, ebx
je 0x41e84a
lea ecx, [ecx]
cmp dword [ebp + 0x14], edi
jle 0x41e84a
test edi, edi
jl 0x41e868
cmp edi, dword [ebp + 0x14]
jge 0x41e868
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x41e83f
test dword [esi + 0xc], 0xe
je 0x41e83f
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test eax, eax
je 0x41e83f
mov eax, dword [esi + 0xc]
test eax, 0x40000000
je 0x41e83f
test eax, 0x200
je 0x41e83f
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x28]
push eax
mov ecx, esi
call edx
xor ebx, ebx
mov ecx, dword [esp + 0x18]
add edi, 1
test ebx, ebx
jne 0x41e7f0
add ecx, 1
test ebx, ebx
mov dword [esp + 0x18], ecx
jne 0x41e7c2
mov edx, dword [esp + 0x48]
xor ecx, ecx
mov dword [esp + 0x18], ecx
lea ebp, [ecx + 1]
jmp 0x41e874
call fcn.00442afc
lea ecx, [ecx]
mov edx, dword [esp + 0x48]
mov eax, dword [edx + 8]
cmp eax, ecx
jle 0x41ea3e
test ecx, ecx
jl 0x41e868
cmp ecx, eax
jge 0x41e868
mov eax, dword [edx + 4]
mov edi, dword [eax + ecx*4]
xor ebx, ebx
test ebp, ebp
mov dword [esp + 0x2c], edi
je 0x41ea2f
jmp 0x41e8a0
cmp dword [edi + 0x14], ebx
jle 0x41ea2f
test ebx, ebx
jl 0x41e868
cmp ebx, dword [edi + 0x14]
jge 0x41e868
mov ecx, dword [edi + 0x10]
mov esi, dword [ecx + ebx*4]
test esi, esi
je 0x41ea20
test dword [esi + 0xc], 0xe
je 0x41ea20
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
test eax, eax
je 0x41ea20
mov eax, dword [esi + 0xc]
test eax, 0x40000000
je 0x41ea20
test eax, 0x200
je 0x41e913
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call edx
test eax, eax
je 0x41e913
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
call fcn.004092e0
push esi
lea ecx, [esp + 0x24]
call fcn.0042e0f0
test eax, eax
je 0x41ea20
call fcn.0042e940
test eax, 0x40000
je 0x41e960
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004280b0
add esp, 4
test eax, eax
je 0x41e960
call fcn.00429640
mov edi, eax
test edi, edi
je 0x41e960
push edi
lea ecx, [esp + 0x24]
call fcn.00404e00
push edi
call fcn.00442886
add esp, 4
mov edx, dword [esp + 0x20]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov edi, eax
call fcn.004316a0
test edi, edi
jne 0x41ea1c
test eax, eax
je 0x41ea1c
mov edi, dword [esp + 0x44]
push edi
lea eax, [esp + 0x18]
call fcn.0041ebc0
mov ebp, eax
test ebp, ebp
je 0x41ea1c
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], 0
call fcn.00404d90
mov ecx, dword [esp + 0x4c]
call fcn.004027a0
push eax
push esi
lea esi, [esp + 0x2c]
call fcn.0042e1d0
push 0x490744
push 0x49074c
mov eax, esi
push eax
call fcn.004195b0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push 0x490750
push ecx
call fcn.004048d0
add esp, 0x14
push 0x48cd24
lea ecx, [esp + 0x20]
call fcn.00409260
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [esp + 0x34]
push edx
mov edx, dword [edi + 4]
add ecx, ecx
push ecx
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
add ebx, 1
test ebp, ebp
jne 0x41e8a0
add ecx, 1
test ebp, ebp
mov dword [esp + 0x18], ecx
jne 0x41e870
mov esi, dword [esp + 0x44]
mov eax, dword [esi + 4]
xor ebx, ebx
test eax, eax
setne bl
test ebx, ebx
je 0x41ead3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x14]
mov dword [esi + 4], 0
cmp dword [edi - 4], 1
jle 0x41ea7d
mov eax, dword [edi - 0xc]
push eax
lea ecx, [esp + 0x18]
call fcn.00404810
mov edi, dword [esp + 0x14]
call fcn.00425390
mov edx, dword [esp + 0x14]
test edx, edx
jne 0x41ea8e
xor eax, eax
jmp 0x41eaa8
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ea93
sub eax, esi
sar eax, 1
js 0x41eba7
cmp eax, dword [edx - 8]
jg 0x41eba7
push 4
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 0x18]
push 0
push 0
mov word [ecx + eax*2], 0
mov edx, dword [esp + 0x20]
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [esp + 0x3c], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eaf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 2
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb1d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 1
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb67
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x3c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41eb8f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc
push 0x80070057
call fcn.00402720
int3