joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d0f0
Capabilities:
Check if file exists
Set current directory

Disassembly:
mov eax, 0x4597ed
call fcn.004485c4
sub esp, 0x40
and dword [ebp - 0x14], 0
cmp dword [esi + 0x18], 0x10
jb 0x41d10c
mov eax, dword [esi + 4]
jmp 0x41d10f
lea eax, [esi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor ebx, ebx
inc ebx
test eax, eax
je 0x41d167
push 0x46b89c
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.004152b2
push dword [ebp + 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00415459
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], 3
jb 0x41d156
mov eax, dword [eax + 4]
jmp 0x41d159
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [ebp - 0xd], bl
je 0x41d16b
mov byte [ebp - 0xd], 0
test byte [ebp - 0x14], 2
je 0x41d180
and dword [ebp - 0x14], 0xfffffffd
push 0
push ebx
lea ecx, [ebp - 0x30]
call fcn.00417a85
test byte [ebp - 0x14], bl
je 0x41d190
push 0
push ebx
lea ecx, [ebp - 0x4c]
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x41d1a0
Capabilities:
Get file size

Disassembly:
cmp dword [eax + 0x18], 0x10
jb 0x41d1ab
mov eax, dword [eax + 4]
jmp 0x41d1ae
add eax, 4
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
test esi, esi
je 0x41d1e1
cmp esi, 0xffffffff
je 0x41d1e1
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
jmp 0x41d1e3
xor ebx, ebx
test esi, esi
je 0x41d1ee
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x41ee7d
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
lea ecx, [esi + 0xc]
mov dword [esi], edi
mov dword [esi + 8], eax
call fcn.004188b1
mov eax, dword [edi + 8]
xor ebx, ebx
mov dword [esi + 0x28], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x2c], eax
cmp dword [edi], ebx
je 0x41eee1
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0x38], eax
lea eax, [ebp + 8]
push eax
push 4
push esi
push 0x41ef30
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
mov dword [esi + 0x34], eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop ebx
pop ebp
ret 8
Function at 0x41f90f
Capabilities:
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov eax, 0x45a08c
call fcn.004485c4
sub esp, 0x58
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], esp
mov esi, edx
mov dword [ebp - 0x14], ebx
je 0x41f937
cmp dword [ebp + 0xc], edi
jae 0x41f985
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp eax, ebx
jne 0x41f980
push 0x465cf2
lea ecx, [ebp - 0x64]
call fcn.00418739
lea eax, [ebp - 0x64]
push eax
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.0041875b
mov esi, eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetQueryDataAvailable_failed__err_d
jmp 0x41fa05
cmp dword [ebp - 0x14], ebx
jne 0x41f996
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov eax, 0x1000
cmp dword [ebp - 0x14], eax
jae 0x41f9a3
mov dword [ebp - 0x14], eax
cmp edi, ebx
jbe 0x41f9b4
mov eax, edi
sub eax, dword [ebp + 0xc]
cmp dword [ebp - 0x14], eax
jbe 0x41f9b4
mov dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x14]
call fcn.0041f8e4
lea ecx, [ebp - 0x18]
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp eax, ebx
jne 0x41fa15
push 0x465cf2
lea ecx, [ebp - 0x64]
call fcn.00418739
lea eax, [ebp - 0x64]
push eax
push 1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.0041875b
mov esi, eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.InternetReadFile_failed__err_d
push esi
call fcn.004180c3
add esp, 0xc
mov ecx, eax
jmp fcn.00418793
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
je 0x41fa25
cmp eax, dword [esi + 4]
jae 0x41fa25
mov dword [esi + 4], eax
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x41f987

Function at 0x41feb3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push str.fs::ShowCriticalErrorBox
xor ebx, ebx
push ebx
call fcn.00437bbc
cmp byte [0x47f2c1], bl
pop ecx
pop ecx
jne 0x41ff13
cmp byte [ebp + 8], bl
push esi
je 0x41fee7
mov esi, dword [0x47f2b8]
cmp esi, ebx
je 0x41fee7
push ebx
call fcn.00407c6f
jmp 0x41fee9
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push ebx
push eax
push 0x41ff16
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
cmp esi, ebx
je 0x41ff12
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
leave
ret
Function at 0x422840
Capabilities:
Check if file exists
Create directory

Disassembly:
mov eax, 0x45d185
call fcn.004485c4
sub esp, 0x78
push ebx
push esi
push edi
mov esi, str.fs::FF_SetDefaultSearch_2226
push esi
mov ebx, ecx
call fcn.004468a0
pop ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
xor edi, edi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0x14]
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
jb 0x42287a
mov eax, dword [eax + 4]
jmp 0x42287d
add eax, 4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x18], 0x10
jb 0x42288b
mov edx, dword [edx + 4]
jmp 0x42288e
add edx, 4
push ecx
push eax
push edx
push esi
push str.___s__name_s_fn_s_len_xml__d_
push edi
call fcn.00437bbc
add esp, 0x18
cmp dword [ebx + 0x14], edi
jbe 0x4228c2
push ebx
call fcn.0042246d
test al, al
pop ecx
je 0x4228c2
push str.__skip_FF_search_setting
push edi
call fcn.00437bbc
pop ecx
pop ecx
jmp 0x422a07
push str._FFProfile_
lea ecx, [ebp - 0x68]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
xor ebx, ebx
lea eax, [ebp - 0x30]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.0041d3e2
pop ecx
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 3
call fcn.00417a85
cmp dword [ebp - 0x1c], edi
je 0x4229fd
sub esp, 0x1c
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004188b1
mov ecx, dword [ebp + 8]
push ebx
call fcn.004252e1
push str._searchplugins_
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004152b2
push dword [ebp + 0x10]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00415459
add esp, 0x18
push edi
push ebx
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 6
call fcn.00417a85
cmp dword [ebp - 0x34], 0x10
mov eax, dword [ebp - 0x48]
jae 0x42295b
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x422974
push str.__search_xml_exists_already
push edi
call fcn.00437bbc
pop ecx
jmp 0x4229b5
push str._searchplugins
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004152b2
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x422994
mov eax, dword [eax + 4]
jmp 0x422997
add eax, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push edi
push ebx
lea ecx, [ebp - 0x68]
call fcn.00417a85
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [ebp + 0x14]
call fcn.0041c961
pop ecx
push str.user_pref__browser.search.selectedEngine_____1___
lea ecx, [ebp - 0x68]
call fcn.00418739
push ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.00423df4
add esp, 0x10
push edi
push ebx
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 6
call fcn.00417a85
push dword [ebp + 8]
mov eax, ebx
call fcn.00425692
push edi
push ebx
lea ecx, [ebp - 0x4c]
call fcn.00417a85
push edi
lea ecx, [ebp - 0x30]
push ebx
call fcn.00417a85
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x10]
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
Function at 0x4233d0
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x45ac21
call fcn.004485c4
sub esp, 0x254
push ebx
push esi
push edi
mov esi, str.fs::FF_getExePath_2446
push esi
call fcn.004468a0
mov dword [ebp - 0x24], eax
push esi
xor edi, edi
push 0x468020
push edi
mov dword [ebp - 4], edi
call fcn.00437bbc
add esp, 0x10
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov ebx, 0x20019
push ebx
push str.SOFTWAREMozillaMozilla_Firefox
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041ae22
test eax, eax
jne 0x4235d2
push 0x3f
pop ecx
mov byte [ebp - 0x260], al
lea edi, [ebp - 0x25f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.CurrentVersion
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x260]
mov dword [ebp - 0x10], 0xff
call fcn.0041adcb
test eax, eax
jne 0x4235d2
mov eax, edi
push eax
push str.__ff_ver:__s
xor esi, esi
push esi
call fcn.00437bbc
mov ecx, dword [ebp + 0x10]
add esp, 0xc
cmp ecx, esi
je 0x42348a
mov eax, edi
push eax
call fcn.00418180
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00418739
push str.Main
push eax
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 3
call fcn.004152b2
add esp, 0xc
cmp dword [eax + 0x18], 0x10
jb 0x4234c4
mov eax, dword [eax + 4]
jmp 0x4234c7
add eax, 4
push ebx
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
call fcn.0041ae22
mov ebx, eax
neg ebx
sbb bl, bl
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x5c]
inc bl
call fcn.00417a85
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00417a85
test bl, bl
je 0x4235ca
push 0x40
xor eax, eax
cmp dword [ebp + 8], esi
mov byte [ebp - 0x160], 0
pop ecx
lea edi, [ebp - 0x15f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ebx, 0x104
stosb byte es:[edi], al
mov dword [ebp - 0x10], ebx
je 0x423569
push str.PathToExe
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x160]
call fcn.0041adcb
test eax, eax
jne 0x423569
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x423569
mov eax, edi
push eax
push str.__ff_exe:__s
push 0
call fcn.00437bbc
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, edi
push eax
call fcn.00418180
cmp dword [ebp + 0xc], 0
mov byte [ebp - 0x160], 0
mov dword [ebp - 0x10], ebx
je 0x4235be
push str.Install_Directory
lea eax, [ebp - 0x18]
push eax
lea esi, [ebp - 0x10]
lea edi, [ebp - 0x160]
call fcn.0041adcb
test eax, eax
jne 0x4235be
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4235be
mov eax, edi
push eax
push str.__ff_dir:__s
push 0
call fcn.00437bbc
mov ecx, dword [ebp + 0xc]
add esp, 0xc
mov eax, edi
push eax
call fcn.00418180
lea esi, [ebp - 0x18]
call fcn.00417bf8
mov bl, 1
jmp 0x4235d4
lea esi, [ebp - 0x18]
call fcn.00417bf8
xor bl, bl
lea esi, [ebp - 0x20]
call fcn.00417bf8
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x24]
call fcn.0041836d
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4256c1
Capabilities:
Create process on windows
Set current directory

Disassembly:
mov eax, 0x45bf98
call fcn.004485c4
sub esp, 0x5c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
imul eax, eax, 0x1c
push ebx
push esi
push edi
lea edi, [eax + ecx]
lea esi, [edi + 0x88]
call fcn.00401226
lea esi, [edi + 0xdc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
call fcn.00401226
mov edi, eax
movzx eax, byte [ebp + 0x10]
push edi
push dword [ebp - 0x10]
xor ebx, ebx
push eax
push dword [ebp + 0xc]
push str.fs::RunApp_2956
push str._s__app_d_must_d_u_k_d__d_
push ebx
call fcn.00437bbc
add esp, 0x1c
cmp edi, ebx
jle 0x425872
cmp dword [ebp - 0x10], ebx
jle 0x425732
cmp byte [ebp + 0x10], bl
je 0x425872
mov eax, dword [ebp + 0xc]
sub eax, ebx
je 0x425840
dec eax
je 0x4257c9
dec eax
jne 0x425863
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.004173b7
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], 2
call fcn.00423315
xor edi, edi
inc edi
test al, al
pop ecx
je 0x4257ba
cmp dword [ebp - 0x1c], ebx
je 0x4257ba
lea eax, [ebp - 0x4c]
push eax
call fcn.0041ccbe
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42578d
mov eax, dword [eax + 4]
jmp 0x425790
add eax, 4
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
jae 0x42579c
lea ecx, [ebp - 0x2c]
push edi
push eax
push str.__restore_last_session
push ecx
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
push edi
lea ecx, [ebp - 0x4c]
call fcn.00417a85
push ebx
push edi
lea ecx, [ebp - 0x30]
call fcn.00417a85
jmp 0x425863
lea eax, [ebp - 0x68]
push eax
call fcn.0041ccbe
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x4257de
mov eax, dword [eax + 4]
jmp 0x4257e1
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x68]
call fcn.00417a85
push ebx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x18], 0xf
call fcn.004173b7
push ebx
lea eax, [ebp - 0x30]
push ebx
push eax
mov dword [ebp - 4], edi
call fcn.004233d0
add esp, 0xc
test al, al
je 0x4257ba
cmp dword [ebp - 0x1c], ebx
je 0x4257ba
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
jae 0x42582b
lea eax, [ebp - 0x2c]
push edi
push ebx
push ebx
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x4257ba
mov esi, dword [ebp + 8]
lea edi, [esi + 0xdc]
push edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [ebp - 4], ebx
call fcn.00425baa
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [ebp - 0x14]
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 0x10], ebx
call fcn.00411d0e
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc
Function at 0x425c8d
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, 0x459faa
call fcn.004485c4
sub esp, 0x40
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0x10
push edi
jb 0x425ca9
mov eax, dword [esi + 4]
jmp 0x425cac
lea eax, [esi + 4]
push eax
push str.fs::OpenLinkInNewIE_3115
push str._s__url_s_
xor edi, edi
push edi
call fcn.00437bbc
add esp, 0x10
mov dword [ebp - 0x10], edi
lea eax, [ebp - 0x10]
push eax
push 0x460dcc
push 4
push edi
push 0x460d8c
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [ebp - 0x10], edi
jne 0x425d0c
push eax
push str.__cant_run_IE__hr0x_08x
push 1
call fcn.00437bbc
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, edi
je 0x425d05
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
jmp 0x425d9e
mov word [ebp - 0x20], di
push 0xfde9
lea eax, [ebp - 0x4c]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.00443e70
add esp, 0xc
cmp dword [eax + 0x18], 8
jb 0x425d31
mov eax, dword [eax + 4]
jmp 0x425d34
add eax, 4
push eax
lea eax, [ebp - 0x30]
mov word [ebp - 0x30], di
call fcn.004187fa
lea edx, [ebp - 0x20]
push edx
push edx
push edx
push edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
push edx
push eax
call dword [ecx + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x30]
push eax
call esi
push edi
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00412e5a
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0xa4]
lea eax, [ebp - 0x20]
push eax
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x425d9c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x426233
Capabilities:
Check if file exists
Gather firefox profile information
Reference sql statements

Disassembly:
mov eax, 0x45bf2b
call fcn.004485c4
sub esp, 0x78
push ebx
push esi
push edi
xor ebx, ebx
push str.__test_FF_cookies
push ebx
mov dword [ebp - 0x14], ebx
call fcn.00437bbc
pop ecx
pop ecx
push str._FFProfile_
lea ecx, [ebp - 0x4c]
call fcn.00418739
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 4], ebx
call fcn.0041d3e2
pop ecx
pop ecx
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
call fcn.00417a85
cmp dword [ebp - 0x1c], ebx
mov edi, str.cookies.sqlite
je 0x4262bf
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004152b2
add esp, 0xc
cmp dword [eax + 0x18], 0x10
mov dword [ebp - 0x14], esi
jb 0x4262ae
mov eax, dword [eax + 4]
jmp 0x4262b1
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov byte [ebp - 0xd], bl
jne 0x4262c3
mov byte [ebp - 0xd], 1
test byte [ebp - 0x14], 1
je 0x4262d3
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00417a85
cmp byte [ebp - 0xd], bl
je 0x4262e7
mov ecx, dword [ebp + 8]
push 0x465cf2
call fcn.00418739
jmp 0x426337
push str.SELECT_name__value_FROM_moz_cookies_WHERE_host_host_
lea ecx, [ebp - 0x68]
call fcn.00418739
push edi
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x84]
push eax
mov byte [ebp - 4], 3
call fcn.004152b2
push dword [ebp + 0xc]
lea ecx, [ebp - 0x68]
push ecx
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00426451
add esp, 0x1c
push ebx
push esi
lea ecx, [ebp - 0x84]
call fcn.00417a85
push ebx
push esi
lea ecx, [ebp - 0x68]
call fcn.00417a85
push ebx
lea ecx, [ebp - 0x30]
push esi
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426353
Capabilities:
Check if file exists
Reference sql statements

Disassembly:
mov eax, 0x45befe
call fcn.004485c4
sub esp, 0x74
push ebx
push esi
push edi
xor esi, esi
push str.__test_GC_cookies
push esi
mov dword [ebp - 0x10], esi
call fcn.00437bbc
pop ecx
pop ecx
mov edi, 0x465cf2
push edi
lea ecx, [ebp - 0x64]
call fcn.00418739
push esi
lea eax, [ebp - 0x64]
push eax
push 0x1c
lea eax, [ebp - 0x48]
push 0x46cf50
push eax
mov dword [ebp - 4], esi
call fcn.0041ce25
add esp, 0x14
xor ebx, ebx
push esi
inc ebx
push ebx
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00417a85
cmp dword [ebp - 0x34], esi
jne 0x4263bf
mov ecx, dword [ebp + 8]
push edi
call fcn.00418739
jmp 0x426435
push str.GoogleChromeUser_DataDefaultCookies
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004152b2
add esp, 0xc
mov byte [ebp - 4], 3
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4263e4
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4263fa
mov ecx, dword [ebp + 8]
push edi
call fcn.00418739
jmp 0x42642b
push str.SELECT_name__value_FROM_cookies_WHERE_host_key_host_
lea ecx, [ebp - 0x80]
call fcn.00418739
push dword [ebp + 0xc]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 4
call fcn.00426451
add esp, 0x10
push esi
push ebx
lea ecx, [ebp - 0x80]
call fcn.00417a85
push esi
lea ecx, [ebp - 0x2c]
push ebx
call fcn.00417a85
push esi
lea ecx, [ebp - 0x48]
push ebx
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429242
Capabilities:
Check os version

Disassembly:
push 0x14
push 0x46f630
call fcn.0044b378
xor ebx, ebx
push ebx
call fcn.00447160
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add esi, eax
push esi
call fcn.00447131
pop ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_DefWindowProcA]
push ebx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov esi, 0x47ed80
call fcn.0042973a
mov dword [ebp - 4], ebx
push 0x47d548
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x20]
push eax
call fcn.00419403
pop ecx
mov dword [ebp - 0x24], eax
push dword [ebp - 0x20]
push eax
call fcn.004193ab
push eax
push dword [0x47d554]
push dword [0x47d550]
push dword [0x47d54c]
push 0x727
push 0x12
push 1
push str.Start_app_v_d._d._d__win_d._d._d__dbit_with_ie_d._d_
push ebx
call fcn.00437bbc
add esp, 0x2c
cmp dword [0x47d54c], 4
jb 0x4292f4
cmp dword [ebp - 0x24], 6
jl 0x4292f4
xor eax, eax
inc eax
jmp 0x4292f6
xor eax, eax
mov byte [ebp - 0x19], al
cmp al, bl
jne 0x429304
call fcn.0042936e
jmp 0x429309
call fcn.004293b7
or dword [ebp - 4], 0xffffffff
jmp 0x42932d
cmp byte [0x47f2c0], bl
je 0x42933c
push ebx
call fcn.0041feb3
pop ecx
push str.Finish_app
push ebx
call fcn.00437bbc
pop ecx
pop ecx
mov ebx, dword [0x47f2c4]
call fcn.0042b384
mov eax, 0x47ed80
call fcn.00429554
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
call fcn.0044b3b3
ret 0x10

Function at 0x429f28
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ec
push ebx
push edi
mov edi, 0x1e8
push edi
xor ebx, ebx
lea eax, [ebp - 0x1ec]
push ebx
push eax
call fcn.00445de0
mov eax, dword [esi + 4]
add esp, 0xc
push 0x6b
push dword [0x47ed88]
mov dword [ebp - 0x1ec], edi
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e4], 1
mov dword [ebp - 0x1e0], 7
mov dword [ebp - 0x1dc], 0x84d2
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [ebp - 0x1d8], eax
push 0x80
lea eax, [ebp - 0x1d4]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x1ec]
push eax
push ebx
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
cmp dword [ebp + 8], ebx
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], eax
je 0x429fc4
push 6
push dword [esi + 4]
call edi
cmp dword [ebp - 4], ebx
je 0x429fcf
push ebx
push dword [esi + 4]
call edi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret 4

Function at 0x42af0b
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x94
push edi
push 0x24
pop ecx
xor eax, eax
lea edi, [ebp - 0x18]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
pop edi
je 0x42af4d
cmp dword [ebp - 0x18], 5
jae 0x42af49
cmp dword [ebp - 0x18], 4
jne 0x42af4d
cmp dword [ebp - 0x14], 0x5a
jb 0x42af4d
xor eax, eax
jmp 0x42af50
xor eax, eax
inc eax
add ebp, 0x78
leave
ret
Function at 0x42d1b2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx eax, word [esp + 4]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 0xe
push eax
push dword [0x47ed88]
call edi
test eax, eax
je 0x42d1de
push eax
push dword [0x47ed88]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x42d1e2
xor eax, eax
jmp 0x42d21a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebx
test eax, eax
je 0x42d219
movzx ecx, word [eax + 4]
xor edx, edx
test ecx, ecx
push esi
jle 0x42d216
lea esi, [eax + 6]
movzx eax, byte [esi]
cmp eax, dword [esp + 0x14]
jne 0x42d20e
cmp word [esi + 6], 0x20
je 0x42d21e
inc edx
add esi, 0xe
cmp edx, ecx
jl 0x42d1fe
xor eax, eax
pop esi
pop ebx
pop edi
ret 8
movzx eax, word [esi + 0xc]
push 3
push eax
push dword [0x47ed88]
call edi
test eax, eax
je 0x42d216
push eax
push dword [0x47ed88]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42d216
push eax
call ebx
test eax, eax
je 0x42d216
push 0
push dword [esp + 0x18]
push dword [esp + 0x1c]
push 0x30000
push 1
push dword [esi + 8]
push eax
call dword [sym.imp.USER32.dll_CreateIconFromResourceEx]
mov esi, eax
push esi
push str.__found_32bpp_icon_0x_p
push 0
call fcn.00437bbc
add esp, 0xc
mov eax, esi
jmp 0x42d218