Function at 0x403db0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0xe8]
push ebx
sub esp, 0xfc
mov dword [esp], str.LOCALAPPDATA
call sub.msvcrt.dll_getenv
mov dword [ebp - 0xf0], edi
test eax, eax
je 0x4042f1
mov dword [esp], eax
mov ebx, eax
call sub.msvcrt.dll_strlen
mov dword [ebp - 0x30], eax
mov esi, eax
cmp eax, 0xf
ja 0x404260
cmp eax, 1
jne 0x404250
movzx edx, byte [ebx]
mov byte [ebp - 0xe8], dl
mov edx, edi
mov dword [ebp - 0xec], eax
mov byte [edx + eax], 0
lea eax, [ebp - 0xf0]
mov dword [esp + 4], eax
lea eax, [ebp - 0xd8]
mov dword [esp + 8], str.GoogleChromeUser_Data
mov dword [esp], eax
call fcn.004ee1a0
mov eax, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xd4]
lea ebx, [ebp - 0x30]
lea esi, [ebp - 0x28]
mov ecx, ebx
mov dword [ebp - 0x30], esi
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c]
sub esp, 8
cmp eax, 7
jbe 0x4042a9
mov dword [esp + 4], 8
mov ecx, ebx
mov dword [esp], str.Default
call fcn.004c3720
sub esp, 8
mov dword [esp], ebx
call fcn.004026e0
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x403ea5
mov ecx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [ecx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0xd8]
mov dword [esp + 8], str.First_Run
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004ee1a0
lea eax, [ebp - 0xa8]
lea ecx, [ebp - 0xd8]
mov dword [esp + 8], str.Local_State
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.004ee1a0
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0xd4]
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xd8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x8c]
sub esp, 8
cmp eax, 0x11
jbe 0x4042b5
mov dword [esp + 4], 0x12
lea ecx, [ebp - 0x90]
mov dword [esp], str.DefaultBookmarks
call fcn.004c3720
lea eax, [ebp - 0x70]
mov edx, dword [ebp - 0xd4]
sub esp, 8
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xd8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x74]
sub esp, 8
cmp eax, 0x10
jbe 0x4042c1
mov dword [esp + 4], 0x11
lea ecx, [ebp - 0x78]
mov dword [esp], str.DefaultFavicons
call fcn.004c3720
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 0xd4]
sub esp, 8
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x5c]
sub esp, 8
cmp eax, 0x13
jbe 0x4042cd
mov dword [esp + 4], 0x14
lea ecx, [ebp - 0x60]
mov dword [esp], str.DefaultPreferences
call fcn.004c3720
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0xd4]
sub esp, 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xd8]
add edx, eax
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x44]
sub esp, 8
cmp eax, 0x1a
jbe 0x4042d9
mov dword [esp + 4], 0x1b
lea ecx, [ebp - 0x48]
mov dword [esp], str.DefaultSecure_Preferences
call fcn.004c3720
mov eax, dword [ebp - 0xd8]
sub esp, 8
mov ecx, ebx
mov dword [ebp - 0x30], esi
mov edx, dword [ebp - 0xd4]
mov dword [esp], eax
add edx, eax
mov dword [esp + 4], edx
call fcn.00401bb0
mov eax, 0x3fffffff
sub eax, dword [ebp - 0x2c]
sub esp, 8
cmp eax, 0x10
jbe 0x4042e5
mov dword [esp + 4], 0x11
mov ecx, ebx
mov dword [esp], str.DefaultWeb_Data
call fcn.004c3720
mov eax, dword [ebp - 0xc0]
sub esp, 8
mov dword [esp + 4], 0x5041c8
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
je 0x4040a6
mov dword [esp], eax
call sub.msvcrt.dll_fclose
mov eax, dword [ebp - 0x48]
mov dword [esp], 0x5041c5
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0xa8]
mov dword [esp], 0x5042a3
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0x90]
mov dword [esp], 0x5042a6
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0x78]
mov dword [esp], 0x5042a9
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0x60]
mov dword [esp], 0x5042ac
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0x30]
mov dword [esp], 0x5042af
mov dword [esp + 4], eax
call fcn.00403680
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x404137
mov ebx, dword [ebp - 0x28]
mov dword [esp], eax
lea edx, [ebx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x48]
lea esi, [ebp - 0x40]
cmp eax, esi
je 0x404153
mov esi, dword [ebp - 0x40]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x60]
lea esi, [ebp - 0x58]
cmp eax, esi
je 0x40416f
mov ebx, dword [ebp - 0x58]
mov dword [esp], eax
lea edx, [ebx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x78]
lea ebx, [ebp - 0x70]
cmp eax, ebx
je 0x40418b
mov esi, dword [ebp - 0x70]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0x90]
lea esi, [ebp - 0x88]
cmp eax, esi
je 0x4041b0
mov ebx, dword [ebp - 0x88]
mov dword [esp], eax
lea edx, [ebx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa0]
cmp eax, edx
je 0x4041d5
mov esi, dword [ebp - 0xa0]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xb8]
cmp eax, edx
je 0x4041fa
mov ebx, dword [ebp - 0xb8]
mov dword [esp], eax
lea edx, [ebx + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0xd8]
lea edx, [ebp - 0xd0]
cmp eax, edx
je 0x40421f
mov esi, dword [ebp - 0xd0]
mov dword [esp], eax
lea edx, [esi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
mov eax, dword [ebp - 0xf0]
cmp eax, edi
je 0x40423e
mov edi, dword [ebp - 0xe8]
mov dword [esp], eax
lea edx, [edi + 1]
mov dword [esp + 4], edx
call fcn.004f09f0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
jne 0x4042fd
mov edx, edi
jmp 0x403e08
lea eax, [ebp - 0x30]
mov dword [esp + 4], 0
lea ecx, [ebp - 0xf0]
mov dword [esp], eax
call fcn.004c3880
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0xf0], eax
sub esp, 8
mov dword [ebp - 0xe8], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0xf0]
jmp 0x403e08
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x5041b0
call fcn.004f6c60
mov dword [esp], 0x504068
call fcn.004f6b70
mov eax, edi
jmp 0x40428b