Function at 0x45318dce
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4536260e
call fcn.4534228c
sub esp, 0x218
push ebx
mov ebx, ecx
push esi
push edi
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x45318df5
xor ecx, ecx
cmp byte [eax], cl
sete cl
mov eax, ecx
jmp 0x45318df8
push 1
pop eax
test eax, eax
jne 0x45318e47
mov edi, dword [ebx + 0x74]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x120]
mov eax, ecx
mov esi, edi
mov edi, edx
push 0
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x120]
push eax
and ecx, 3
push dword [ebx + 0xb8]
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x120]
lea ecx, [ebx + 0x804]
push eax
push ebx
call fcn.4531e205
mov edi, dword [ebx + 0xb8]
push edi
call sym.HHA.dll_Ordinal_107
mov eax, dword [ebx + 0x80]
test eax, eax
je 0x45318e68
xor ecx, ecx
cmp byte [eax], cl
sete cl
mov eax, ecx
jmp 0x45318e6b
push 1
pop eax
test eax, eax
lea edx, [ebp - 0x120]
je 0x45318ebb
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x45366768
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x120]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_4
push 0
lea eax, [ebp - 0x120]
push 0
push eax
push dword [ebx + 0xb8]
call sym.HHA.dll_Ordinal_316
jmp 0x45318ede
mov edi, dword [ebx + 0x80]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x120]
push 0
push eax
push dword [ebx + 0xb8]
call sym.HHA.dll_Ordinal_315
lea eax, [ebp - 0x120]
push eax
call sym.HHA.dll_Ordinal_23
mov edi, eax
mov eax, dword [ebx + 0x7f8]
test eax, eax
je 0x45318f11
push eax
call fcn.45341e40
pop ecx
push 0x10c
mov dword [ebx + 0x7f8], edi
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
test eax, eax
je 0x45318f38
mov ecx, eax
call fcn.4532296d
mov edi, eax
jmp 0x45318f3a
xor edi, edi
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [ebx + 0x4e0], edi
call fcn.4532299f
test eax, eax
jl 0x453193da
push dword [ebx + 0x7f8]
mov ecx, edi
call fcn.453229f4
test eax, eax
jl 0x453193da
cmp dword [ebx + 0x18], 0
mov edi, 0xe8
je 0x45318fad
push edi
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
push 1
pop esi
test eax, eax
mov dword [ebp - 4], esi
je 0x45318f92
push 0
mov ecx, eax
call fcn.45326360
jmp 0x45318f94
xor eax, eax
or dword [ebp - 4], 0xffffffff
and dword [ebx + 0x424], 0
mov dword [ebx + 0x414], eax
mov dword [eax + 0xd0], esi
jmp 0x45318fb0
push 1
pop esi
cmp dword [ebx + 0x2c], 0
je 0x45318fe8
push edi
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 2
je 0x45318fd6
push 0
mov ecx, eax
call fcn.45326360
jmp 0x45318fd8
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x418], eax
mov dword [eax + 0xd0], esi
mov eax, dword [ebx + 0xac]
mov eax, dword [eax + 4]
test eax, eax
je 0x45318ffb
mov edi, dword [eax + 0x10]
dec edi
jmp 0x45318ffd
xor edi, edi
push 0xbac
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 3
je 0x45319020
push ebx
mov ecx, eax
call fcn.4532035c
jmp 0x45319022
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [ebx + 0x4d0], eax
test edi, edi
jne 0x45319032
mov edi, esi
push edi
mov ecx, eax
call fcn.45320838
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x4531905a
push 0x453636e4
jmp 0x453193e0
lea esi, [ebx + 0x6f4]
xor edi, edi
push esi
push edi
lea eax, [ebp - 0x224]
push 0x453668b8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x45319089
push 0x453636e4
push 0x21394
jmp 0x453193e5
push 0x10c
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
cmp eax, edi
mov dword [ebp - 4], 4
je 0x453190ab
mov ecx, eax
call fcn.4532296d
mov edi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [ebx + 0x6f0], edi
call fcn.4532299f
test eax, eax
jl 0x453193d7
push esi
mov ecx, edi
call fcn.45322ad5
test eax, eax
jl 0x453193d7
cmp dword [ebp + 8], 0
jne 0x45319199
mov edi, dword [ebx + 0x7f8]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x120]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str..chi
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [ebp - 0x120]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call sym.HHA.dll_Ordinal_4
push 0x10c
call fcn.45342660
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 5
je 0x4531913c
mov ecx, eax
call fcn.4532296d
mov esi, eax
jmp 0x4531913e
xor esi, esi
or dword [ebp - 4], 0xffffffff
mov ecx, esi
mov dword [ebx + 0x4e4], esi
call fcn.4532299f
test eax, eax
jl 0x45319165
lea eax, [ebp - 0x120]
mov ecx, esi
push eax
call fcn.453229f4
test eax, eax
jge 0x45319199
lea eax, [ebp - 0x120]
push eax
push 0x21392
push ebx
call fcn.4531deee
mov esi, dword [ebx + 0x4e4]
add esp, 0xc
test esi, esi
je 0x45319192
mov ecx, esi
call fcn.4532297a
push esi
call fcn.45341eb0
pop ecx
and dword [ebx + 0x4e4], 0
mov edi, 0x110
push edi
call fcn.45342660
pop ecx
mov ecx, eax
mov dword [ebp + 8], ecx
test ecx, ecx
mov dword [ebp - 4], 6
je 0x453191d0
mov eax, dword [ebx + 0x4e4]
test eax, eax
jne 0x453191c5
mov eax, dword [ebx + 0x4e0]
push eax
call fcn.45322bf1
mov dword [ebp + 8], eax
jmp 0x453191d4
and dword [ebp + 8], 0
mov eax, dword [ebp + 8]
or esi, 0xffffffff
push edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x4cc], eax
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 7
je 0x4531920a
push dword [ebx + 0x6f0]
mov ecx, eax
call fcn.45322bf1
mov dword [ebp - 0x18], eax
jmp 0x4531920e
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
push edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x4b8], eax
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 8
je 0x45319241
push dword [ebx + 0x6f0]
mov ecx, eax
call fcn.45322bf1
mov dword [ebp - 0x14], eax
jmp 0x45319245
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
push edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x4bc], eax
call fcn.45342660
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 9
je 0x45319278
push dword [ebx + 0x6f0]
mov ecx, eax
call fcn.45322bf1
mov dword [ebp - 0x10], eax
jmp 0x4531927c
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
push edi
mov dword [ebp - 4], esi
mov dword [ebx + 0x4c0], eax
call fcn.45342660
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 0xa
je 0x453192ae
push dword [ebx + 0x6f0]
mov ecx, eax
call fcn.45322bf1
mov esi, eax
jmp 0x453192b0
xor esi, esi
or dword [ebp - 4], 0xffffffff
push edi
mov dword [ebx + 0x4c4], esi
call fcn.45342660
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov dword [ebp - 4], 0xb
je 0x453192e0
push dword [ebx + 0x6f0]
mov ecx, eax
call fcn.45322bf1
mov edi, eax
jmp 0x453192e2
xor edi, edi
mov ecx, dword [ebp + 8]
or dword [ebp - 4], 0xffffffff
push str.ITBITS
mov dword [ebx + 0x4c8], edi
call fcn.45322fdd
test eax, eax
jl 0x453193ee
mov ecx, dword [ebp - 0x18]
push str.TOCIDX
call fcn.45322f67
test eax, eax
jl 0x453193ee
mov ecx, dword [ebp - 0x14]
push str.TOPICS
call fcn.45322f67
test eax, eax
jl 0x453193ee
mov ecx, dword [ebp - 0x10]
push str.URLTBL
call fcn.45322f67
test eax, eax
jl 0x453193ee
push str.URLSTR
mov ecx, esi
call fcn.45322f67
test eax, eax
jl 0x453193ee
push str.STRINGS
mov ecx, edi
call fcn.45322f67
test eax, eax
jl 0x453193ee
push 1
mov ecx, edi
pop esi
push esi
push 0x453636e4
call fcn.453231ff
mov eax, dword [ebx + 0x10]
mov ecx, ebx
mov dword [ebx + 0x4d4], esi
mov dword [ebx + 0x4dc], eax
call fcn.45321ecc
push 0x444
call fcn.45342660
pop ecx
mov dword [ebp + 8], eax
test eax, eax
mov dword [ebp - 4], 0xc
je 0x453193c0
push ebx
mov ecx, eax
push dword [ebx + 0x30]
push dword [0x453187a4]
push dword [0x453187a0]
call fcn.4533f85a
jmp 0x453193c2
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, eax
mov dword [ebx + 0x4a0], eax
call fcn.4533f895
mov eax, esi
jmp 0x453193f0
push esi
jmp 0x453193e0
push dword [ebx + 0x7f8]
push 0x21392
push ebx
call fcn.4531deee
add esp, 0xc
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4