Function at 0x406250
Capabilities:
Get common file path
Link many functions at runtime
Read .ini file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f071
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xaf0
mov eax, dword [0x57c54c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xafc], ecx
push 0x105
lea eax, [ebp - 0x260]
push 0
push eax
call fcn.00503920
add esp, 0xc
call fcn.00407620
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x4062e2
movaps xmm0, xmmword [0x5648a0]
lea ecx, [ebp - 0x2c]
push ecx
push eax
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0x61507265
mov dword [ebp - 0x18], 0x416874
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x28], eax
push 0
push 0x1a
lea eax, [ebp - 0x260]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x4073ed
mov dword [ebp - 0xa68], 0
mov dword [ebp - 0xa64], 0
mov dword [ebp - 0xa68], 0
mov dword [ebp - 0xa64], 0xf
mov byte [ebp - 0xa78], 0
mov dword [ebp - 4], 0
lea edi, [ebp - 0x260]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x406340
mov edx, dword [ebp - 0xa64]
sub edi, ecx
mov ecx, dword [ebp - 0xa68]
mov eax, edx
sub eax, ecx
push edi
cmp edi, eax
ja 0x40638f
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0xa68], eax
lea esi, [ebp - 0xa78]
cmovae esi, dword [ebp - 0xa78]
lea eax, [ebp - 0x260]
add esi, ecx
push eax
push esi
call fcn.00504000
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4063af
lea eax, [ebp - 0x260]
mov byte [ebp - 0xaf8], 0
push eax
push dword [ebp - 0xaf8]
lea ecx, [ebp - 0xa78]
push edi
call fcn.0040cc50
mov ecx, dword [ebp - 0xa64]
mov eax, ecx
mov edi, dword [ebp - 0xa68]
sub eax, edi
push 0x11
push str.MozillaFirefox_
cmp eax, 0x11
jb 0x4063f7
cmp ecx, 0x10
lea esi, [ebp - 0xa78]
lea eax, [edi + 0x11]
cmovae esi, dword [ebp - 0xa78]
mov dword [ebp - 0xa68], eax
lea eax, [esi + edi]
push eax
call fcn.00504000
add esp, 0xc
mov byte [esi + edi + 0x11], 0
jmp 0x406411
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa78]
push dword [ebp - 0xaf8]
push 0x11
call fcn.0040cc50
cmp dword [ebp - 0xa64], 0x10
lea edi, [ebp - 0xa78]
cmovae edi, dword [ebp - 0xa78]
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40644c
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x3c]
push ecx
push eax
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
push edi
call eax
test eax, eax
je 0x407395
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0xf
mov byte [ebp - 0xa90], 0
mov byte [ebp - 4], 1
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0xa90]
call fcn.004081c0
mov ecx, dword [ebp - 0xa7c]
mov eax, ecx
mov edi, dword [ebp - 0xa80]
sub eax, edi
push 0xc
push str.profiles.ini
cmp eax, 0xc
jb 0x4064e7
cmp ecx, 0x10
lea esi, [ebp - 0xa90]
lea eax, [edi + 0xc]
cmovae esi, dword [ebp - 0xa90]
mov dword [ebp - 0xa80], eax
lea eax, [esi + edi]
push eax
call fcn.00504000
add esp, 0xc
mov byte [esi + edi + 0xc], 0
jmp 0x406501
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa90]
push dword [ebp - 0xaf8]
push 0xc
call fcn.0040cc50
cmp dword [ebp - 0xa7c], 0x10
lea edi, [ebp - 0xa90]
cmovae edi, dword [ebp - 0xa90]
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x40653c
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x3c]
push ecx
push eax
movups xmmword [ebp - 0x3c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
push edi
call eax
test eax, eax
je 0x40733c
push 0x7d0
lea eax, [ebp - 0xa30]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0xa90]
cmp dword [ebp - 0xa7c], 0x10
cmovae eax, dword [ebp - 0xa90]
push eax
push 0x7d0
lea eax, [ebp - 0xa30]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesA]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov edi, eax
movq qword [ebp - 0x38], xmm0
mov dword [ebp - 0xaf8], edi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.0040c920
mov eax, dword [ebp - 0x38]
add esp, 4
xor esi, esi
mov dword [ebp - 0x34], eax
test edi, edi
je 0x407330
cmp byte [ebp + esi - 0xa30], 0
jne 0x4065ea
inc esi
cmp esi, edi
jb 0x4065d6
jmp 0x407330
lea edx, [ebp - 0xa30]
mov dword [ebp - 0x1c], 0
add edx, esi
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x406617
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040add0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00407c90
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406672
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406668
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40740b
push edx
push ecx
call fcn.005010b4
add esp, 8
mov eax, dword [ebp - 0xaf8]
lea edi, [esi + 1]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edi, eax
jae 0x406791
lea esi, [ebp - 0xa2f]
add esi, edi
nop dword [eax]
cmp byte [esi - 1], 0
jne 0x406787
cmp byte [esi], 0
je 0x406787
mov ecx, esi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4066d8
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x2c]
call fcn.0040add0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
cmp dword [ebp - 0x30], eax
je 0x406728
movups xmm0, xmmword [ebp - 0x2c]
mov dword [eax + 0x10], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x10], xmm0
mov eax, 0xf
mov dword [ebp - 0x18], eax
add dword [ebp - 0x34], 0x18
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jmp 0x406738
lea ecx, [ebp - 0x2c]
push ecx
push eax
lea ecx, [ebp - 0x38]
call fcn.0040c2a0
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 2
cmp eax, 0x10
jb 0x40676f
mov ecx, dword [ebp - 0x2c]
lea edx, [eax + 1]
mov eax, ecx
cmp edx, 0x1000
jb 0x406765
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40740b
push edx
push ecx
call fcn.005010b4
add esp, 8
mov eax, dword [ebp - 0xaf8]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
inc edi
inc esi
cmp edi, eax
jb 0x4066a0
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
je 0x407330
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xa94], 0
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xa94], 0xf
mov byte [ebp - 0xaa8], 0
mov byte [ebp - 4], 5
mov esi, dword [ebp - 0x38]
mov eax, dword [ebp - 0x34]
cmp esi, eax
je 0x406b72
nop
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408380
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push 7
push str.Install
push 0
call fcn.0040c460
add esp, 0xc
cmp eax, 0xffffffff
jne 0x406870
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x40684b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406841
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40740b
push edx
push ecx
call fcn.005010b4
add esp, 8
mov eax, dword [ebp - 0x34]
add esi, 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp esi, eax
jne 0x4067e0
jmp 0x406b72
push 0x105
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0xa90]
cmp dword [ebp - 0xa7c], 0x10
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0xa90]
cmp edi, 0x10
push eax
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x158]
push 0x104
push eax
push 0
push str.Default
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x158], 0
je 0x406b25
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0xf
mov byte [ebp - 0xa48], 0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa78]
cmp dword [ebp - 0xa64], 0x10
mov esi, dword [ebp - 0xa34]
mov eax, esi
cmovae ecx, dword [ebp - 0xa78]
mov edi, dword [ebp - 0xa68]
mov edx, dword [ebp - 0xa38]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x40695a
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0xa38], eax
lea eax, [ebp - 0xa48]
cmovae eax, dword [ebp - 0xa48]
lea esi, [eax + edx]
push esi
call fcn.00504000
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x406973
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa48]
push dword [ebp - 0xaf8]
push edi
call fcn.0040cc50
lea edi, [ebp - 0x158]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x406980
mov edx, dword [ebp - 0xa34]
sub edi, ecx
mov ecx, dword [ebp - 0xa38]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0xaf8], ecx
push edi
cmp edi, eax
ja 0x4069df
cmp edx, 0x10
lea eax, [edi + ecx]
lea esi, [ebp - 0xa48]
mov dword [ebp - 0xa38], eax
cmovae esi, dword [ebp - 0xa48]
lea eax, [ebp - 0x158]
push eax
lea eax, [esi + ecx]
push eax
call fcn.00504000
mov ecx, dword [ebp - 0xaf8]
lea eax, [esi + edi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x4069ff
lea eax, [ebp - 0x158]
mov byte [ebp - 0xaf8], 0
push eax
push dword [ebp - 0xaf8]
lea ecx, [ebp - 0xa48]
push edi
call fcn.0040cc50
mov ecx, dword [ebp - 0xa34]
mov eax, ecx
mov edi, dword [ebp - 0xa38]
sub eax, edi
push 9
push str.prefs.js
cmp eax, 9
jb 0x406a47
cmp ecx, 0x10
lea esi, [ebp - 0xa48]
lea eax, [edi + 9]
cmovae esi, dword [ebp - 0xa48]
mov dword [ebp - 0xa38], eax
lea eax, [esi + edi]
push eax
call fcn.00504000
add esp, 0xc
mov byte [esi + edi + 9], 0
jmp 0x406a61
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa48]
push dword [ebp - 0xaf8]
push 9
call fcn.0040cc50
cmp dword [ebp - 0xa34], 0x10
lea edi, [ebp - 0xa48]
cmovae edi, dword [ebp - 0xa48]
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x406a9c
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x4c]
push ecx
push eax
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
push edi
call eax
test eax, eax
je 0x406acc
cmp dword [ebp - 0xa34], 0x10
lea eax, [ebp - 0xa48]
push dword [ebp - 0xa38]
cmovae eax, dword [ebp - 0xa48]
lea ecx, [ebp - 0xaa8]
push eax
call fcn.0040add0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xa34]
cmp edx, 0x10
jb 0x406b0a
mov ecx, dword [ebp - 0xa48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b00
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407410
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0xa38], 0
mov dword [ebp - 0xa34], 0xf
mov byte [ebp - 0xa48], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406b5d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406b53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407415
push edx
push ecx
call fcn.005010b4
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0xa98], 0
jne 0x406f5c
mov esi, dword [ebp - 0x38]
cmp esi, eax
je 0x4072d7
nop word [eax + eax]
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408380
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x2c]
mov edi, dword [ebp - 0x18]
cmp edi, 0x10
mov edx, dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push 7
push str.Profile
push 0
call fcn.0040c460
add esp, 0xc
cmp eax, 0xffffffff
je 0x406bf5
cmp dword [ebp - 0xa7c], 0x10
lea ecx, [ebp - 0xa90]
lea eax, [ebp - 0x2c]
cmovae ecx, dword [ebp - 0xa90]
cmp edi, 0x10
push ecx
cmovae eax, dword [ebp - 0x2c]
push 0
push str.Default
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
je 0x406c50
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406c2d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406c23
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40740b
push edx
push ecx
call fcn.005010b4
add esp, 8
add esi, 0x18
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp esi, dword [ebp - 0x34]
jne 0x406b90
jmp 0x406f4f
push 0x105
lea eax, [ebp - 0x158]
push 0
push eax
call fcn.00503920
add esp, 0xc
lea eax, [ebp - 0xa90]
cmp dword [ebp - 0xa7c], 0x10
lea ecx, [ebp - 0x2c]
cmovae eax, dword [ebp - 0xa90]
cmp dword [ebp - 0x18], 0x10
push eax
cmovae ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x158]
push 0x104
push eax
push 0
push str.Path
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x158], 0
je 0x406f05
mov dword [ebp - 0xa50], 0
mov dword [ebp - 0xa4c], 0
mov dword [ebp - 0xa50], 0
mov dword [ebp - 0xa4c], 0xf
mov byte [ebp - 0xa60], 0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa78]
cmp dword [ebp - 0xa64], 0x10
mov esi, dword [ebp - 0xa4c]
mov eax, esi
cmovae ecx, dword [ebp - 0xa78]
mov edi, dword [ebp - 0xa68]
mov edx, dword [ebp - 0xa50]
sub eax, edx
push edi
push ecx
cmp edi, eax
ja 0x406d3b
lea eax, [edi + edx]
cmp esi, 0x10
mov dword [ebp - 0xa50], eax
lea eax, [ebp - 0xa60]
cmovae eax, dword [ebp - 0xa60]
lea esi, [eax + edx]
push esi
call fcn.00504000
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x406d54
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa60]
push dword [ebp - 0xaf8]
push edi
call fcn.0040cc50
lea edi, [ebp - 0x158]
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x406d60
mov edx, dword [ebp - 0xa4c]
sub edi, ecx
mov ecx, dword [ebp - 0xa50]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0xaf8], ecx
push edi
cmp edi, eax
ja 0x406dbf
cmp edx, 0x10
lea eax, [ecx + edi]
lea esi, [ebp - 0xa60]
mov dword [ebp - 0xa50], eax
cmovae esi, dword [ebp - 0xa60]
lea eax, [ebp - 0x158]
push eax
lea eax, [esi + ecx]
push eax
call fcn.00504000
mov ecx, dword [ebp - 0xaf8]
lea eax, [edi + esi]
add esp, 0xc
mov byte [eax + ecx], 0
jmp 0x406ddf
lea eax, [ebp - 0x158]
mov byte [ebp - 0xaf8], 0
push eax
push dword [ebp - 0xaf8]
lea ecx, [ebp - 0xa60]
push edi
call fcn.0040cc50
mov ecx, dword [ebp - 0xa4c]
mov eax, ecx
mov edi, dword [ebp - 0xa50]
sub eax, edi
push 9
push str.prefs.js
cmp eax, 9
jb 0x406e27
cmp ecx, 0x10
lea esi, [ebp - 0xa60]
lea eax, [edi + 9]
cmovae esi, dword [ebp - 0xa60]
mov dword [ebp - 0xa50], eax
lea eax, [esi + edi]
push eax
call fcn.00504000
add esp, 0xc
mov byte [esi + edi + 9], 0
jmp 0x406e41
mov byte [ebp - 0xaf8], 0
lea ecx, [ebp - 0xa60]
push dword [ebp - 0xaf8]
push 9
call fcn.0040cc50
cmp dword [ebp - 0xa4c], 0x10
lea edi, [ebp - 0xa60]
cmovae edi, dword [ebp - 0xa60]
call fcn.004074f0
mov esi, eax
mov eax, dword [esi + 4]
test eax, eax
je 0x406e7c
movaps xmm0, xmmword [str.PathFileExistsA]
lea ecx, [ebp - 0x4c]
push ecx
push eax
movups xmmword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x18]
push edi
call eax
test eax, eax
je 0x406eac
cmp dword [ebp - 0xa4c], 0x10
lea eax, [ebp - 0xa60]
push dword [ebp - 0xa50]
cmovae eax, dword [ebp - 0xa60]
lea ecx, [ebp - 0xaa8]
push eax
call fcn.0040add0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0xa4c]
cmp edx, 0x10
jb 0x406eea
mov ecx, dword [ebp - 0xa60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406ee0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40741a
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0xa50], 0
mov dword [ebp - 0xa4c], 0xf
mov byte [ebp - 0xa60], 0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x406f3d
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x406f33
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40741f
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp dword [ebp - 0xa98], 0
je 0x4072d7
push 0xb8
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00503920
cmp dword [ebp - 0xa94], 0x10
lea eax, [ebp - 0xaa8]
lea ecx, [ebp - 0x110]
cmovae eax, dword [ebp - 0xaa8]
push eax
call fcn.00408450
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
test byte [ebp + eax - 0x104], 6
jne 0x407239
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x110]
call fcn.0040bf90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
jne 0x4071e7
nop
push ecx
push str.user_pref__browser.startup.homepage____
lea ecx, [ebp - 0x2c]
call fcn.00407e40
mov esi, eax
cmp esi, 0xffffffff
jne 0x407024
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x110]
call fcn.0040bf90
mov ecx, dword [eax]
mov ecx, dword [ecx + 4]
test byte [ecx + eax + 0xc], 6
je 0x406ff0
jmp 0x4071e7
push ecx
push 0x55ec00
lea ecx, [ebp - 0x2c]
call fcn.00407e40
cmp eax, 0xffffffff
je 0x4071e7
lea ecx, [esi + 0x27]
cmp eax, ecx
jbe 0x4071e7
sub eax, esi
sub eax, 0x27
push eax
push ecx
lea eax, [ebp - 0xac0]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00407da0
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0xab0], 0
je 0x407186
push ecx
push str.about:
lea ecx, [ebp - 0xac0]
call fcn.00407e40
cmp eax, 0xffffffff
jne 0x407186
xor eax, eax
mov dword [ebp - 0xae0], 0
mov dword [ebp - 0xadc], 0
mov dword [ebp - 0xae0], 0
mov dword [ebp - 0xadc], 7
mov word [ebp - 0xaf0], ax
mov byte [ebp - 4], 0xd
mov dword [ebp - 0xac8], eax
mov dword [ebp - 0xac4], eax
mov dword [ebp - 0xac8], eax
mov dword [ebp - 0xac4], 7
mov word [ebp - 0xad8], ax
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0xac0]
cmp dword [ebp - 0xaac], 8
lea ecx, [ebp - 0xaf0]
push dword [ebp - 0xab0]
cmovae eax, dword [ebp - 0xac0]
push eax
mov dword [ebp - 0xaf4], 6
call fcn.0040ab40
mov edi, dword [ebp - 0xafc]
mov esi, dword [edi + 0x258]
cmp dword [edi + 0x25c], esi
je 0x407164
mov eax, dword [ebp - 0xaf4]
lea ecx, [esi + 4]
mov dword [esi], eax
lea eax, [ebp - 0xaf0]
push eax
mov dword [ebp - 0xafc], esi
call fcn.0040d350
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xad8]
push eax
lea ecx, [esi + 0x1c]
call fcn.0040d350
mov byte [ebp - 4], 0xf
add dword [edi + 0x258], 0x34
jmp 0x407177
lea eax, [ebp - 0xaf4]
push eax
push esi
lea ecx, [edi + 0x254]
call fcn.0040c030
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xaf4]
call fcn.004050a0
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0xaac]
cmp edx, 8
jb 0x4071ca
mov ecx, dword [ebp - 0xac0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4071c0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407424
push edx
push ecx
call fcn.005010b4
add esp, 8
xor eax, eax
mov dword [ebp - 0xab0], 0
mov dword [ebp - 0xaac], 7
mov word [ebp - 0xac0], ax
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x407225
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40721b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407429
push edx
push ecx
call fcn.005010b4
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 5
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xafc], eax
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_ifstream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x70]
mov dword [ebp + ecx - 0x114], eax
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x100]
call fcn.00408fb0
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.virtual_0], vtable.std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x18]
mov dword [ebp + ecx - 0x114], eax
lea eax, [ebp - 0xa0]
mov dword [ebp - 0xafc], eax
mov dword [ebp - 0xa0], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov byte [ebp - 4], 5
push eax
mov dword [ebp - 0xa0], vtable.std::ios_base.0
call fcn.004ff4ba
add esp, 4
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xa94]
cmp edx, 0x10
jb 0x407315
mov ecx, dword [ebp - 0xaa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40730b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40742e
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0xa98], 0
mov dword [ebp - 0xa94], 0xf
mov byte [ebp - 0xaa8], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x38]
call fcn.0040aa20
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0xa7c]
cmp edx, 0x10
jb 0x40737a
mov ecx, dword [ebp - 0xa90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x407370
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407433
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0xa80], 0
mov dword [ebp - 0xa7c], 0xf
mov byte [ebp - 0xa90], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0xa64]
cmp edx, 0x10
jb 0x4073d2
mov ecx, dword [ebp - 0xa78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073c8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x407438
push edx
push ecx
call fcn.005010b4
add esp, 8
mov dword [ebp - 0xa68], 0
mov dword [ebp - 0xa64], 0xf
mov byte [ebp - 0xa78], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00500b45
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
call fcn.00508868
int3