Function at 0x423587
Capabilities:
Copy file
Reference sql statements

Disassembly:
push 0x10c
mov eax, 0x4c7adf
call fcn.0049f5ab
mov eax, dword [ebp + 8]
mov esi, ecx
push str.CChromeBrowser::GetIdFromMetaTable___start
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x58], eax
call fcn.00404bd0
lea eax, [ebp - 0x54]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004017f5
or dword [ebp - 4], 0xffffffff
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x54]
call fcn.004058b3
lea eax, [ebp - 0x90]
push str.temp
push eax
call fcn.0040479d
pop ecx
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 8
jb 0x4235ef
mov eax, dword [eax + 4]
jmp 0x4235f2
add eax, 4
push 3
push eax
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0x110]
push eax
mov dword [ebp - 0x114], ecx
call fcn.004058fe
mov byte [ebp - 4], 2
push dword [ebp - 0x114]
lea ecx, [ebp - 0x2c]
call fcn.00404922
lea eax, [ebp - 0x110]
cmp dword [ebp - 0x114], eax
je 0x423639
push dword [ebp - 0x114]
call fcn.0049f900
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 5
call fcn.004058b3
push str.ichcop
lea eax, [ebp - 0x2c]
push eax
call fcn.0041c045
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x423664
lea ecx, [ebp - 0x28]
add esi, 0x20
cmp dword [esi + 0x18], 0x10
jb 0x423672
mov eax, dword [esi + 4]
jmp 0x423675
lea eax, [esi + 4]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp byte [ebp + 0xc], bl
je 0x42368f
mov ecx, dword [ebp - 0x30]
cmp byte [ecx + 0x3d], bl
je 0x4236c4
cmp eax, ebx
jne 0x4236c4
push str.CChromeBrowser::GetIdFromMetaTable___Chrome_is_running.
lea ecx, [ebp - 0x54]
call fcn.00404bd0
lea eax, [ebp - 0x54]
push eax
mov byte [ebp - 4], 6
call fcn.004017f5
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 5
call fcn.004058b3
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00404d71
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4236d0
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x30]
push ecx
push eax
call fcn.00470307
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x42370e
push str.CChromeBrowser::GetIdFromMetaTable___sqlite3_open
lea ecx, [ebp - 0x54]
call fcn.00404bd0
lea eax, [ebp - 0x54]
push esi
push eax
mov byte [ebp - 4], 7
call fcn.004018c5
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x54]
call fcn.004058b3
jmp 0x423815
push str.SELECT_value_FROM_meta_WHERE_keyDefault_Search_Provider_ID
lea eax, [ebp - 0x38]
push eax
call fcn.004049cb
push ebx
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
lea esi, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00404a70
push eax
push dword [ebp - 0x30]
call fcn.00461367
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x42377a
push str.CChromeBrowser::GetIdFromMetaTable___sqlite3_prepare
lea ecx, [ebp - 0x54]
call fcn.00404bd0
lea eax, [ebp - 0x54]
push esi
push eax
mov byte [ebp - 4], 9
call fcn.004018c5
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.004058b3
push dword [ebp - 0x30]
call fcn.0046f495
pop ecx
jmp 0x42380a
push 0x10
pop esi
push dword [ebp - 0x34]
call fcn.0044914c
pop ecx
cmp eax, 0x64
jne 0x4237d0
push ebx
push dword [ebp - 0x34]
call fcn.004495e2
push eax
call fcn.004a2878
mov esi, dword [ebp - 0x58]
add esp, 0xc
push str.CChromeBrowser::GetIdFromMetaTable___sqlite3_step
lea ecx, [ebp - 0x54]
mov dword [esi], eax
call fcn.00404bd0
mov byte [ebp - 4], 0xa
push dword [esi]
lea eax, [ebp - 0x54]
push eax
call fcn.004018c5
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call fcn.004058b3
xor esi, esi
push dword [ebp - 0x34]
call fcn.00448c15
pop ecx
push dword [ebp - 0x30]
call fcn.0046f495
lea ecx, [ebp - 0x74]
mov dword [esp], str.CChromeBrowser::GetIdFromMetaTable___return_value
call fcn.00404bd0
lea eax, [ebp - 0x74]
push esi
push eax
mov byte [ebp - 4], 0xb
call fcn.004018c5
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004058b3
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.00401713
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00404ec6
mov eax, esi
call fcn.0049f62e
ret 8