Function at 0x100b2560
Capabilities:
Check os version
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10144fda
mov eax, dword fs:[0]
push eax
sub esp, 0x688
mov eax, dword [0x101ba518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x588], edi
mov dword [ebp - 4], 0
xor esi, esi
push 0x44
lea eax, [ebp - 0x5e0]
push esi
push eax
call fcn.1011da50
add esp, 0xc
mov dword [ebp - 0x5e0], 0x44
lea eax, [ebp + 8]
xorps xmm0, xmm0
mov ecx, edi
movdqu xmmword [ebp - 0x598], xmm0
push eax
lea eax, [ebp - 0x470]
push eax
call fcn.100b3040
mov byte [ebp - 4], 1
xor eax, eax
mov dword [ebp - 0x518], esi
mov dword [ebp - 0x514], esi
mov dword [ebp - method.command_line_parser.virtual_0], vtable.command_line_parser.0
mov dword [ebp - 0x514], 7
mov dword [ebp - 0x518], esi
mov word [ebp - 0x528], ax
mov byte [ebp - 4], 2
mov dword [ebp - 0x500], eax
mov dword [ebp - 0x4fc], eax
mov dword [ebp - 0x4fc], 7
mov dword [ebp - 0x500], eax
mov word [ebp - 0x510], ax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x470]
push eax
lea ecx, [ebp - 0x52c]
call fcn.100c9570
mov byte [ebp - 4], 4
xor eax, eax
mov dword [ebp - 0x478], esi
mov dword [ebp - 0x474], esi
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], esi
mov word [ebp - 0x488], ax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x488]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x528]
push eax
call fcn.10009170
push 2
push esi
push 0x10173aec
lea ecx, [ebp - 0x488]
call fcn.100441d0
cmp eax, 0xffffffff
je 0x100b26ac
lea ecx, [ebp - 0x488]
call fcn.100c9ab0
xor eax, eax
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x48c], 0
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4a0]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x510]
push eax
call fcn.10009170
xor eax, eax
mov dword [ebp - 0x4a8], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x4b8], ax
lea ecx, [ebp - 0x4b8]
lea eax, [ebp - 0x488]
mov dword [ebp - 0x4a4], 0
push eax
mov dword [ebp - 0x4a4], 7
mov dword [ebp - 0x4a8], 0
call fcn.10009170
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x4b8]
call fcn.100c99a0
lea edx, [ebp - 0x4b8]
lea ecx, [ebp - 0x4f8]
call fcn.100b10d0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x488]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x470]
call fcn.10009170
cmp dword [ebp - 0x490], 0
je 0x100b27a7
push 1
push 0x1017beb4
lea ecx, [ebp - 0x470]
call fcn.10009090
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x4a0]
push eax
lea ecx, [ebp - 0x470]
call fcn.10008fc0
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0xe4]
test al, al
je 0x100b2881
movdqu xmm0, xmmword [ecx + 0x14]
push 1
lea edx, [ebp - 0x440]
lea ecx, [ebp - 0x458]
movdqu xmmword [ebp - 0x440], xmm0
call fcn.1006a7c0
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x458]
push eax
mov edx, 0x1017beb4
lea ecx, [ebp - 0x430]
call fcn.10048ca0
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x470]
push 0xffffffffffffffff
push 0
push eax
call fcn.10008fc0
mov byte [ebp - 4], 9
cmp dword [ebp - 0x41c], 8
jb 0x100b2828
push dword [ebp - 0x430]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov esi, 8
mov word [ebp - 0x430], ax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x444], esi
jb 0x100b2864
push dword [ebp - 0x458]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
push 0xb
push str.__Embedding
lea ecx, [ebp - 0x470]
call fcn.10009090
mov dword [ebp - 0x578], 0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x578]
push eax
call fcn.100b24c0
mov byte [ebp - 0x572], al
mov byte [ebp - 0x571], 0
test al, al
je 0x100b28f9
push 0x11c
lea eax, [ebp - 0x338]
push 0
push eax
call fcn.1011da50
add esp, 0xc
mov dword [ebp - 0x338], 0x11c
lea eax, [ebp - 0x338]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x334], 6
setae byte [ebp - 0x571]
lea ecx, [ebp - 0x4f8]
call fcn.10014b00
lea eax, [ebp - 0x57c]
mov dword [ebp - 0x57c], 0
push eax
mov eax, dword [ebp - 0x460]
lea ecx, [ebp - 0x43c]
inc eax
mov dword [ebp - 0x43c], 0
push eax
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
call fcn.1001cc70
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x470]
cmp dword [ebp - 0x45c], 8
mov edi, dword [ebp - 0x43c]
cmovae eax, dword [ebp - 0x470]
push eax
mov eax, dword [ebp - 0x438]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.1011765e
add esp, 0xc
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push eax
lea eax, [ebp - 0x216]
push eax
call fcn.1011da50
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0x1016e4d8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
lea eax, [ebp - 0x218]
je 0x100b29db
push 0x5c
push eax
call fcn.101186b0
add esp, 8
test eax, eax
je 0x100b29d5
xor ecx, ecx
mov word [eax], cx
jmp 0x100b29e7
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp byte [ebp - 0x572], 0
je 0x100b2a46
cmp byte [ebp - 0x571], 0
je 0x100b2a46
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x5e0]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0
push 0
push 0
push edi
push 0
push dword [ebp - 0x578]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x100b2a6f
lea ecx, [ebp - 0x4e0]
call fcn.100b0e70
push 0x101b7fd4
lea eax, [ebp - 0x4e0]
push eax
call fcn.1011935b
lea eax, [ebp - 0x598]
push eax
lea eax, [ebp - 0x5e0]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push esi
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x100b2a26
mov eax, dword [ebp - 0x590]
push dword [ebp - 0x594]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x584], eax
call esi
push dword [ebp - 0x598]
call esi
movdqu xmm0, xmmword [0x101546b8]
mov ecx, dword [ebp + 8]
sub esp, 0x10
mov eax, esp
movdqu xmmword [ebp - 0x570], xmm0
movdqu xmm0, xmmword [ecx + 0x14]
mov ecx, dword [ebp - 0x588]
movdqu xmmword [eax], xmm0
lea eax, [ebp - 0x570]
push eax
call fcn.100b3ff0
mov dword [ebp - 0x580], eax
xor ecx, ecx
mov eax, edx
mov esi, eax
mov dword [ebp - 0x57c], eax
and esi, 0x80
or ecx, esi
jne 0x100b2daf
sub esp, 8
lea ecx, [ebp - 0x690]
call fcn.10006e20
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x430]
push dword [ebp - 0x57c]
push dword [ebp - 0x580]
call fcn.100b0f50
add esp, 8
mov edi, eax
mov byte [ebp - 4], 0xe
mov edx, str.Couldnt_generate_a_CLSID_mapping_for_CLSID:
mov ecx, dword [ebp + 8]
movdqu xmm0, xmmword [ecx + 0x14]
lea ecx, [ebp - 0x680]
movdqu xmmword [ebp - 0x450], xmm0
call fcn.1001e090
mov esi, eax
lea eax, [ebp - 0x418]
push 0xff
push eax
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
test eax, eax
jle 0x100b2b62
lea edx, [ebp - 0x418]
mov ecx, esi
call fcn.1001e090
mov edx, str._Error:
mov ecx, esi
call fcn.1001e090
mov edx, edi
mov ecx, eax
call fcn.1002d780
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x41c], 8
jb 0x100b2b92
push dword [ebp - 0x430]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
push str.ERROR:__1_
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
call fcn.100062a0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x458]
push str.VCom
call fcn.100062a0
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x544]
push eax
lea ecx, [ebp - 0x690]
call fcn.10006fb0
mov dword [ebp - 0x580], eax
mov byte [ebp - 4], 0x11
call fcn.10010ed0
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.10036150
mov edi, eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x560]
push 0x187
push str.AppV::Subsystems::VirtualCOM::ComResourceManager::StartComServer
call fcn.100361d0
mov esi, eax
mov byte [ebp - 4], 0x13
mov ecx, edi
push dword [ebp - 0x580]
call fcn.1002c7f0
push edi
lea eax, [ebp - 0x458]
mov ecx, esi
push eax
push 1
call fcn.100363f0
mov byte [ebp - 4], 0x12
cmp dword [ebp - 0x54c], 0x10
jb 0x100b2c65
push dword [ebp - 0x560]
call fcn.10115284
add esp, 4
mov dword [ebp - 0x54c], 0xf
mov dword [ebp - 0x550], 0
mov byte [ebp - 0x560], 0
mov byte [ebp - 4], 0x11
mov dword [ebp - method.AppV::LogFormatter.virtual_0], vtable.AppV::LogFormatter.0
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x4bc], 8
jb 0x100b2ca9
push dword [ebp - 0x4d0]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x4bc], 7
mov dword [ebp - 0x4c0], 0
mov word [ebp - 0x4d0], ax
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x530], 8
jb 0x100b2ce1
push dword [ebp - 0x544]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x530], 7
mov dword [ebp - 0x534], 0
mov word [ebp - 0x544], ax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x444], 8
jb 0x100b2d19
push dword [ebp - 0x458]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], 0
mov word [ebp - 0x458], ax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x41c], 8
jb 0x100b2d51
push dword [ebp - 0x430]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x41c], 7
mov dword [ebp - 0x420], 0
mov word [ebp - 0x430], ax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x628]
call fcn.10006ef0
lea eax, [ebp - 0x628]
mov dword [ebp - method.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0x584], eax
mov byte [ebp - 4], 0xc
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.1011047d
add esp, 4
jmp 0x100b2a2a
mov ecx, dword [ebp - 0x588]
lea eax, [ebp - 0x570]
push dword [ebp - 0x584]
push eax
lea ecx, [ecx + 0x60]
call fcn.100a5b30
mov byte [ebp - 4], 0xb
test edi, edi
je 0x100b2df9
push edi
call fcn.10115284
add esp, 4
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0x578]
test eax, eax
je 0x100b2e18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x578], 0
mov byte [ebp - 4], 7
cmp dword [ebp - 0x4e4], 8
jb 0x100b2e33
push dword [ebp - 0x4f8]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x4e4], 7
mov dword [ebp - 0x4e8], 0
mov word [ebp - 0x4f8], ax
mov byte [ebp - 4], 6
cmp dword [ebp - 0x4a4], 8
jb 0x100b2e6b
push dword [ebp - 0x4b8]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x4a4], 7
mov dword [ebp - 0x4a8], 0
mov word [ebp - 0x4b8], ax
mov byte [ebp - 4], 5
cmp dword [ebp - 0x48c], 8
jb 0x100b2ea3
push dword [ebp - 0x4a0]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x48c], 7
mov dword [ebp - 0x490], 0
mov word [ebp - 0x4a0], ax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x474], 8
jb 0x100b2edb
push dword [ebp - 0x488]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x474], 7
mov dword [ebp - 0x478], 0
mov word [ebp - 0x488], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x52c]
call fcn.100c94d0
mov byte [ebp - 4], 0
cmp dword [ebp - 0x45c], 8
jb 0x100b2f22
push dword [ebp - 0x470]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x45c], 7
mov dword [ebp - 0x460], 0
mov word [ebp - 0x470], ax
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x100b2f72
or edi, 0xffffffff
lea ecx, [esi + 4]
mov eax, edi
lock xadd dword [ecx], eax
jne 0x100b2f72
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b2f72
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
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.10115289
mov esp, ebp
pop ebp
ret 8