Function at 0x40be10
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429bbe
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x43481c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor eax, eax
push 0x206
mov dword [ebp - 4], 0
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00413d60
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40c258
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00406af0
mov byte [ebp - 4], 1
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
mov edx, 0x4363e0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call fcn.0040a580
mov edx, 0x4363bc
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 3
call fcn.0040a580
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x40c1cb
mov eax, dword [ebp - 0x238]
cmp dword [eax - 0xc], 0
je 0x40c1cb
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040d2d0
push dword [ebp - 0x224]
lea ecx, [ebp - 0x220]
call fcn.0040de50
test eax, eax
je 0x40c1cb
mov ecx, dword [ebp - 0x220]
call fcn.0040b760
test eax, eax
je 0x40c1cb
push dword [ebp - 0x238]
lea ecx, [ebp - 0x220]
call fcn.0040de50
test eax, eax
je 0x40c1cb
push 0
lea ecx, [ebp - 0x220]
call fcn.0040ddd0
test eax, eax
je 0x40c1cb
mov ecx, dword [ebp - 0x220]
push 0x19dcc
mov edx, 0x4512b8
call fcn.0040b990
add esp, 4
test eax, eax
je 0x40c1cb
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.0040d2d0
call fcn.00407d40
test eax, eax
je 0x40c004
mov edx, 0x436464
lea ecx, [ebp - 0x228]
call fcn.0040a580
mov edx, 0x436428
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 5
call fcn.0040a580
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 6
call fcn.0040d6b0
push dword [ebp - 0x22c]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x228]
call fcn.0040d340
lea ecx, [ebp - 0x22c]
call fcn.00406ba0
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 4
call fcn.00406ba0
mov edx, 0x436384
lea ecx, [ebp - 0x23c]
call fcn.0040a580
mov edx, 0x436350
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 7
call fcn.0040a580
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x23c]
cmp dword [eax - 0xc], 0
je 0x40c1b5
mov eax, dword [ebp - 0x230]
cmp dword [eax - 0xc], 0
je 0x40c1b5
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x220]
call fcn.0040d2d0
push dword [ebp - 0x23c]
lea ecx, [ebp - 0x220]
call fcn.0040de50
test eax, eax
je 0x40c1b5
mov ecx, dword [ebp - 0x220]
call fcn.0040b760
test eax, eax
je 0x40c1b5
push dword [ebp - 0x230]
lea ecx, [ebp - 0x220]
call fcn.0040de50
test eax, eax
je 0x40c1b5
mov esi, dword [ebp - 0x220]
push 0x1ad7c
mov edx, 0x436538
mov ecx, esi
call fcn.0040b990
add esp, 4
test eax, eax
je 0x40c1b5
mov ecx, esi
call fcn.0040bd30
test eax, eax
je 0x40c1b5
mov edx, 0x43632c
lea ecx, [ebp - 0x228]
call fcn.0040a580
mov edx, 0x4362e8
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 9
call fcn.0040a580
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x228]
cmp dword [eax - 0xc], 0
je 0x40c19f
mov ecx, dword [ebp - 0x22c]
cmp dword [ecx - 0xc], 0
je 0x40c19f
cmp dword [0x46c858], 0
je 0x40c12b
push 1
push ecx
push eax
jmp 0x40c15a
push 0
push ecx
mov ecx, dword [ebp - 0x224]
push eax
call fcn.00406a70
mov esi, eax
add esp, 0xc
test esi, esi
je 0x40c16e
call fcn.004061c0
test eax, eax
je 0x40c16a
push 1
push dword [ebp - 0x22c]
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x224]
call fcn.00406a70
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x40c195
mov edx, dword [ebp - 0x224]
mov ecx, dword [ebp - 0x228]
call fcn.0040a1e0
push 0
push 0
push 0
push dword [ebp - 0x224]
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.00410460
call fcn.00410700
lea ecx, [ebp - 0x22c]
call fcn.00406ba0
lea ecx, [ebp - 0x228]
call fcn.00406ba0
lea ecx, [ebp - 0x230]
call fcn.00406ba0
lea ecx, [ebp - 0x23c]
call fcn.00406ba0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x238]
add edx, 0xfffffff0
or esi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, esi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x40c1f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c214
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40c237
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x234]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x40c258
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00411784
mov esp, ebp
pop ebp
ret