Function at 0x426640
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fcdc1
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x5732cc]
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 dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x124], eax
xor esi, esi
mov dword [ebp - 4], esi
push 0x468ad0
call fcn.004dbbc8
push 0x100
call fcn.004da8e1
add esp, 8
mov byte [eax], 0
mov byte [ebp - 0x118], 0
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x134], esi
mov dword [ebp - 0x130], esi
mov byte [ebp - 4], 1
mov ecx, dword [0x570024]
mov dword [ebp - 0x120], ecx
mov bl, 2
mov byte [ebp - 4], bl
push esi
push 0x1a
lea edx, [ebp - 0x118]
push edx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push str.MozillaFirefoxProfiles
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov byte [ebp - 0x119], 0
lea ecx, [ebp - 0x119]
push ecx
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x140], esp
lea edx, [ebp - 0x118]
push edx
call fcn.0041ad50
mov byte [ebp - 4], 3
mov byte [ebp - 4], bl
call fcn.0043dcc0
add esp, 0x10
test al, al
je 0x426912
cmp byte [ebp - 0x119], 0
je 0x4267f5
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426746
mov bx, word [0x514670]
mov word [edi], bx
mov eax, dword [ebp - 0x120]
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426760
sub eax, ecx
mov esi, ecx
lea edi, [ebp - 0x118]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426772
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x118]
dec edi
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426790
mov word [edi], bx
lea eax, [ebp - 0x118]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4267a2
mov ecx, dword [0x514780]
mov dword [eax], ecx
mov edx, dword [0x514784]
mov dword [eax + 4], edx
mov cx, word [0x514788]
mov word [eax + 8], cx
mov dl, byte [0x51478a]
mov byte [eax + 0xa], dl
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4267d6
mov word [edi], bx
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4267e8
jmp 0x42689e
mov byte [ebp - 0x118], 0
mov eax, dword [ebp - 0x120]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426804
sub eax, edx
lea edi, [ebp - 0x118]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x426814
mov ecx, eax
mov esi, 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 edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426833
mov dx, word [0x514670]
mov word [edi], dx
lea eax, [ebp - 0x118]
dec eax
lea esp, [esp]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x426850
mov ecx, dword [0x514780]
mov dword [eax], ecx
mov ecx, dword [0x514784]
mov dword [eax + 4], ecx
mov cx, word [0x514788]
mov word [eax + 8], cx
mov cl, byte [0x51478a]
mov byte [eax + 0xa], cl
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426884
mov word [edi], dx
lea edi, [ebp - 0x118]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x426896
mov ecx, 9
mov esi, str.dcd6252a_e6a1_47f0_98c0_405b821e2153
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
push 1
push 0
lea edx, [ebp - 0x118]
push edx
call fcn.0046dc30
add esp, 0xc
test al, al
je 0x426912
lea eax, [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x124]
call fcn.004199b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00423740
mov al, 1
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.004db901
mov esp, ebp
pop ebp
ret
push 0x5422ee
mov ecx, dword [ebp - 0x124]
call fcn.004199b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x120]
call fcn.00416630
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x138]
call fcn.00423740
xor al, al
jmp 0x4268f6