joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10039999
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 3
pop edi
push 0xf003f
push 1
push dword [ebp + 8]
call fcn.1005e769
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100399e7
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 0x10]
push 1
push 0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp + 0x14], 0
mov edi, eax
je 0x100399e7
push esi
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
push esi
call fcn.1005e854
pop ecx
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
pop ebp
ret

Function at 0x100399f9
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
push edi
push 3
pop edi
push 0xf003f
push 1
push dword [esp + 0x14]
call fcn.1005e769
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10039a31
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
push 0
push 0
push dword [esp + 0x20]
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push esi
call fcn.1005e854
pop ecx
xor eax, eax
test edi, edi
pop edi
sete al
pop esi
ret

Function at 0x1003b067
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x2c], 0
je 0x1003b130
push esi
mov esi, dword [ebp + 0x10]
cmp word [esi], 8
jne 0x1003b12f
mov eax, dword [esi + 8]
test eax, eax
je 0x1003b12f
cmp word [eax], 0
je 0x1003b12f
push 5
push 0x10102e28
push eax
call fcn.100c1a46
add esp, 0xc
test eax, eax
jne 0x1003b12f
mov ecx, dword [ebx + 0x2c]
push edi
push 1
push dword [esi + 8]
call fcn.100108df
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x10102e34
mov dword [ebp + 8], eax
call edi
push dword [esi + 8]
lea eax, [ebp - 0x1c]
call fcn.10008945
cmp dword [eax + 0x18], 8
jb 0x1003b0e6
mov eax, dword [eax + 4]
jmp 0x1003b0e9
add eax, 4
push eax
call edi
push 0
push 1
lea esi, [ebp - 0x1c]
call fcn.100016e6
mov eax, dword [ebp + 8]
xor ecx, ecx
sub eax, ecx
je 0x1003b10b
dec eax
jne 0x1003b12e
push str._nWidget_Left_Open
jmp 0x1003b123
mov eax, dword [ebx + 0x30]
cmp eax, ecx
je 0x1003b11e
push ecx
push ecx
push dword [ebx + 0x34]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push str._nWidget_Closing
mov ecx, dword [ebp + 0x24]
or eax, 0xffffffff
mov word [ecx], ax
call edi
pop edi
pop esi
pop ebx
leave
ret 0x20
Function at 0x1003e0b4
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
add ebx, 0x40
push eax
call fcn.1003eba6
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
lea edi, [ebp - 0x18]
lea esi, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10056222
test al, al
jne 0x1003e25b
call fcn.100156f8
mov ebx, dword [eax + 0x10]
add eax, 4
mov edi, eax
lea esi, [ebp - 0x18]
call fcn.10029e26
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x14]
lea esi, [ebp - 0x10]
mov dword [ebp - 4], eax
call fcn.100156f8
mov ebx, dword [eax + 0x14]
add eax, 4
mov edi, eax
lea esi, [ebp - 0x18]
call fcn.10029e26
mov edi, esi
lea esi, [ebp - 8]
call fcn.1003efdc
test al, al
je 0x1003e25b
mov edi, dword [ebp + 0x14]
lea eax, [edi + 0x24]
mov dword [ebp + 8], eax
jmp 0x1003e158
mov edi, dword [ebp + 0x14]
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [ebp + 8]
add eax, 0x24
call fcn.1002b09b
test al, al
jne 0x1003e19f
call fcn.1004013b
lea esi, [ebp - 0x10]
call fcn.100156f8
mov ebx, dword [eax + 0x14]
add eax, 4
mov edi, eax
lea esi, [ebp - 0x18]
call fcn.10029e26
mov edi, esi
lea esi, [ebp - 8]
call fcn.1003efdc
test al, al
jne 0x1003e155
jmp 0x1003e25b
cmp dword [edi + 8], 0xfffffffe
jl 0x1003e1b3
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [edi + 8]
mov dword [eax + 8], ecx
cmp dword [edi + 0xc], 0xfffffffe
jl 0x1003e1c7
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [edi + 0xc]
mov dword [eax + 0xc], ecx
xor ebx, ebx
cmp dword [edi + 0x10], ebx
je 0x1003e1dc
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [edi + 0x10]
mov dword [eax + 0x10], ecx
cmp dword [edi + 0x14], ebx
je 0x1003e1ef
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [edi + 0x14]
mov dword [eax + 0x14], ecx
cmp dword [edi + 0x18], ebx
jle 0x1003e202
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, dword [edi + 0x18]
mov dword [eax + 0x18], ecx
lea esi, [ebp - 8]
call fcn.1003efb4
mov ecx, eax
add ecx, 0x40
push 0xffffffffffffffff
lea eax, [edi + 0x40]
push ecx
xor ebx, ebx
call fcn.1000165f
cmp dword [edi + 0x5c], ebx
jl 0x1003e22c
call fcn.1003efb4
mov ecx, dword [edi + 0x5c]
mov dword [eax + 0x5c], ecx
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [edi]
push 0x419
push dword [ebp + 0x10]
call esi
push dword [ebp + 0xc]
push eax
push 0x41d
push dword [ebp + 0x10]
call esi
test eax, eax
jne 0x1003e25b
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10042fcd
Capabilities:
Hide graphical window

Disassembly:
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x10043003
test al, 8
jne 0x10043003
push 0xfffffffffffffff0
push dword [esp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x10043003
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x10043003
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x1004301b
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
jmp fcn.10042685
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x10043f62
Capabilities:
Copy file
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
xor ecx, ecx
push 2
pop edx
lea eax, [edi + 0x104]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a2139
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
pop ecx
push dword [ebp + 8]
mov esi, eax
push esi
call ebx
push 0x1010ba20
lea eax, [esi + edi*2]
push eax
call ebx
xor eax, eax
mov word [esi + edi*2 + 8], ax
mov ebx, 0x614
mov eax, ebx
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x28]
xor edi, edi
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x1010ba28
mov dword [ebp - 0x24], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push esi
call fcn.100a212e
pop ecx
lea eax, [ebp - 4]
push eax
push 0x1010bb40
push 0x17
push edi
push 0x1010154c
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x10044067
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
push eax
call dword [ecx + 0x14]
push str.shell32
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x1004405e
push str.SHCreateItemFromParsingName
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1004405e
lea ecx, [ebp - 8]
push ecx
push 0x1010bb50
push edi
push dword [ebp + 8]
call eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push edi
push dword [ebp - 8]
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10044075
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7d0]
sub esp, 0x850
mov eax, dword [0x1012c510]
xor eax, ebp
mov dword [ebp + 0x7cc], eax
push ebx
push esi
push 0xf003f
xor esi, esi
push esi
push str.Code_Store_DatabaseDistribution_Units
call fcn.1005e769
mov ebx, eax
add esp, 0xc
cmp ebx, esi
je 0x1004417f
push edi
mov edi, 0x104
push edi
lea eax, [ebp + 0x5c4]
push eax
mov dword [ebp - 0x78], esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
jmp 0x100440fd
inc dword [ebp - 0x78]
push ebx
lea ecx, [ebp + 0x5c4]
call fcn.1002d635
pop ecx
lea eax, [ebp + 0x5c4]
push eax
push ebx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp dword [ebp - 0x78], 0x3e8
ja 0x10044104
push edi
lea eax, [ebp + 0x5c4]
push eax
push dword [ebp - 0x78]
push ebx
call esi
test eax, eax
je 0x100440cb
push ebx
call fcn.1005e854
pop ecx
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
xor esi, esi
push esi
push 0xf003f
push esi
push esi
push esi
push str.Software
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop edi
test eax, eax
jne 0x1004414a
push str.AskToolbar
push dword [ebp - 0x7c]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
push 0x636
mov word [ebp - 0x74], ax
lea eax, [ebp - 0x72]
push esi
push eax
call fcn.100c1480
push esi
lea eax, [ebp - 0x74]
push 0x30c
push eax
call fcn.1005e866
add esp, 0x18
test eax, eax
je 0x1004417f
lea eax, [ebp - 0x74]
push eax
call fcn.10043f62
pop ecx
mov ecx, dword [ebp + 0x7cc]
pop esi
xor ecx, ebp
pop ebx
call fcn.100bfae1
add ebp, 0x7d0
leave
ret

Function at 0x10044196
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov esi, dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push 0x800
mov dword [ebp - 8], eax
call esi
mov eax, dword [0x10136d90]
xor edi, edi
cmp eax, edi
je 0x100441c6
call eax
cmp eax, edi
jl 0x100441cb
call fcn.1004447f
cmp eax, edi
mov ebx, eax
jl 0x100441d9
push edi
call fcn.100439fb
mov ebx, eax
push dword [ebp - 8]
call esi
cmp dword [0x101360b8], edi
jne 0x100441eb
call fcn.10044075
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0x2001b
push edi
push edi
push edi
push str.SoftwareMicrosoftInternet_ExplorerURLSearchHooks
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10044227
push str.00000000_6E41_4FD3_8538_502F5495E5FC
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret
Function at 0x100478ee
Capabilities:
Reference sql statements

Disassembly:
push 0x20
mov eax, 0x100eb361
call fcn.100c747c
xor edi, edi
and dword [ebp - 0x14], edi
push dword [ebp + 0xc]
and dword [ebp - 4], edi
push dword [ebp + 8]
lea esi, [ebp - 0x14]
push str.SELECT_data_FROM_persist_t_WHERE_guid_q_AND_name_q_
call fcn.1000c22b
add esp, 0xc
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x101364f0
call fcn.1000c7f1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000c592
test al, al
jne 0x1004795a
push str.data
mov eax, esi
call fcn.1000c4d0
push eax
push dword [ebp - 0x24]
call fcn.10071506
pop ecx
pop ecx
push eax
mov eax, dword [ebp + 0x10]
call fcn.1000c2a6
inc edi
lea eax, [ebp - 0x2c]
call fcn.1000c608
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.1000c403
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x14]
call fcn.1000c21a
mov eax, edi
call fcn.100c7554
ret 0xc
Function at 0x100479f5
Capabilities:
Reference sql statements

Disassembly:
push 0x5c
mov eax, 0x100eb336
call fcn.100c74af
push str.SELECT_id_FROM_history_t_GROUP_BY_id_
lea ecx, [ebp - 0x50]
mov eax, 0x101364f0
xor ebx, ebx
push ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ebx
call fcn.1000c7f1
mov byte [ebp - 4], 1
lea esi, [ebp - 0x50]
call fcn.1000c592
cmp al, bl
mov eax, esi
jne 0x10047a8d
push ebx
call fcn.1000c53a
cmp eax, 5
jne 0x10047a3d
xor esi, esi
jmp 0x10047a4a
push ebx
push dword [ebp - 0x48]
call fcn.100714ae
pop ecx
pop ecx
mov esi, eax
push 0x24
call fcn.100a20ff
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 4], 2
cmp edi, ebx
je 0x10047a67
push esi
call fcn.10047592
jmp 0x10047a69
xor eax, eax
mov ebx, dword [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
sub ebx, 0xffffff80
mov eax, esi
call fcn.1002b1ed
lea eax, [ebp - 0x50]
call fcn.1000c5a3
xor ebx, ebx
jmp 0x10047a20
call fcn.1000c608
mov eax, dword [ebp - 0x14]
sub eax, 0xffffff80
call fcn.1002b167
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
je 0x10047b89
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
sub edi, 0xffffff80
call fcn.1004daf8
mov edi, dword [eax]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 3
push dword [edi]
lea esi, [ebp - 0x18]
push str.SELECT_title__url_FROM_history_t_WHERE_id_d_ORDER_BY_rank_DESC_
call fcn.1000c22b
pop ecx
pop ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebp - 0x14]
call fcn.1000c7f1
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 4
call fcn.1000c42c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.1000c403
lea esi, [ebp - 0x50]
call fcn.1000c592
cmp al, bl
mov eax, esi
jne 0x10047b73
push 1
call fcn.1000c47d
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.1000e9cd
mov esi, eax
push ebx
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.1000c47d
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.1000e9cd
mov byte [ebp - 4], 6
mov edx, dword [esi]
mov ecx, dword [eax]
push edx
call fcn.100475f2
push dword [ebp - 0x24]
call fcn.100a212e
pop ecx
push dword [ebp - 0x20]
call fcn.100a212e
pop ecx
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
call fcn.100a212e
pop ecx
push dword [ebp - 0x28]
call fcn.100a212e
pop ecx
lea eax, [ebp - 0x50]
call fcn.1000c5a3
jmp 0x10047afb
call fcn.1000c608
lea esi, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.1000c21a
jmp 0x10047aa0
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call fcn.1000c403
call fcn.100c7554
ret
Function at 0x1004893a
Capabilities:
Reference sql statements

Disassembly:
push 0x48
mov eax, 0x100eb2e9
call fcn.100c74af
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
je 0x10048a59
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], vtable.CppSQLite3Query.0
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x28], bl
mov byte [ebp - 4], 1
cmp dword [ebp + 0x18], ebx
je 0x100489c0
mov dword [ebp - 0x18], ebx
push dword [ebp + 0x18]
lea esi, [ebp - 0x18]
push str.SELECT_handle_FROM_window_t_WHERE_handle___d_
mov byte [ebp - 4], 2
call fcn.1000c22b
pop ecx
pop ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push eax
mov eax, 0x101364f0
call fcn.1000c7f1
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 3
call fcn.1000c42c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.1000c403
mov byte [ebp - 4], 1
call fcn.1000c21a
jmp 0x100489ed
push str.SELECT_handle_FROM_window_t_
lea eax, [ebp - 0x54]
push eax
mov eax, 0x101364f0
call fcn.1000c7f1
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 4
call fcn.1000c42c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.1000c403
lea esi, [ebp - 0x3c]
call fcn.1000c592
cmp al, bl
mov eax, esi
jne 0x10048a49
push ebx
call fcn.1000c53a
cmp eax, 5
jne 0x10048a0a
xor esi, esi
jmp 0x10048a17
push ebx
push dword [ebp - 0x34]
call fcn.100714ae
pop ecx
pop ecx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10048a3f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
cmp dword [ebp + 8], ebx
je 0x10048a39
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x10048a3f
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x3c]
call fcn.1000c5a3
jmp 0x100489ed
call fcn.1000c608
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.1000c403
call fcn.100c7554
ret 0x14

Function at 0x10048c1c
Capabilities:
Create thread
Print debug messages

Disassembly:
push 8
mov eax, 0x100ebb81
call fcn.100c747c
mov ebx, 0x10136778
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
cmp dword [0x10136794], esi
jne 0x10048c58
push str._nCalling_CCache::FeedUpdater_thread
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
push esi
push 0x1004a1bc
call fcn.100c272a
add esp, 0xc
mov edi, dword [0x10136794]
cmp edi, dword [0x10136798]
jb 0x10048c83
lea eax, [edi + 1]
mov esi, 0x10136790
call fcn.1002b75e
test al, al
jne 0x10048c81
push 0x8007000e
call fcn.100078e4
xor esi, esi
mov eax, dword [0x10136790]
lea eax, [eax + edi*4]
cmp eax, esi
je 0x10048c94
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
inc dword [0x10136794]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
push dword [0x1013652c]
lea esi, [ebp - 0x10]
push dword [ebp + 8]
push str.INSERT_INTO_window_t__handle__pid__VALUES___d___d__
call fcn.1000c22b
mov ebx, dword [ebp - 0x10]
add esp, 0xc
mov ecx, 0x101364f0
call fcn.1000c75e
or dword [ebp - 4], 0xffffffff
call fcn.1000c21a
call fcn.100c7554
ret 4
Function at 0x10049809
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x80
call fcn.100a20ff
pop ecx
test eax, eax
je 0x10049827
mov edi, eax
call fcn.100163bb
mov edi, eax
jmp 0x10049829
xor edi, edi
push dword [ebp + 8]
mov ecx, edi
call fcn.1000d1ad
mov eax, dword [ebp + 0x10]
and dword [edi + 0x40], 0
cmp dword [ebp + 0x14], 0
mov dword [edi + 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], eax
mov eax, dword [ebp + 0x20]
mov dword [edi + 0x5c], eax
je 0x10049868
push esi
push dword [ebp + 0x14]
lea esi, [edi + 0x60]
call fcn.100013eb
pop esi
push edi
push 0
push 0x10049bf1
call fcn.100c272a
add esp, 0xc
pop edi
pop ebp
ret 0x1c
Function at 0x10049af7
Capabilities:
Create thread
Print debug messages

Disassembly:
push 4
mov eax, 0x100e6c0d
call fcn.100c747c
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._nSendHttpRequest_begin
call edi
push 0x28
call fcn.100a20ff
mov esi, eax
pop ecx
cmp esi, ebx
je 0x10049b33
call fcn.100013d8
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
jmp 0x10049b35
xor esi, esi
push 0xffffffffffffffff
push esi
xor ebx, ebx
lea eax, [ebp + 8]
call fcn.1000165f
mov eax, dword [ebp + 0x24]
inc ebx
test eax, eax
je 0x10049b50
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], eax
cmp dword [ebp + 0x2c], 0
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x20], eax
push esi
je 0x10049b6e
push 0
push fcn.10049b8c
call fcn.100c272a
add esp, 0xc
jmp 0x10049b74
call fcn.10049b8c
pop ecx
push str._nSendHttpRequest_end
call edi
push 0
push ebx
lea esi, [ebp + 8]
call fcn.100016e6
call fcn.100c7554
ret

Function at 0x10049b8c
Capabilities:
Print debug messages

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._nSendRequest_begin
call edi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x10049bee
cmp dword [esi + 0x18], 8
jb 0x10049bae
mov edx, dword [esi + 4]
jmp 0x10049bb1
lea edx, [esi + 4]
cmp dword [0x1012fc78], 8
mov eax, dword [0x1012fc64]
jae 0x10049bc4
mov eax, 0x1012fc64
push dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
push dword [esi + 0x24]
push eax
call fcn.1005e09d
add esp, 0xc
push 0
push 1
call fcn.100016e6
push esi
call fcn.100a212e
mov dword [esp], str._nSendRequest_end
call edi
pop edi
pop esi
ret
Function at 0x1004a491
Capabilities:
Create thread
Reference sql statements

Disassembly:
push 0x68
mov eax, 0x100eb1b0
call fcn.100c751b
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], vtable.CppSQLite3Query.0
mov dword [ebp - 0x40], ebx
mov byte [ebp - 0x3c], 1
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x34], bl
push str.SELECT_url_strftime___w_____d__m___Y__H:_M:_S_GMT__lastuploaded__lastaccessed_refreshinterval_CURRENT_TIMESTAMP_type_FROM_cache_t_WHERE_refreshinterval_0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
push ecx
mov byte [ebp - 4], 1
call fcn.1000c7f1
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.1000c42c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.1000c403
lea esi, [ebp - 0x48]
call fcn.1000c592
cmp al, bl
mov eax, esi
jne 0x1004a631
push 3
call fcn.1000c53a
cmp eax, 5
je 0x1004a51a
push 3
push dword [ebp - 0x40]
call fcn.100714ae
cmp eax, ebx
pop ecx
pop ecx
jle 0x1004a624
push ebx
lea eax, [ebp - 0x48]
call fcn.1000c47d
push eax
lea ecx, [ebp - 0x30]
call fcn.1000d025
push ebx
push dword [ebp - 0x4c]
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.1004b50e
cmp eax, 0xffffffff
je 0x1004a615
push str.http:__websearch.ask.com_update_clientietbtbcbidcbidvversionrrevisionbuildbuildidguidsaidsaguidlocalelocale.underscoredtiddtidcrumbcrumb
lea esi, [ebp - 0x30]
call fcn.1002f07d
pop ecx
cmp al, bl
jne 0x1004a615
push 0x80
call fcn.100a20ff
pop ecx
cmp eax, ebx
je 0x1004a576
mov edi, eax
call fcn.100163bb
mov esi, eax
jmp 0x1004a578
xor esi, esi
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x30]
push eax
mov ecx, esi
call fcn.1000d11b
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x1004a592
lea eax, [ebp - 0x2c]
push eax
call fcn.1004a463
pop ecx
test eax, eax
je 0x1004a5d0
push 1
lea eax, [ebp - 0x48]
call fcn.1000c47d
mov edx, eax
lea ecx, [ebp - 0x74]
call fcn.1004a139
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call fcn.1000d11b
push ebx
push 1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.1000d1ca
push 5
lea eax, [ebp - 0x48]
call fcn.1000c53a
cmp eax, 5
jne 0x1004a5e3
xor eax, eax
jmp 0x1004a5ef
push 5
push dword [ebp - 0x40]
call fcn.100714ae
pop ecx
pop ecx
or dword [esi + 0x38], 0xffffffff
push esi
push ebx
push 0x10049bf1
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x7c], 1
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
call fcn.100c272a
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.1000d1ca
lea eax, [ebp - 0x48]
call fcn.1000c5a3
jmp 0x1004a4e8
call fcn.1000c608
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.1000c403
call fcn.100c7577
ret 4
Function at 0x1004ae81
Capabilities:
Reference sql statements

Disassembly:
push 0x2c
mov eax, 0x100eb175
call fcn.100c74af
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
push dword [edi + 0x3c]
lea esi, [ebp - 0x14]
push str.SELECT__FROM_window_t_WHERE_pid__d_GROUP_BY_pid_
call fcn.1000c22b
pop ecx
pop ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0x38]
push eax
mov eax, edi
call fcn.1000c7f1
mov byte [ebp - 4], 2
lea esi, [ebp - 0x38]
call fcn.1000c592
cmp al, bl
mov eax, esi
jne 0x1004af18
push ebx
call fcn.1000c53a
cmp eax, 5
jne 0x1004aedc
xor esi, esi
jmp 0x1004aee9
push ebx
push dword [ebp - 0x30]
call fcn.100714ae
pop ecx
pop ecx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1004af0e
push esi
call dword [sym.imp.USER32.dll_IsHungAppWindow]
test eax, eax
jne 0x1004af0e
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x38]
call fcn.1000c5a3
jmp 0x1004aebf
call fcn.1000c608
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.1000c403
lea esi, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.1000c21a
xor eax, eax
call fcn.100c7554
ret 8