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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11831fe
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x118b520]
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
push eax
lea ecx, [ebp - 0x21a]
mov dword [ebp - 4], 0
push ecx
mov word [ebp - 0x21c], ax
call fcn.011733e0
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x21c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x116bcb0
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x21c]
call fcn.01166820
mov byte [ebp - 4], 1
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebp - 0x220], eax
lea ecx, [ebp - 0x224]
push 0x118c754
push ecx
mov byte [ebp - 4], 2
call fcn.0116a1b0
add esp, 8
lea edx, [ebp - 0x238]
push 0x11af774
push edx
mov byte [ebp - 4], 3
call fcn.0116a1b0
add esp, 8
mov bl, 4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x224]
cmp dword [eax - 0xc], 0
je 0x116bc18
mov ecx, dword [ebp - 0x238]
cmp dword [ecx - 0xc], 0
je 0x116bc18
lea eax, [ebp - 0x234]
lea edi, [ebp - 0x220]
call fcn.0116cde0
mov eax, dword [ebp - 0x224]
mov esi, edi
call fcn.0116d940
test eax, eax
je 0x116bc18
mov ecx, dword [ebp - 0x220]
call fcn.0116b220
test eax, eax
je 0x116bc18
mov eax, dword [ebp - 0x238]
call fcn.0116d940
test eax, eax
je 0x116bc18
xor eax, eax
call fcn.0116d8b0
test eax, eax
je 0x116bc18
mov edx, dword [ebp - 0x220]
push 0x118c780
mov ecx, 0x22ff1
call fcn.0116b450
add esp, 4
test eax, eax
je 0x116bc18
mov eax, edi
lea edi, [ebp - 0x224]
call fcn.0116cde0
call fcn.01167a70
test eax, eax
je 0x116ba4a
lea edx, [ebp - 0x228]
push 0x118c624
push edx
call fcn.0116a1b0
add esp, 8
lea eax, [ebp - 0x22c]
push 0x118c6bc
push eax
mov byte [ebp - 4], 5
call fcn.0116a1b0
add esp, 8
mov byte [ebp - 4], 6
call fcn.0116d290
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
push ecx
push edx
mov eax, edi
push eax
call fcn.0116ce50
lea eax, [ebp - 0x22c]
call fcn.0116e5b0
lea eax, [ebp - 0x228]
mov byte [ebp - 4], bl
call fcn.0116e5b0
lea ecx, [ebp - 0x23c]
push 0x11cb760
push ecx
call fcn.0116a1b0
add esp, 8
lea edx, [ebp - 0x230]
push 0x11cb7d8
push edx
mov byte [ebp - 4], 7
call fcn.0116a1b0
add esp, 8
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x23c]
cmp dword [eax - 0xc], 0
je 0x116bc02
mov ecx, dword [ebp - 0x230]
cmp dword [ecx - 0xc], 0
je 0x116bc02
lea eax, [ebp - 0x234]
lea edi, [ebp - 0x220]
call fcn.0116cde0
mov eax, dword [ebp - 0x23c]
mov esi, edi
call fcn.0116d940
test eax, eax
je 0x116bc02
mov ecx, dword [ebp - 0x220]
call fcn.0116b220
test eax, eax
je 0x116bc02
mov eax, dword [ebp - 0x230]
call fcn.0116d940
test eax, eax
je 0x116bc02
mov edx, dword [ebp - 0x220]
push 0x11af7c8
mov ecx, 0x1bf26
call fcn.0116b450
add esp, 4
test eax, eax
je 0x116bc02
mov ecx, dword [ebp - 0x220]
call fcn.0116b730
test eax, eax
je 0x116bc02
lea edx, [ebp - 0x228]
push str.O_BLQ_
push edx
call fcn.0116a1b0
add esp, 8
lea eax, [ebp - 0x22c]
push 0x11cb800
push eax
mov byte [ebp - 4], 9
call fcn.0116a1b0
add esp, 8
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x228]
cmp dword [edx - 0xc], 0
je 0x116bbec
mov eax, dword [ebp - 0x22c]
cmp dword [eax - 0xc], 0
je 0x116bbec
cmp dword [0x11cd614], 0
mov ecx, dword [ebp - 0x224]
je 0x116bb7d
push 1
push eax
jmp 0x116bbac
push 0
push eax
call fcn.01166780
mov esi, eax
add esp, 8
test esi, esi
je 0x116bbba
call fcn.01165ee0
test eax, eax
je 0x116bbb6
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x228]
push 1
push ecx
mov ecx, dword [ebp - 0x224]
call fcn.01166780
mov esi, eax
add esp, 8
test esi, esi
jne 0x116bbe2
mov ecx, dword [ebp - 0x224]
mov edx, dword [ebp - 0x228]
call fcn.01169e70
mov edx, dword [ebp - 0x224]
push 0
push 0
push 0
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
call fcn.0116fe60
call fcn.011700f0
lea eax, [ebp - 0x22c]
call fcn.0116e5b0
lea eax, [ebp - 0x228]
call fcn.0116e5b0
lea eax, [ebp - 0x230]
call fcn.0116e5b0
lea eax, [ebp - 0x23c]
call fcn.0116e5b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x238]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x116bc3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x224]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x116bc64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x116bc8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x234]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x116bcb0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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.011713cb
mov esp, ebp
pop ebp
ret