Function at 0x100b3610
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100bebd9
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x100fc018]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
mov eax, dword [0x100fc018]
xor eax, esp
push eax
lea eax, [esp + 0x4d0]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov edi, edx
cmp esi, ebx
je 0x100b3909
cmp word [esi], bx
je 0x100b3909
cmp edi, ebx
je 0x100b3909
cmp word [edi], bx
je 0x100b3909
lea eax, [esp + 0x2bc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x100b369b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
jmp 0x100b390b
lea ecx, [esp + 0xb4]
push ecx
push ebx
push edi
lea edx, [esp + 0x2c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x100b368f
push ebx
lea eax, [esp + 0xb8]
push eax
push esi
call dword [0x100ff7c0]
test eax, eax
je 0x100b368f
lea ecx, [esp + 0x5c]
push ecx
call fcn.100013a0
mov edx, eax
mov dword [esp + 0x4d8], ebx
lea eax, [esp + 0x14]
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10001490
add eax, 4
push eax
lea ecx, [esp + 0x9c]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x4d8], 2
call fcn.10001400
lea edx, [esp + 0x3c]
push edx
call fcn.100013a0
mov edx, eax
mov byte [esp + 0x4d8], 3
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.10001490
add eax, 4
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4d8], 5
call fcn.10001400
lea eax, [esp + 0xb4]
mov dword [esp + 0x30], eax
mov eax, 0x10
mov dword [esp + 0x2c], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
cmp dword [esp + 0xb0], eax
jb 0x100b3793
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x1c], ecx
jmp 0x100b379e
lea edx, [esp + 0x9c]
mov dword [esp + 0x1c], edx
cmp dword [esp + 0x94], eax
jb 0x100b37b4
mov eax, dword [esp + 0x80]
mov dword [esp + 0x20], eax
jmp 0x100b37bf
lea ecx, [esp + 0x80]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, 0x24
xor esi, esi
mov ecx, eax
and ecx, 3
je 0x100b37da
sub eax, ecx
add eax, 4
mov ecx, dword [esp + esi + 0x2c]
mov dword [esp + esi + 0x34], eax
cmp ecx, ebx
jne 0x100b37eb
mov ecx, 0x100c9854
lea edi, [ecx + 2]
mov edi, edi
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x100b37f0
sub ecx, edi
sar ecx, 1
add esi, 4
lea eax, [eax + ecx*2 + 2]
cmp esi, 8
jne 0x100b37ce
xor edx, edx
lea ecx, [ecx]
mov ecx, eax
and ecx, 3
je 0x100b381c
sub eax, ecx
add eax, 4
mov esi, eax
mov eax, dword [esp + edx + 0x1c]
mov dword [esp + edx + 0x14], esi
cmp eax, ebx
jne 0x100b382f
mov eax, 0x100c9853
mov ecx, eax
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
cmp al, bl
jne 0x100b3834
sub ecx, edi
add edx, 4
lea eax, [ecx + esi + 1]
cmp edx, 8
jne 0x100b3810
lea esi, [esp + 0x24]
call fcn.1003bae0
mov byte [esp + 0x4d8], 6
mov edx, dword [esp + 0x24]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edi, eax
cmp edi, ebx
je 0x100b38ca
xor eax, eax
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], eax
lea ecx, [esp + 0x34]
push ecx
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
push 4
lea ecx, [esp + 0x34]
mov dword [edi + 0x20], eax
call fcn.100b3940
lea edx, [esp + 0x3c]
push edx
push 0xc
mov eax, 1
lea ecx, [esp + 0x3c]
call fcn.100b3940
lea eax, [esp + 0x24]
push eax
push ebx
xor eax, eax
lea ecx, [esp + 0x34]
call fcn.100b3980
lea ecx, [esp + 0x2c]
push ecx
push 8
mov eax, 1
lea ecx, [esp + 0x3c]
call fcn.100b3980
add esp, 0x20
mov esi, dword [esp + 0x28]
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebx
call fcn.1002ca10
lea ecx, [esp + 0x7c]
mov byte [esp + 0x4d8], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x98]
mov dword [esp + 0x4d8], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
jmp 0x100b3913
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov ecx, dword [esp + 0x4d0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.100ba2f9
mov esp, ebp
pop ebp
ret