Function at 0x10039bf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f94ae
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x1013c014]
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 ecx, dword [esi + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x258], eax
test ecx, ecx
je 0x1003a11b
mov eax, dword [esi]
cmp eax, 1
jne 0x10039d38
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
push edx
mov dword [ebp - 0x224], 0
mov eax, dword [ecx]
push 0x1010fc20
push ecx
call dword [eax]
test eax, eax
jns 0x10039c78
xor esi, esi
mov byte [ebp - 0x219], 0
mov dword [ebp - 0x224], esi
jmp 0x10039d1c
mov esi, dword [ebp - 0x224]
test esi, esi
jne 0x10039c8e
mov byte [ebp - 0x219], 0
jmp 0x10039d1c
push 0x34
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b8], 0x3c
push 0
push eax
mov dword [ebp - 0x2b4], 0x4000004
call fcn.100d6eb0
add esp, 0xc
mov dword [ebp - 0x29c], 1
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetIDListFromObject]
test eax, eax
js 0x10039cf4
mov eax, dword [ebp - 0x220]
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2b8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 0x219], 1
test eax, eax
je 0x10039d0c
push eax
call dword [sym.imp.SHELL32.dll_ILFree]
mov esi, dword [ebp - 0x224]
mov dword [ebp - 0x220], 0
mov dword [ebp - 4], 2
test esi, esi
je 0x10039d2d
mov ecx, dword [esi]
push esi
call dword [ecx + 8]
mov al, byte [ebp - 0x219]
jmp 0x1003a2f0
cmp eax, 2
jne 0x1003a2ee
push ecx
lea ecx, [ebp - 0x228]
call fcn.1003a710
lea ecx, [ebp - 0x23c]
mov dword [ebp - 4], 3
call fcn.1001fb10
push dword [esi + 0x10]
lea ecx, [ebp - 0x22c]
call fcn.1003a780
mov byte [ebp - 4], 5
or edi, 0xffffffff
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1003a097
push eax
lea ecx, [ebp - 0x220]
call fcn.10035030
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x1003a07f
push 0x10103ee0
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.1002d030
add esp, 4
mov eax, dword [ebp - 0x238]
cmp dword [eax - 0xc], 0
je 0x1003a05e
mov dword [ebp - 0x224], 0
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 8
push ecx
push 0x1010fc00
push eax
push 0
push 0x10103a20
call dword [sym.imp.SHELL32.dll_SHCreateItemInKnownFolder]
test eax, eax
js 0x1003a044
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x24c]
push edx
mov dword [ebp - 0x24c], 0
push 0x1010ff10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
test eax, eax
js 0x1003a044
cmp dword [ebp - 0x24c], 0
je 0x1003a044
mov dword [ebp - 0x234], 0
mov byte [ebp - 4], 9
lea edx, [ebp - 0x234]
mov eax, dword [ebp - 0x224]
push edx
push 0x1010ff00
push 0x10103cc0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x1003a030
mov eax, dword [ebp - 0x228]
mov esi, dword [ebp - 0x234]
cmp eax, esi
je 0x10039e9d
mov byte [ebp - 4], 0xa
test esi, esi
je 0x10039e85
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x228], esi
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10039e99
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x220]
lea ecx, [ebp - 0x240]
push 0x1010feec
call fcn.1002d030
add esp, 4
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x90]
mov eax, dword [eax]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x94], ecx
test eax, eax
jne 0x10039edf
xor edx, edx
mov dword [ebp - 0x94], edx
jmp 0x10039fca
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10039ee4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x230], eax
lea eax, [ebp - 0x90]
mov edx, esi
push eax
lea ecx, [ebp - 0x94]
call fcn.1003ba00
add esp, 8
push 0
push 0
push esi
push dword [ebp - 0x94]
mov esi, dword [ebp - 0x250]
push dword [ebp - 0x230]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
sete cl
mov dword [ebp - 0x244], ecx
test eax, eax
jne 0x10039fbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10039fb6
push 0
push 0
push 0
push 0
push dword [ebp - 0x230]
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0x90]
push ecx
push eax
mov edx, esi
lea ecx, [ebp - 0x94]
call fcn.1003ba00
add esp, 8
push 0
push 0
push esi
push dword [ebp - 0x94]
push dword [ebp - 0x230]
push dword [ebp - 0x250]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
jmp 0x10039fbc
mov ecx, dword [ebp - 0x244]
test ecx, ecx
jne 0x1003a32b
mov edx, dword [ebp - 0x94]
mov byte [ebp - 4], 0xd
test edx, edx
jne 0x10039fd6
xor ecx, ecx
jmp 0x10039fe9
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039fe0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x23c]
call fcn.1003afb0
mov eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x90]
cmp eax, ecx
je 0x1003a00f
push eax
call fcn.100d8b6e
add esp, 4
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
mov byte [ebp - 4], 0xe
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a030
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x1003a044
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0x10
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x1003a058
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x238]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0x11
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1003a079
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 0x12
test eax, eax
je 0x1003a08d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x22c]
cmp dword [ebp - 0x228], 0
je 0x1003a0d7
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov ecx, dword [ebp - 0x228]
mov esi, eax
push 1
push 0x3e8
push 1
mov edx, dword [ecx]
push 0
push esi
push ecx
mov dword [ebp - 0x240], esi
call dword [edx + 0xc]
test eax, eax
jns 0x1003a122
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
mov eax, dword [ebp - 0x22c]
mov byte [ebp - 4], 0x16
test eax, eax
je 0x1003a0e5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [ebp - 0x23c]
add edx, 0xfffffff0
mov byte [ebp - 4], 0x17
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1003a104
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0x18
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1003a11b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x1003a2f0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
mov esi, dword [ebp - 0x23c]
test eax, eax
jle 0x1003a29e
dec eax
mov dword [ebp - 0x27c], 0x24
movzx eax, ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x274], xmm0
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0x278], 0x4000000
movq qword [ebp - 0x264], xmm0
mov dword [ebp - 0x25c], 0
cmp dword [esi - 0xc], 0
push 0x104
cmovne eax, esi
mov dword [ebp - 0x26c], eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014ad7c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10159198]
cmp eax, dword [ecx + 4]
jle 0x1003a1e5
push 0x10159198
call fcn.100d4fed
add esp, 4
cmp dword [0x10159198], 0xffffffff
jne 0x1003a1e5
push 0x10159198
mov dword [0x1015919c], 0
call fcn.100d4fa3
add esp, 4
mov byte [ebp - 0x219], 0
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x19
push eax
call fcn.100d3b01
lea eax, [ebp - 0x248]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x219]
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x254]
push eax
push 0x1003bbd0
push 0x1015919c
call fcn.100d3ea8
add esp, 0x10
test eax, eax
je 0x1003a30b
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x1b
push eax
call fcn.100d3b10
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x10158f78
push eax
call fcn.100dc721
add esp, 8
test eax, eax
jne 0x1003a275
or dword [ebp - 0x278], 0x100000
mov eax, dword [ebp - 0x258]
lea edx, [ebp - 0x27c]
mov dword [ebp - 0x274], eax
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x264], 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
push dword [ebp - 0x240]
call dword [sym.imp.USER32.dll_DestroyMenu]
mov byte [ebp - 4], 0x1e
mov eax, dword [ebp - 0x22c]
test eax, eax
je 0x1003a2be
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
add esi, 0xfffffff0
mov byte [ebp - 4], 0x1f
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x1003a2d7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0x20
mov eax, dword [ebp - 0x228]
test eax, eax
je 0x1003a2ee
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
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.100d4906
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x248]
mov byte [ebp - 4], 0x1c
push eax
call fcn.100d3b31
add esp, 4
mov byte [ebp - 4], 0x1a
test al, al
jne 0x1003a345
call fcn.100d3f31
push ecx
mov ecx, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.1003b970
add esp, 4
call fcn.1003be80
sub esp, 8
lea eax, [ebp - 0x248]
mov ecx, esp
push eax
call fcn.10037f40
call fcn.10037fa0
int3