Function at 0x43eb10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49496b
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x4b6798]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
mov dword [ebp - 0x48c], eax
mov eax, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x488], edi
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x44c], ebx
mov word [ebp - 0x45c], cx
mov dword [ebp - 4], ebx
xor edx, edx
mov dword [ebp - 0x42c], eax
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], dx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x47c]
and ecx, 0xfffffe07
or ecx, eax
push 0x10
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x478], ebx
call fcn.004739eb
add esp, 4
mov dword [ebp - 0x460], eax
mov byte [ebp - 4], 2
cmp eax, ebx
je 0x43ebc2
mov esi, eax
call fcn.00451710
jmp 0x43ebc4
xor eax, eax
mov dword [ebp - 0x484], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x460], ebx
cmp eax, ebx
je 0x43ebfb
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43ebe0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x45c]
call fcn.00409bc0
mov eax, dword [edi + 0x3c]
cmp eax, ebx
je 0x43ec22
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43ec07
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x440]
call fcn.00409bc0
lea edx, [ebp - 0x424]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x43ec47
mov dword [ebp - 0x460], 0x80004005
jmp 0x43ee8b
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x4a2bf4
lea ecx, [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, ebx
jne 0x43ec74
mov dword [ebp - 0x460], 0x80004005
jmp 0x43ee8b
lea eax, [ebp - 0x21c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43ec80
sub eax, edx
sar eax, 1
inc eax
cmp eax, dword [edi + 0x20]
jbe 0x43eca4
mov dword [ebp - 0x460], 0x80004005
jmp 0x43ee8b
mov edx, dword [edi + 0x1c]
lea ecx, [ebp - 0x21c]
lea ecx, [ecx]
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x43ecb0
push str.SAVE_FILE
lea edi, [ebp - 0x474]
call fcn.0044ed00
push str.type
lea edx, [ebp - 0x484]
push edx
mov byte [ebp - 4], 4
call fcn.0044f840
mov esi, eax
mov eax, edi
call fcn.0044ef80
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0044ef10
cmp dword [ebp - 0x448], 8
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
jb 0x43ed17
mov esi, dword [ebp - 0x45c]
test esi, esi
jne 0x43ed1d
xor eax, eax
jmp 0x43ed48
lea esi, [ebp - 0x45c]
push esi
call ebx
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43ed33
xor eax, eax
jmp 0x43ed48
mov eax, edi
call fcn.00486070
mov edx, esp
mov eax, esi
lea ecx, [edi + edi]
mov esi, edx
call fcn.00422b80
push eax
lea edi, [ebp - 0x474]
call fcn.0044ed00
push str.defaultFile
lea eax, [ebp - 0x484]
push eax
mov byte [ebp - 4], 5
call fcn.0044f840
mov esi, eax
mov eax, edi
call fcn.0044ef80
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0044ef10
cmp dword [ebp - 0x42c], 8
jb 0x43ed94
mov esi, dword [ebp - 0x440]
test esi, esi
jne 0x43ed9a
xor eax, eax
jmp 0x43edc5
lea esi, [ebp - 0x440]
push esi
call ebx
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43edb0
xor eax, eax
jmp 0x43edc5
mov eax, edi
call fcn.00486070
mov edx, esp
mov eax, esi
lea ecx, [edi + edi]
mov esi, edx
call fcn.00422b80
push eax
lea edi, [ebp - 0x474]
call fcn.0044ed00
push str.defaultExt
lea ecx, [ebp - 0x484]
push ecx
mov byte [ebp - 4], 6
call fcn.0044f840
mov esi, eax
mov eax, edi
call fcn.0044ef80
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0044ef10
mov edx, dword [ebp - 0x488]
mov edi, dword [edx + 0x1c]
test edi, edi
jne 0x43ee0b
xor eax, eax
jmp 0x43ee36
push edi
call ebx
lea esi, [eax*4 + 1]
cmp esi, 0x3fffffff
jle 0x43ee21
xor eax, eax
jmp 0x43ee36
mov eax, esi
call fcn.00486070
mov edx, esp
lea ecx, [esi + esi]
mov eax, edi
mov esi, edx
call fcn.00422b80
push eax
lea edi, [ebp - 0x474]
call fcn.0044ed00
push str.realFile
lea eax, [ebp - 0x484]
push eax
mov byte [ebp - 4], 7
call fcn.0044f840
mov esi, eax
mov eax, edi
call fcn.0044ef80
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0044ef10
mov ecx, dword [ebp - 0x48c]
mov ecx, dword [ecx + 0x198]
test ecx, ecx
je 0x43ee89
push 0
lea edx, [ebp - 0x484]
push edx
call fcn.0046c2a0
xor ebx, ebx
xor eax, eax
cmp dword [ebp - 0x460], ebx
mov byte [ebp - 4], 1
setge al
mov esi, eax
lea eax, [ebp - 0x484]
call fcn.0044ef10
mov edi, 8
cmp dword [ebp - 0x42c], edi
jb 0x43eec3
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.004736d0
add esp, 4
xor edx, edx
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], ebx
mov word [ebp - 0x440], dx
cmp dword [ebp - 0x448], edi
jb 0x43eef3
mov eax, dword [ebp - 0x45c]
push eax
call fcn.004736d0
add esp, 4
mov eax, esi
lea esp, [ebp - 0x49c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004736db
mov esp, ebp
pop ebp
ret 4