Function at 0x10fb110
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x11424fb
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x115f604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, ecx
mov dword [ebp - 0x12c], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x104e854
push 0x104e800
lea edx, [ebp - 0x120]
push edx
push 0x104e780
mov ebx, 2
lea eax, [ebp - 0x11c]
xor edi, edi
push ebx
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x120], edi
call fcn.01075110
add esp, 0x1c
cmp byte [esi], 0
je 0x10fb195
xor eax, eax
mov dword [ebp - 0x120], eax
jmp 0x10fb7e0
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x10fb1ac
mov eax, 0x80004003
mov dword [ebp - 0x120], eax
jmp 0x10fb7e0
lea ecx, [esi + 0x2f0]
push ecx
lea ecx, [ebp - 0x128]
call fcn.010bae20
mov byte [ebp - 4], bl
mov dword [esi + 0x2ec], edi
call fcn.01127f00
test al, al
je 0x10fb222
lea edx, [ebp - 0x124]
push edx
lea ecx, [esi + 0x134]
call fcn.010f0d00
mov eax, dword [eax]
push eax
push 0x104e738
push 0x104e6b8
push 3
mov byte [ebp - 4], 3
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb222
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb27d
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.010f0d30
mov edx, dword [eax]
push edx
push 0x104e668
push 0x104e5e8
push 3
mov byte [ebp - 4], 4
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb27d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb2d8
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.0109b570
mov edx, dword [eax]
push edx
push 0x104e5a0
push 0x104e520
push 3
mov byte [ebp - 4], 5
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb2d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb333
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.010f0d60
mov edx, dword [eax]
push edx
push 0x104e4c8
push 0x104e448
push 3
mov byte [ebp - 4], 6
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb333
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb38e
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.010f0d90
mov edx, dword [eax]
push edx
push 0x104e3f8
push 0x104e378
push 3
mov byte [ebp - 4], 7
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb38e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb3e9
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.010f0dc0
mov edx, dword [eax]
push edx
push 0x104e320
push 0x104e2a0
push 3
mov byte [ebp - 4], 8
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb3e9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.01127f00
test al, al
je 0x10fb444
lea ecx, [ebp - 0x124]
push ecx
lea ecx, [esi + 0x134]
call fcn.010c6fc0
mov edx, dword [eax]
push edx
push 0x104e258
push 0x104e1d8
push 3
mov byte [ebp - 4], 9
call fcn.01128b70
mov eax, dword [ebp - 0x124]
add eax, 0xfffffff0
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb444
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x7530
mov dword [esi + 0x13c], eax
mov dword [esi + 0x140], eax
mov eax, 0x3c
mov ecx, 0xea60
xor edx, edx
mov dword [esi + 0x14c], eax
mov dword [esi + 0x1e0], eax
mov eax, 3
mov dword [esi + 0x138], ecx
mov dword [esi + 0x1e8], ecx
push 0x1024d38
lea ecx, [esi + 0x1d0]
mov dword [esi + 0x134], edx
mov dword [esi + 0x158], edx
mov dword [esi + 0x148], 0x5a0
mov dword [esi + 0x150], 0x2760
mov dword [esi + 0x1ac], 1
mov dword [esi + 0x1cc], 0x384
mov dword [esi + 0x1dc], 5
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], ebx
mov dword [esi + 0x1b8], 0xbb8
mov dword [esi + 0x1bc], 0x4000000
mov dword [esi + 0x1c0], 0x2d
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], 0x64
mov dword [esi + 0x1ec], 0x10000
mov dword [esi + 0x1f0], 0xa
mov dword [esi + 0x1e4], edx
mov dword [esi + 0x144], eax
call fcn.01081360
push 0x104e19c
lea ecx, [esi + 0x1f4]
call fcn.01081360
push 0x104e198
lea ecx, [esi + 0x1d8]
call fcn.01081360
mov eax, dword [ebp + 0xc]
mov ecx, eax
shr ecx, 1
and cl, 1
shr eax, 2
mov byte [esi + 0x81], cl
and al, 1
lea ebx, [esi + 0x120]
push 0x1049c24
mov ecx, ebx
mov byte [esi + 0x11c], al
call fcn.0107f660
lea edx, [ebp + 8]
lea ecx, [esi + 0x48]
push edx
call fcn.0109c0b0
mov ecx, esi
call fcn.010f3100
mov edi, dword [ebp - 0x128]
add edi, 4
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [ebp - 0x128]
add ecx, 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [ebp - 0x12c]
push edi
mov ecx, esi
call fcn.010fa960
test eax, eax
mov dword [ebp - 0x120], eax
jl 0x10fb7e0
call fcn.01127f00
test al, al
je 0x10fb5f0
mov edx, dword [ebx]
push edx
push 0x104e170
push 0x104e0f0
push 1
call fcn.01128b70
add esp, 0x10
lea eax, [esi + 0x10]
push eax
lea ecx, [esi + 0xc]
push ecx
push 0
push 0x23
mov ecx, esi
call fcn.010f4b20
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb646
cmp eax, 0x8004827d
je 0x10fb7e0
call fcn.01127f00
test al, al
je 0x10fb63c
mov edx, dword [ebp - 0x120]
push edx
push 0x104dfa0
push 0x104df20
push 0
call fcn.01128b70
add esp, 0x10
mov dword [ebp - 0x120], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [esi + 0x14]
push ecx
push 0
push 0x1a
mov ecx, esi
call fcn.010f4b20
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb691
call fcn.01127f00
test al, al
je 0x10fb687
mov edx, dword [ebp - 0x120]
push edx
push 0x104dd48
push 0x104dcc8
push 0
call fcn.01128b70
add esp, 0x10
mov dword [ebp - 0x120], 0
lea eax, [esi + 8]
push eax
lea ecx, [esi + 4]
push ecx
push 1
push 0x1c
mov ecx, esi
call fcn.010f4b20
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb6e7
cmp eax, 0x8004827d
je 0x10fb7e0
call fcn.01127f00
test al, al
je 0x10fb6dd
mov edx, dword [ebp - 0x120]
push edx
push 0x104dc20
push 0x104dba0
push 0
call fcn.01128b70
add esp, 0x10
mov dword [ebp - 0x120], 0
cmp byte [esi + 2], 0
je 0x10fb72c
mov ecx, esi
call fcn.010f46e0
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb72c
call fcn.01127f00
test al, al
je 0x10fb722
mov eax, dword [ebp - 0x120]
push eax
push 0x104db30
push 0x104dab0
push 0
call fcn.01128b70
add esp, 0x10
mov dword [ebp - 0x120], 0
lea ecx, [esi + 0x20]
push ecx
lea edx, [esi + 0x1c]
push edx
push 1
push 0x23
mov ecx, esi
call fcn.010f4b20
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb775
call fcn.01127f00
test al, al
je 0x10fb76d
mov eax, dword [ebp - 0x120]
push eax
push 0x104d8e0
push 0x104d860
push 0
call fcn.01128b70
add esp, 0x10
xor eax, eax
mov dword [ebp - 0x120], eax
test edi, edi
je 0x10fb7e0
mov ecx, esi
call fcn.010f7f40
cmp byte [esi + 1], 0
mov dword [ebp - 0x120], eax
je 0x10fb864
cmp byte [esi + 0x80], 0
jne 0x10fb837
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 1
push 0
push eax
mov ecx, esi
call fcn.010fa7a0
test eax, eax
mov dword [ebp - 0x120], eax
jge 0x10fb86c
call fcn.01127f00
test al, al
je 0x10fb7da
push 0x104d828
push 0x104d7a8
push 0
call fcn.01128b70
add esp, 0xc
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x11c]
mov esi, eax
mov byte [ebp - 4], 0
call fcn.01075230
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10fb817
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.010840d6
mov esp, ebp
pop ebp
ret 0x10
call fcn.01127f00
test al, al
je 0x10fb854
push 0x104d730
push 0x104d6b0
push 0
call fcn.01128b70
add esp, 0xc
mov eax, 0x80048872
mov dword [ebp - 0x120], eax
jmp 0x10fb7e0
test eax, eax
jl 0x10fb7e0
mov ecx, esi
call fcn.010effe0
lea eax, [esi + 0x334]
push eax
mov dword [eax], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esi + 0x338], 6
jb 0x10fb8b9
lea edi, [esi + 0x450]
push 0x105
mov ecx, edi
call fcn.010b6570
push eax
push 0
push 0xffffffffffffffff
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.01097770
xor ecx, ecx
xor eax, eax
cmp byte [esi + 0x80], cl
mov dword [esi + 0x124], eax
mov dword [esi + 0x128], ecx
mov dword [esi + 0x12c], eax
mov dword [esi + 0x130], ecx
jne 0x10fb8fa
mov ecx, esi
call fcn.010f71c0
test eax, eax
mov dword [ebp - 0x120], eax
jl 0x10fb7e0
mov byte [esi], 1
jmp 0x10fb7e0
mov eax, dword [ebp - 0x120]
mov byte [esi], 1
jmp 0x10fb7e0