Function at 0x423829
Capabilities:
Copy file
Reference sql statements

Disassembly:
push ebp
sub esp, 0x64
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x64], eax
push 0x120
mov eax, 0x4c7a61
call fcn.0049f542
mov eax, dword [ebp + 0x70]
mov esi, ecx
push str.CChromeBrowser::GetBackupIdFromMetaTable___start
lea ecx, [ebp + 0x20]
mov dword [ebp + 0x1c], eax
call fcn.00404bd0
lea eax, [ebp + 0x20]
xor edi, edi
push eax
mov dword [ebp - 4], edi
call fcn.004017f5
or dword [ebp - 4], 0xffffffff
pop ecx
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [ebp + 0x20]
call fcn.004058b3
lea eax, [ebp]
push str.temp
push eax
call fcn.0040479d
pop ecx
pop ecx
mov dword [ebp - 4], ebx
cmp dword [eax + 0x18], 8
jb 0x42389d
mov eax, dword [eax + 4]
jmp 0x4238a0
add eax, 4
push 3
push eax
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0xa8]
push eax
mov dword [ebp - 0xac], ecx
call fcn.004058fe
mov byte [ebp - 4], 2
push dword [ebp - 0xac]
lea ecx, [ebp + 0x48]
call fcn.00404922
lea eax, [ebp - 0xa8]
cmp dword [ebp - 0xac], eax
je 0x4238e7
push dword [ebp - 0xac]
call fcn.0049f900
pop ecx
push edi
push ebx
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.004058b3
push str.ichcop
lea eax, [ebp + 0x48]
push eax
call fcn.0041c045
cmp dword [ebp + 0x60], 0x10
mov ecx, dword [ebp + 0x4c]
jae 0x42390f
lea ecx, [ebp + 0x4c]
add esi, 0x20
cmp dword [esi + 0x18], 0x10
jb 0x42391d
mov eax, dword [esi + 4]
jmp 0x423920
lea eax, [esi + 4]
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push str.CChromeBrowser::GetBackupIdFromMetaTable___Chrome_is_running.
lea ecx, [ebp + 0x20]
call fcn.00404bd0
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 6
call fcn.004017f5
pop ecx
push edi
push ebx
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 5
call fcn.004058b3
push 0xffffffffffffffff
push edi
push esi
lea ecx, [ebp + 0x48]
call fcn.00404d71
cmp dword [ebp + 0x60], 0x10
mov eax, dword [ebp + 0x4c]
jae 0x42396a
lea eax, [ebp + 0x4c]
lea ecx, [ebp + 0x3c]
push ecx
push eax
call fcn.00470307
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x4239a8
push str.CChromeBrowser::GetBackupIdFromMetaTable___sqlite3_open
lea ecx, [ebp + 0x20]
call fcn.00404bd0
lea eax, [ebp + 0x20]
push esi
push eax
mov byte [ebp - 4], 7
call fcn.004018c5
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp + 0x20]
call fcn.004058b3
jmp 0x423b00
push str.SELECT_value_FROM_meta_WHERE_keyDefault_Search_Provider_ID_Backup
lea eax, [ebp + 0x40]
push eax
call fcn.004049cb
push edi
lea eax, [ebp + 0x44]
push eax
push 0xffffffffffffffff
lea esi, [ebp + 0x40]
mov byte [ebp - 4], 8
call fcn.00404a70
push eax
push dword [ebp + 0x3c]
call fcn.00461367
mov esi, eax
add esp, 0x14
cmp esi, edi
je 0x423a14
push str.CChromeBrowser::GetBackupIdFromMetaTable___sqlite3_prepare
lea ecx, [ebp + 0x20]
call fcn.00404bd0
lea eax, [ebp + 0x20]
push esi
push eax
mov byte [ebp - 4], 9
call fcn.004018c5
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 8
call fcn.004058b3
push dword [ebp + 0x3c]
call fcn.0046f495
pop ecx
jmp 0x423af5
push 0x10
pop esi
push dword [ebp + 0x44]
call fcn.0044914c
pop ecx
cmp eax, 0x64
jne 0x423abc
push edi
push dword [ebp + 0x44]
call fcn.004495e2
mov esi, dword [ebp + 0x1c]
pop ecx
pop ecx
push eax
mov ecx, esi
call fcn.00404e03
push str.CChromeBrowser::GetBackupIdFromMetaTable___sqlite3_step
lea ecx, [ebp + 0x20]
call fcn.00404bd0
mov byte [ebp - 4], 0xa
cmp dword [esi + 0x18], 0x10
jb 0x423a5b
mov esi, dword [esi + 4]
jmp 0x423a5e
add esi, 4
push esi
lea ecx, [ebp - 0x12c]
call fcn.0041c01b
mov byte [ebp - 4], 0xb
push dword [eax]
lea ecx, [ebp]
call fcn.00404bd0
push eax
lea eax, [ebp + 0x20]
push eax
mov byte [ebp - 4], 0xc
call fcn.00401985
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp]
call fcn.004058b3
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x12c], eax
je 0x423aac
push dword [ebp - 0x12c]
call fcn.0049f900
pop ecx
push edi
push ebx
lea ecx, [ebp + 0x20]
mov byte [ebp - 4], 8
call fcn.004058b3
xor esi, esi
push dword [ebp + 0x44]
call fcn.00448c15
push dword [ebp + 0x3c]
call fcn.0046f495
pop ecx
pop ecx
push str.CChromeBrowser::GetBackupIdFromMetaTable___return_value
lea ecx, [ebp - 0x28]
call fcn.00404bd0
lea eax, [ebp - 0x28]
push esi
push eax
mov byte [ebp - 4], 0xd
call fcn.004018c5
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x28]
call fcn.004058b3
mov ecx, dword [ebp + 0x40]
add ecx, 0xfffffff0
call fcn.00401713
push edi
push ebx
lea ecx, [ebp + 0x48]
call fcn.00404ec6
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
call fcn.0049f533
add ebp, 0x68
leave
ret 4