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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002b0a1
mov eax, dword fs:[0]
push eax
mov eax, 0x22f0
call fcn.1002a460
mov eax, dword [0x10040014]
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, ecx
push 0x1000
lea eax, [ebp - 0x2244]
push 0
push eax
call fcn.10013930
add esp, 0xc
lea eax, [ebp - 0x2244]
push 0x800
push eax
push sym.Steam.dll_Ordinal_103
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
mov dword [ebp - 0x224c], 0
lea ecx, [ebp - 0x2244]
mov dword [ebp - 0x2248], 7
mov word [ebp - 0x225c], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000be16
sub ecx, edx
lea eax, [ebp - 0x2244]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x225c]
call fcn.100035b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x225c]
push dword [ebp - 0x22a8]
cmp dword [ebp - 0x2248], 8
mov edi, dword [ebp - 0x224c]
mov edx, edi
cmovae ecx, dword [ebp - 0x225c]
push 2
sub esp, 8
call fcn.1000c630
xor ecx, ecx
mov dword [ebp - 0x227c], 0
add esp, 0x10
mov word [ebp - 0x228c], cx
cmp edi, eax
mov dword [ebp - 0x2278], 7
lea ecx, [ebp - 0x225c]
cmovb eax, edi
cmp dword [ebp - 0x2248], 8
push eax
cmovae ecx, dword [ebp - 0x225c]
push ecx
lea ecx, [ebp - 0x228c]
call fcn.100035b0
push str.Steam.x64.dll
lea ecx, [ebp - 0x228c]
mov byte [ebp - 4], 1
call fcn.1000c960
mov dword [ebp - 0x2264], 0
xor ecx, ecx
mov dword [ebp - 0x2260], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2274], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2264], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x2278]
cmp edx, 8
jb 0x1000bf47
mov ecx, dword [ebp - 0x228c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000bf3d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c1fc
push edx
push ecx
call fcn.100104a1
add esp, 8
xor eax, eax
mov dword [ebp - 0x227c], 0
push 0x208
push eax
mov word [ebp - 0x228c], ax
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x2278], 7
call fcn.10013930
add esp, 0xc
lea eax, [ebp - 0x244]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x244]
push str._rundll32.exe
push eax
call edi
push 0x1000
lea eax, [ebp - 0x1244]
push 0
push eax
call fcn.10013930
add esp, 0xc
lea eax, [ebp - 0x1244]
push 0x1003c270
push eax
call edi
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x1244]
push eax
call edi
push 0x100390cc
lea eax, [ebp - 0x1244]
push eax
call edi
cmp dword [ebp - 0x2260], 8
lea eax, [ebp - 0x2274]
cmovae eax, dword [ebp - 0x2274]
push eax
lea eax, [ebp - 0x1244]
push eax
call edi
push 0x1003c274
lea eax, [ebp - 0x1244]
push eax
call edi
push 0x1003c284
lea eax, [ebp - 0x1244]
push eax
call edi
lea ecx, [ebp - 0x12]
nop
mov eax, 0xcccccccd
sub ecx, 2
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub esi, eax
add esi, 0x30
mov word [ecx], si
mov esi, edx
test esi, esi
jne 0x1000c020
xor eax, eax
mov dword [ebp - 0x2294], edx
mov word [ebp - 0x22a4], ax
mov edx, 7
lea eax, [ebp - 0x12]
mov dword [ebp - 0x2290], edx
cmp ecx, eax
je 0x1000c078
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x22a4]
call fcn.100035b0
mov edx, dword [ebp - 0x2290]
cmp edx, 8
lea eax, [ebp - 0x22a4]
cmovae eax, dword [ebp - 0x22a4]
push eax
lea eax, [ebp - 0x1244]
push eax
call edi
mov edx, dword [ebp - 0x2290]
cmp edx, 8
jb 0x1000c0d2
mov ecx, dword [ebp - 0x22a4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c0c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c201
push edx
push ecx
call fcn.100104a1
add esp, 8
lea eax, [ebp - 0x22fc]
mov dword [ebp - 0x22ec], 0x44
push eax
lea eax, [ebp - 0x22ec]
xorps xmm0, xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1244]
movlpd qword [ebp - 0x22e8], xmm0
push eax
push 0
movlpd qword [ebp - 0x22e0], xmm0
movlpd qword [ebp - 0x22d8], xmm0
movlpd qword [ebp - 0x22d0], xmm0
movlpd qword [ebp - 0x22c8], xmm0
movlpd qword [ebp - 0x22c0], xmm0
movlpd qword [ebp - 0x22b8], xmm0
movlpd qword [ebp - 0x22b0], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edx, dword [ebp - 0x2260]
cmp edx, 8
jb 0x1000c188
mov ecx, dword [ebp - 0x2274]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c17e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c206
push edx
push ecx
call fcn.100104a1
add esp, 8
mov edx, dword [ebp - 0x2248]
xor eax, eax
mov dword [ebp - 0x2264], 0
mov dword [ebp - 0x2260], 7
mov word [ebp - 0x2274], ax
cmp edx, 8
jb 0x1000c1e1
mov ecx, dword [ebp - 0x225c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000c1d7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000c20b
push edx
push ecx
call fcn.100104a1
add esp, 8
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.10010460
mov esp, ebp
pop ebp
ret
call fcn.10016a39
call fcn.10016a39
call fcn.10016a39
call fcn.10016a39
int3