Function at 0x10033820
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10110d91
mov eax, dword fs:[0]
push eax
sub esp, 0xf8
mov eax, dword [0x102ac760]
xor eax, esp
mov dword [esp + 0xf4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x102ac760]
xor eax, esp
push eax
lea eax, [esp + 0x10c]
mov dword fs:[0], eax
mov ebx, edx
xor edi, edi
mov dword [esp + 0x114], edi
xor eax, eax
mov word [esp + 0xb8], ax
mov ebp, 7
mov eax, ecx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], edi
lea esi, [eax + 2]
jmp 0x10033890
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x10033890
sub eax, esi
sar eax, 1
push eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.10004210
push 0x38
lea ecx, [esp + 0x20]
push edi
push ecx
mov byte [esp + 0x120], 1
call fcn.100b2d30
lea edx, [esp + 0xdc]
push edx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], 0x40
mov dword [esp + 0x30], edi
call fcn.100fe7c0
add esp, 0x10
push 2
mov byte [esp + 0x118], 2
mov ecx, dword [eax + 0x14]
push 0x10289ca0
push ecx
push edi
mov ecx, eax
call fcn.1000d9b0
neg eax
sbb eax, eax
and eax, str.runas
mov byte [esp + 0x114], 1
cmp dword [esp + 0xe8], 0x10
mov dword [esp + 0x24], eax
jb 0x10033930
mov edx, dword [esp + 0xd4]
push edx
call fcn.100b1e2a
add esp, 4
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
cmp ebx, 1
je 0x10033bd5
cmp ebx, 2
je 0x10033bd5
cmp ebx, edi
jne 0x10033bac
cmp dword [esp + 0xcc], 8
mov eax, dword [esp + 0xb8]
jae 0x1003396e
lea eax, [esp + 0xb8]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebp
test eax, eax
je 0x10033acf
mov eax, 7
xor ecx, ecx
mov dword [esp + 0x104], eax
mov dword [esp + 0x100], edi
mov word [esp + 0xf0], cx
xor edx, edx
mov dword [esp + 0xe8], eax
mov dword [esp + 0xe4], edi
mov word [esp + 0xd4], dx
lea eax, [esp + 0xb4]
push eax
lea ecx, [esp + 0x9c]
push 0x10289c8c
mov bl, 4
push ecx
mov byte [esp + 0x120], bl
call fcn.10034db0
push 0x10289c88
push eax
lea edx, [esp + 0x90]
push edx
mov byte [esp + 0x12c], 5
call fcn.10034cb0
lea ecx, [esp + 0x138]
push ecx
push eax
lea edx, [esp + 0x80]
push edx
mov byte [esp + 0x138], 6
call fcn.10034d30
add esp, 0x24
push eax
lea ecx, [esp + 0xd4]
mov byte [esp + 0x118], 7
call fcn.100189e0
lea ecx, [esp + 0x60]
call fcn.100032e0
lea ecx, [esp + 0x7c]
call fcn.100032e0
lea ecx, [esp + 0x98]
mov byte [esp + 0x114], bl
call fcn.100032e0
lea esi, [esp + 0x14]
call fcn.10035a70
mov byte [esp + 0x114], 8
mov eax, dword [eax]
push eax
lea ecx, [esp + 0xf0]
call fcn.10003310
mov byte [esp + 0x114], bl
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 0x10033a94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0xf0]
mov esi, 8
cmp dword [esp + 0x104], esi
jae 0x10033ab0
lea eax, [esp + 0xf0]
push eax
call ebp
test eax, eax
jne 0x10033aee
lea ecx, [esp + 0xd0]
call fcn.100032e0
lea ecx, [esp + 0xec]
call fcn.100032e0
lea ecx, [esp + 0xb4]
call fcn.100032e0
lea ecx, [esp + 0x120]
call fcn.100032e0
xor al, al
jmp 0x10033d14
cmp dword [esp + 0x104], esi
jb 0x10033b04
mov ecx, dword [esp + 0xf0]
mov dword [esp + 0x28], ecx
jmp 0x10033b0f
lea edx, [esp + 0xf0]
mov dword [esp + 0x28], edx
cmp dword [esp + 0xe8], esi
jb 0x10033b25
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x2c], eax
jmp 0x10033b30
lea ecx, [esp + 0xd4]
mov dword [esp + 0x2c], ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov eax, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc8
push eax
call esi
cmp eax, 0x102
jne 0x10033b77
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x10033b64
call fcn.10033e00
mov ecx, dword [esp + 0x50]
push 0xc8
push ecx
call esi
cmp eax, 0x102
je 0x10033b54
lea ecx, [esp + 0xd0]
call fcn.100032e0
lea ecx, [esp + 0xec]
call fcn.100032e0
lea ecx, [esp + 0xb4]
call fcn.100032e0
lea ecx, [esp + 0x120]
call fcn.100032e0
jmp 0x10033d12
mov esi, 8
cmp dword [esp + 0xcc], esi
jb 0x10033bca
mov edx, dword [esp + 0xb8]
push edx
call fcn.100b1e2a
add esp, 4
xor eax, eax
cmp dword [esp + 0x138], esi
jmp 0x10033c1e
mov eax, dword [esp + 0xb8]
mov ebx, 8
cmp dword [esp + 0xcc], ebx
jae 0x10033bf1
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10033c4d
cmp dword [esp + 0xcc], ebx
jb 0x10033c15
mov edx, dword [esp + 0xb8]
push edx
call fcn.100b1e2a
add esp, 4
xor eax, eax
cmp dword [esp + 0x138], ebx
mov word [esp + 0xb8], ax
mov dword [esp + 0xc8], edi
mov dword [esp + 0xcc], ebp
jb 0x10033c46
mov ecx, dword [esp + 0x124]
push ecx
call fcn.100b1e2a
add esp, 4
xor al, al
jmp 0x10033d14
cmp dword [esp + 0xcc], ebx
jb 0x10033c63
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x28], edx
jmp 0x10033c6e
lea eax, [esp + 0xb8]
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov edx, dword [esp + 0x50]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xc8
push edx
call esi
cmp eax, 0x102
jne 0x10033cc8
jmp 0x10033ca0
mov eax, dword [esp + 0x11c]
cmp eax, edi
je 0x10033cb5
cmp byte [eax + 0x30], 0
jne 0x10033d3e
mov eax, dword [esp + 0x50]
push 0xc8
push eax
call esi
cmp eax, 0x102
je 0x10033ca0
cmp dword [esp + 0xcc], ebx
jb 0x10033ce1
mov eax, dword [esp + 0xb8]
push eax
call fcn.100b1e2a
add esp, 4
xor ecx, ecx
mov dword [esp + 0xcc], ebp
mov dword [esp + 0xc8], edi
mov word [esp + 0xb8], cx
cmp dword [esp + 0x138], ebx
jb 0x10033d12
mov edx, dword [esp + 0x124]
push edx
call fcn.100b1e2a
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x10c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.100b2738
add esp, 0x104
ret 0x20
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x58]
mov dword [esp + 0x18], str.user_cancel
call fcn.100b1e46
push 0x102a37d4
lea edx, [esp + 0x58]
push edx
call fcn.100b2199
int3