Function at 0x4210f0
Capabilities:
Check if file exists
Gather firefox profile information

Disassembly:
push ebp
lea ebp, [esp - 0x244]
sub esp, 0x244
push 0xffffffffffffffff
push 0x490690
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4b0650]
xor eax, ebp
mov dword [ebp + 0x240], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov esi, dword [ebp + 0x24c]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp + 0x3a]
push ecx
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov word [ebp + 0x38], ax
call fcn.00477c40
add esp, 0xc
lea edx, [ebp + 0x38]
push edx
mov ecx, edi
call fcn.0041a830
push str.cookies.sqlite
lea eax, [ebp + 0x38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp + 0x38]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4212f8
xor edi, edi
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], edi
call fcn.00427100
xor edx, edx
lea eax, [ebp + 0x38]
mov word [ebp + 0x20], dx
mov byte [ebp - 4], 1
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4211a4
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x1c]
call fcn.00415c80
lea ecx, [ebp + 0x1c]
push ecx
lea edx, [ebp]
push edx
mov byte [ebp - 4], 2
call fcn.00425270
add esp, 8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 3
jae 0x4211e4
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00427260
push str.select_value_from_moz_cookies_where_host_.uu.cyberlink.com__and_name_session_id_
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x20]
call fcn.00427560
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c]
call fcn.00427480
lea ecx, [ebp - 0x3c]
test al, al
jne 0x4212a2
push edi
call fcn.00427420
mov ebx, eax
cmp ebx, edi
jne 0x421225
xor edx, edx
jmp 0x421271
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jg 0x42126d
lea eax, [edi + edi]
call fcn.00478cc0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x42126a
push edi
push esi
push 0xffffffffffffffff
xor ecx, ecx
push ebx
push ecx
mov eax, 3
push eax
mov word [esi], cx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x42126f
mov esi, dword [ebp - 0x14]
xor eax, eax
mov edx, eax
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x421276
sub eax, edi
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.00415c80
lea ecx, [ebp - 0x3c]
call fcn.00427490
mov ebx, 1
xor edi, edi
jmp 0x421202
mov byte [ebp - 4], 3
call fcn.004273c0
cmp dword [ebp + 0x18], 0x10
jb 0x4212bd
mov edx, dword [ebp + 4]
push edx
call fcn.00477a90
add esp, 4
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0xf
mov dword [ebp + 0x14], edi
mov byte [ebp + 4], 0
jb 0x4212dd
mov eax, dword [ebp + 0x20]
push eax
call fcn.00477a90
add esp, 4
xor ecx, ecx
mov word [ebp + 0x20], cx
mov byte [ebp - 4], cl
lea ecx, [ebp - 0x20]
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], edi
call fcn.00427500
cmp dword [esi + 0x18], 8
mov dword [ebp - 4], 0xffffffff
jb 0x42132d
mov eax, dword [esi + 4]
jmp 0x421330
lea eax, [esi + 4]
push eax
push str.CInternal::readFirefoxCookie
push str._UNO___s___s
call fcn.00419c60
add esp, 0xc
mov eax, ebx
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x240]
xor ecx, ebp
call fcn.00477bf8
add ebp, 0x244
mov esp, ebp
pop ebp
ret 4