Function at 0x100de4d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101efa66
mov eax, dword fs:[0]
push eax
sub esp, 0x64c
mov eax, dword [0x1024e014]
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 ebx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x658], eax
xor eax, eax
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 0
mov dword [ebp - 0x640], 0
mov dword [ebp - 0x63c], 7
mov word [ebp - 0x650], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x654]
push 4
call sym.SoftNotify.dll_public:_void___thiscall_RC::RCSQLiteConnection::__autoclassinit2_unsigned_int_
push 0x102547d4
lea ecx, [ebp - 0x654]
call fcn.1002a0d0
mov byte [ebp - 4], 1
mov ecx, dword [0x1024e528]
test ecx, ecx
je 0x100de583
cmp dword [0x1024e52c], 8
mov eax, 0x1024e518
cmovae eax, dword [0x1024e518]
jmp 0x100de647
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x100de72f
xor eax, eax
push 0x412
push eax
mov word [ebp - 0x16], ax
lea eax, [ebp - 0x638]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x638]
push 0x208
push eax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
cmp eax, 0x208
ja 0x100de629
test eax, eax
je 0x100de629
add eax, eax
cmp eax, 0x412
jae 0x100de772
xor ecx, ecx
mov word [ebp + eax - 0x638], cx
lea ecx, [ebp - 0x638]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100de616
lea eax, [ebp - 0x638]
jmp 0x100de643
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100de632
lea eax, [ebp - 0x220]
sub ecx, edx
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x650]
call fcn.100045d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x654]
call fcn.1002a100
cmp byte [ebx], 0
lea edi, [ebx + 4]
je 0x100de679
mov ecx, edi
call fcn.100e6b80
test al, al
sete al
mov byte [ebx], al
mov edx, dword [ebp - 0x658]
lea ecx, [ebp - 0x650]
push esi
call fcn.100e6d90
add esp, 4
test al, al
je 0x100de6b5
cmp edi, esi
je 0x100de6ab
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100de6a0
mov eax, dword [esi]
push dword [esi + 0x10]
mov ecx, edi
push eax
call fcn.100045d0
mov byte [ebx], 1
mov bl, 1
jmp 0x100de740
push 0x20c
lea eax, [ebp - 0x220]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x100de73e
xor eax, eax
lea edx, [ebp - 0x220]
mov word [ebp - 0x16], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x100de6f4
sub edx, ecx
lea eax, [ebp - 0x220]
sar edx, 1
lea ecx, [ebp - 0x650]
push edx
push eax
call fcn.100045d0
push esi
push dword [ebp - 0x658]
lea eax, [ebp - 0x650]
mov ecx, ebx
push eax
call fcn.100de470
mov bl, al
jmp 0x100de740
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x654]
call fcn.1002a100
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x650]
call fcn.10004570
mov al, bl
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.101d284b
mov esp, ebp
pop ebp
ret 8
call fcn.101d3178
int3