Function at 0x43e080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495037
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x4b6798]
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 + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x47c], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x498], edi
mov dword [ebp - 0x49c], ecx
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x460], 7
mov dword [ebp - 0x464], ebx
mov word [ebp - 0x474], ax
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x488]
and ecx, 0xfffffe07
or ecx, 7
push 0x10
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], ebx
call fcn.004739eb
add esp, 4
mov dword [ebp - 0x494], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x43e126
mov esi, eax
call fcn.00451710
jmp 0x43e128
xor eax, eax
mov dword [ebp - 0x490], eax
xor edx, edx
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], ebx
mov word [ebp - 0x458], dx
lea ecx, [ebp - 0x480]
push ecx
mov byte [ebp - 4], 3
mov eax, dword [edi]
mov edx, dword [eax + 0x50]
push ebx
push ebx
push edi
mov dword [ebp - 0x480], ebx
call edx
mov dword [ebp - 0x478], eax
cmp eax, ebx
jl 0x43e5d0
mov eax, dword [ebp - 0x480]
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x43e180
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x43e180
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x458]
call fcn.00409bc0
mov eax, dword [ebp - 0x480]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp - 0x444], 8
mov eax, dword [ebp - 0x458]
jae 0x43e1b9
mov eax, esi
push eax
call fcn.0045bf00
lea edi, [ebp - 0x430]
test al, al
je 0x43e2ac
push str.DOWNLOAD_LOCAL
call fcn.0044ed00
push str.type
lea ecx, [ebp - 0x490]
push ecx
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 - 0x444], 8
jb 0x43e217
mov ebx, dword [ebp - 0x458]
test ebx, ebx
jne 0x43e21d
xor eax, eax
jmp 0x43e24a
lea ebx, [ebp - 0x458]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43e237
xor eax, eax
jmp 0x43e24a
mov eax, edi
call fcn.00486070
mov esi, esp
lea ecx, [edi + edi]
mov eax, ebx
call fcn.00422b80
push eax
lea edi, [ebp - 0x430]
call fcn.0044ed00
push 0x4a1cb8
lea edx, [ebp - 0x490]
push edx
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
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax + 0x198]
test ecx, ecx
je 0x43e29d
push 0
lea edx, [ebp - 0x490]
push edx
call fcn.0046c2a0
mov dword [ebp - 0x478], 0
jmp 0x43e5ce
push str.DOWNLOADING
call fcn.0044ed00
push str.type
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 6
call fcn.0044f840
mov esi, eax
lea eax, [ebp - 0x430]
call fcn.0044ef80
lea eax, [ebp - 0x430]
mov byte [ebp - 4], 3
call fcn.0044ef10
cmp dword [ebp - 0x444], 8
jb 0x43e2fe
mov esi, dword [ebp - 0x458]
cmp esi, ebx
jne 0x43e304
xor eax, eax
jmp 0x43e333
lea esi, [ebp - 0x458]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43e31e
xor eax, eax
jmp 0x43e333
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 - 0x430]
call fcn.0044ed00
push 0x4a1cb8
lea ecx, [ebp - 0x490]
push ecx
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 edx, dword [ebp - 0x47c]
mov ecx, dword [edx + 0x198]
cmp ecx, ebx
je 0x43e386
push 1
lea eax, [ebp - 0x490]
push eax
call fcn.0046c2a0
lea ecx, [ebp - 0x420]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, ebx
jne 0x43e3ab
mov dword [ebp - 0x478], 0x80004005
jmp 0x43e5d0
lea edx, [ebp - 0x218]
push edx
push ebx
push 0x4a2bf4
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
cmp eax, ebx
jne 0x43e3d8
mov dword [ebp - 0x478], 0x80004005
jmp 0x43e5d0
lea ecx, [ebp - 0x494]
push ecx
call fcn.00445050
mov dword [ebp - 0x478], eax
cmp eax, ebx
jl 0x43e5d0
mov ebx, dword [ebp - 0x494]
mov edx, dword [ebx]
mov eax, dword [edx + 4]
push ebx
call eax
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43e410
sub eax, edx
sar eax, 1
push eax
lea esi, [ebx + 0x10]
lea eax, [ebp - 0x218]
call fcn.00409bc0
mov ecx, dword [ebp - 0x4a0]
mov edx, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x498]
push ecx
push edx
push eax
push ebx
call fcn.00433070
mov dword [ebp - 0x478], eax
test eax, eax
js 0x43e5ce
lea esi, [ebp - 0x43c]
mov edx, ebx
call fcn.004339a0
mov edi, eax
lea esi, [ebp - 0x474]
mov byte [ebp - 4], 8
call fcn.004030e0
lea esi, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00403060
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
push str.SAVE_FILE
lea edi, [ebp - 0x430]
call fcn.0044ed00
push str.type
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 9
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 - 0x460], 8
jb 0x43e4dc
mov ebx, dword [ebp - 0x474]
test ebx, ebx
jne 0x43e4e2
xor eax, eax
jmp 0x43e50f
lea ebx, [ebp - 0x474]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43e4fc
xor eax, eax
jmp 0x43e50f
mov eax, edi
call fcn.00486070
mov esi, esp
lea ecx, [edi + edi]
mov eax, ebx
call fcn.00422b80
push eax
lea edi, [ebp - 0x430]
call fcn.0044ed00
push str.defaultFile
lea ecx, [ebp - 0x490]
push ecx
mov byte [ebp - 4], 0xa
call fcn.0044f840
mov esi, eax
mov eax, edi
call fcn.0044ef80
mov eax, edi
mov byte [ebp - 4], 3
call fcn.0044ef10
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax*4 + 1]
cmp edi, 0x3fffffff
jle 0x43e564
xor eax, eax
jmp 0x43e57b
mov eax, edi
call fcn.00486070
mov esi, esp
lea ecx, [edi + edi]
lea eax, [ebp - 0x218]
call fcn.00422b80
push eax
lea edi, [ebp - 0x430]
call fcn.0044ed00
push str.realFile
lea eax, [ebp - 0x490]
push eax
mov byte [ebp - 4], 0xb
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 - 0x47c]
mov ecx, dword [ecx + 0x198]
test ecx, ecx
je 0x43e5ce
push 1
lea edx, [ebp - 0x490]
push edx
call fcn.0046c2a0
xor ebx, ebx
xor eax, eax
cmp dword [ebp - 0x478], ebx
mov edi, 8
setge al
mov esi, eax
cmp dword [ebp - 0x444], edi
jb 0x43e5f9
mov ecx, dword [ebp - 0x458]
push ecx
call fcn.004736d0
add esp, 4
xor edx, edx
lea eax, [ebp - 0x490]
mov dword [ebp - 0x444], 7
mov dword [ebp - 0x448], ebx
mov word [ebp - 0x458], dx
mov byte [ebp - 4], dl
call fcn.0044ef10
cmp dword [ebp - 0x460], edi
jb 0x43e637
mov eax, dword [ebp - 0x474]
push eax
call fcn.004736d0
add esp, 4
mov eax, esi
lea esp, [ebp - 0x4b0]
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.004736db
mov esp, ebp
pop ebp
ret 8