Function at 0x10130910
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x104
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x100], eax
mov dword [esp + 4], ecx
push ebx
push esi
push edi
test ecx, ecx
jne 0x10130945
cmp dword [0x10192330], ecx
jne 0x10130d87
xor edi, edi
jmp 0x101309ba
cmp ecx, 1
jne 0x10130957
cmp dword [0x10192940], 0
jne 0x10130d87
xor edi, edi
cmp ecx, 1
jne 0x101309ba
mov eax, dword [0x10191a04]
test eax, eax
je 0x101309ba
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x101309b6
mov eax, dword [0x10191a04]
add eax, 8
push 0xec
mov dword [str.mb.dll], eax
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10145be0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.10130700
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10143d6a
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x10]
xor esi, esi
nop dword [eax]
mov edx, esi
call fcn.10130750
mov ebx, eax
test ebx, ebx
je 0x101309e2
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x10130afe
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, 7
jl 0x101309c0
test edi, edi
jne 0x10130cf0
xor eax, eax
mov esi, 0x10192ee8
mov dword [esp + 0x14], eax
nop dword [eax + eax]
mov edx, eax
call fcn.10130750
mov ebx, eax
test ebx, ebx
je 0x10130a6a
push 0x10192ee8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, ebx
nop
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10130a20
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10130a30
mov ecx, ebx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x10192ee8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x10130b9e
mov ecx, dword [esp + 0x10]
mov esi, 0x10192ee8
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 7
jl 0x10130a00
test edi, edi
jne 0x10130cf0
xor eax, eax
mov dword [esp + 0x14], eax
mov edx, eax
call fcn.10130750
mov ebx, eax
test ebx, ebx
je 0x10130ae5
call fcn.10130800
mov edx, ebx
nop word [eax + eax]
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10130aa0
sub ebx, edx
lea edi, [esi - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10130ab0
mov ecx, ebx
mov esi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0x10192ee8
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [esp + 0x10]
mov edi, eax
test edi, edi
jne 0x10130c36
mov eax, dword [esp + 0x14]
inc eax
mov dword [esp + 0x14], eax
cmp eax, 7
jge 0x10130ce8
mov esi, 0x10192ee8
jmp 0x10130a86
cmp dword [esp + 0x10], 0
jne 0x10130b10
mov dword [str.node.dll], ebx
jmp 0x10130cf0
mov dword [str.mb.dll], ebx
cmp esi, 6
ja case.0x10130b1b.1
jmp dword [esi*4 + 0x10130d9c]
mov eax, dword [0x10191a08]
test eax, eax
je 0x10130b38
add eax, 8
mov dword [str.node.dll], eax
jmp 0x10130cf0
xor eax, eax
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.miniblink_node.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.libExuiKrnlnminiblink_node.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.node_x32.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.miniblink_node_x32.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.libExuiKrnlnminiblink_node_x32.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
mov eax, str.node.dll
mov dword [str.node.dll], eax
jmp 0x10130cf0
cmp dword [esp + 0x10], 0
je 0x10130c3a
mov eax, dword [esp + 0x14]
mov dword [str.mb.dll], 0x10192ee8
cmp eax, 6
ja case.0x10130bbc.1
jmp dword [eax*4 + 0x10130db8]
mov ebx, dword [0x10191a08]
test ebx, ebx
je 0x10130bd2
add ebx, 8
jmp 0x10130bfe
xor ebx, ebx
jmp 0x10130bfe
mov ebx, str.miniblink_node.dll
jmp 0x10130bfe
mov ebx, str.libExuiKrnlnminiblink_node.dll
jmp 0x10130bfe
mov ebx, str.node_x32.dll
jmp 0x10130bfe
mov ebx, str.miniblink_node_x32.dll
jmp 0x10130bfe
mov ebx, str.libExuiKrnlnminiblink_node_x32.dll
jmp 0x10130bfe
mov ebx, str.node.dll
push 0x10192ee8
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10130c10
mov ecx, 0x10192ee8
sub ebx, esi
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x10130c25
jmp 0x10130ccc
test ecx, ecx
jne 0x10130c49
mov dword [str.node.dll], 0x10192ee8
jmp 0x10130cf0
mov eax, dword [esp + 0x14]
mov dword [str.mb.dll], 0x10192ee8
cmp eax, 6
ja case.0x10130c5c.1
jmp dword [eax*4 + 0x10130dd4]
mov ebx, dword [0x10191a08]
test ebx, ebx
je 0x10130c72
add ebx, 8
jmp 0x10130c9e
xor ebx, ebx
jmp 0x10130c9e
mov ebx, str.miniblink_node.dll
jmp 0x10130c9e
mov ebx, str.libExuiKrnlnminiblink_node.dll
jmp 0x10130c9e
mov ebx, str.node_x32.dll
jmp 0x10130c9e
mov ebx, str.miniblink_node_x32.dll
jmp 0x10130c9e
mov ebx, str.libExuiKrnlnminiblink_node_x32.dll
jmp 0x10130c9e
mov ebx, str.node.dll
call fcn.10130800
mov esi, ebx
mov ax, word [ebx]
add ebx, 2
test ax, ax
jne 0x10130ca5
mov ecx, 0x10192ee8
sub ebx, esi
add ecx, 0xfffffffe
nop word [eax + eax]
mov ax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x10130cc0
mov edi, ecx
mov dword [str.node.dll], 0x10192ee8
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
jmp 0x10130cf0
test edi, edi
je 0x10130d87
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x10130d29
push 0xd8
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.10145be0
add esp, 0xc
lea ecx, [esp + 0x18]
call fcn.1012e400
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.10143d6a
mov esp, ebp
pop ebp
ret
cmp ebx, 1
jne 0x10130d87
push 0xec
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.10145be0
mov eax, dword [0x101923b4]
add esp, 0xc
test eax, eax
sete bl
test eax, eax
jne 0x10130d6b
push dword [0x101908c8]
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call esi
push dword [0x101908cc]
call esi
mov dword [0x101923b4], eax
push str.mbInit
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 0x18]
push ecx
call eax
test bl, bl
je 0x10130d87
call fcn.1012f780
mov ecx, dword [esp + 0x10c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10143d6a
mov esp, ebp
pop ebp
ret