joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488441
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x44195d
push 0
mov ecx, edi
call fcn.00441620
jmp 0x441961
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push str.delete_from_response_headers_where_rid_
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441280
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4

Function at 0x442160
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488441
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x44219d
push 0
mov ecx, edi
call fcn.00441620
jmp 0x4421a1
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push 0x48e6a0
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441280
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x4431d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488441
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp dword [ecx + 4], 0
lea edi, [ecx + 4]
mov dword [esp + 0xc], edi
jne 0x44320d
push 0
mov ecx, edi
call fcn.00441620
jmp 0x443211
add dword [edi + 4], 1
mov esi, dword [edi]
mov dword [esp + 0x10], esi
push str.delete_from_resources_items_where_rid_
lea ecx, [esp + 0x18]
mov dword [esp + 0x3c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov eax, dword [esi]
mov edx, dword [eax + 0x28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, esi
mov byte [esp + 0x3c], 1
call edx
lea ecx, [esp + 0x14]
mov esi, eax
mov byte [esp + 0x38], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
push 0
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
mov ecx, edi
call fcn.00441280
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 4
Function at 0x446430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488b44
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esi], eax
mov cl, byte [edi + 4]
lea edx, [edi + 8]
mov byte [esi + 4], cl
push edx
lea ecx, [esi + 8]
call dword [sym.imp.MSVCP80.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__]
mov al, byte [edi + 0x24]
mov byte [esi + 0x24], al
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x44]
lea ecx, [edi + 0x4c]
mov dword [esi + 0x44], edx
mov eax, dword [edi + 0x48]
push ecx
lea ecx, [esi + 0x4c]
mov dword [esp + 0x1c], 0
mov dword [esi + 0x48], eax
call dword [sym.imp.MSVCP80.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__]
lea edx, [edi + 0x68]
push edx
lea ecx, [esi + 0x68]
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCP80.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__]
mov eax, dword [edi + 0x84]
mov dword [esi + 0x84], eax
mov ecx, dword [edi + 0x88]
mov dword [esi + 0x88], ecx
mov edx, dword [edi + 0x8c]
lea eax, [edi + 0x90]
push eax
lea ecx, [esi + 0x90]
mov byte [esp + 0x1c], 2
mov dword [esi + 0x8c], edx
call fcn.00432880
mov ecx, dword [edi + 0x9c]
mov dword [esi + 0x9c], ecx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4
Function at 0x452be1
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call fcn.00452b26
and dword [esp + 0x14], 0
mov ebx, eax
test ebx, ebx
pop ecx
je 0x452c2b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x452c19
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x452c22
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x452c04
push ebx
call fcn.0044954f
pop ecx
jmp 0x452c51
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x452c48
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x452c51
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
mov esi, eax
test esi, esi
je 0x452c33
pop edi
mov eax, esi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 0xa
pop ebx
pop ecx
ret

Function at 0x452c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.00452b26
mov esi, eax
test esi, esi
pop ecx
je 0x452c8c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.0044954f
pop ecx
jmp 0x452ca0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x452ca5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x4a89e8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x4a9a88]
test eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
je 0x452ce3
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x452d42
call fcn.00452ac9
test eax, eax
je 0x452d30
lea eax, [ebp - 0x3a8]
push eax
mov esi, 0x118
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3a8]
push eax
call fcn.00452b83
mov ebx, eax
test ebx, ebx
pop ecx
je 0x452d42
push esi
lea eax, [ebp - 0x13c]
push ebx
push eax
call dword [sym.imp.MSVCR80.dll_strncpy]
push ebx
mov byte [ebp - 0x24], 0
call fcn.0044954f
add esp, 0x10
jmp 0x452d42
lea eax, [ebp - 0x13c]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x13c]
push eax
call sub.MSVCR80.dll_strlen
test eax, eax
pop ecx
jle 0x452d65
lea ecx, [ebp - 0x13c]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x452d65
dec eax
test eax, eax
jg 0x452d5a
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
push str._s_sqlite_
push edi
call dword [sym.imp.MSVCR80.dll_sprintf]
push edi
call sub.MSVCR80.dll_strlen
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.0046456d
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x452d99
push edi
mov byte [edi + esi], 0
call fcn.00452c60
test eax, eax
pop ecx
jne 0x452d6d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047ff5a
leave
ret
Function at 0x452feb
Capabilities:
Get file attributes

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
jne 0x452ff8
xor eax, eax
pop edi
ret
call fcn.00452ac9
test eax, eax
jne 0x45300f
push edi
call sub.MSVCR80.dll_strlen
cmp eax, 0x104
pop ecx
ja 0x452ff4
push ebx
push esi
push edi
call fcn.00452b26
mov esi, eax
test esi, esi
pop ecx
je 0x453030
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
mov ebx, eax
call fcn.0044954f
pop ecx
jmp 0x453039
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x453042
xor eax, eax
jmp 0x45304f
and bl, 0x10
sub bl, 0x10
neg bl
sbb ebx, ebx
inc ebx
mov eax, ebx
pop esi
pop ebx
pop edi
ret

Function at 0x4533dd
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
xor esi, esi
cmp dword [0x4a9a98], esi
jne 0x45341d
call fcn.00453350
cmp dword [0x4a9a98], esi
jne 0x453418
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x4a9a60], eax
jne 0x45340e
call fcn.004533a6
xor eax, eax
pop esi
ret
mov dword [0x4a9a98], 1
call fcn.004533a6
push ebx
push dword [0x4a9a60]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [esp + 0xc], esi
mov ebx, eax
jle 0x453460
cmp ebx, esi
jne 0x453495
push 0xc
call dword [sym.imp.MSVCR80.dll_malloc]
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x453495
push edi
mov esi, 0x4914f4
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push dword [0x4a9a60]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
jmp 0x453495
cmp ebx, esi
je 0x453495
cmp dword [esp + 0xc], esi
jge 0x453495
push 0xc
push 0x4914f4
push ebx
call sub.MSVCR80.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x453495
push ebx
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push esi
push dword [0x4a9a60]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
ret
Function at 0x45a2c5
Capabilities:
Reference sql statements

Disassembly:
cmp edi, 2
jge 0x45a2ce
push 0x17
pop eax
ret
movzx eax, byte [ebx + edi - 1]
movzx eax, byte [eax + 0x4908e0]
movzx ecx, byte [ebx]
imul eax, eax, 3
movzx ecx, byte [ecx + 0x4908e0]
shl ecx, 2
xor eax, ecx
push esi
xor eax, edi
push 0x7f
cdq
pop ecx
idiv ecx
movzx esi, byte [edx + str.Pk_]
jmp 0x45a32c
movzx eax, byte [esi + 0x491e20]
cmp eax, edi
jne 0x45a325
movzx eax, word [esi*2 + 0x491e98]
push edi
add eax, str.ABORTABLEFTEMPORARYADDATABASELECTHENDEFAULTRANSACTIONATURALTERAISEACHECKEYAFTEREFERENCESCAPELSEXCEPTRIGGEREGEXPLAINITIALLYANALYZEXCLUSIVEXISTSTATEMENTANDEFERRABLEATTACHAVINGLOBEFOREIGNOREINDEXAUTOINCREMENTBEGINNERENAMEBETWEENOTNULLIKEBYCASCADEFERREDELETECASECASTCOLLATECOLUMNCOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPLANDESCDETACHDISTINCTDROPRAGMATCHFAILIMITFROMFULLGROUPDATEIFIMMEDIATEINSERTINSTEADINTOFFSETISNULLJOINORDEREPLACEOUTERESTRICTPRIMARYQUERYRIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESVIEWHERE
push ebx
push eax
call fcn.004496c3
add esp, 0xc
test eax, eax
je 0x45a334
movzx esi, byte [esi + 0x491da8]
dec esi
jns 0x45a2fe
push 0x17
pop eax
pop esi
ret
movzx eax, byte [esi + 0x491f80]
pop esi
ret
Function at 0x46b7f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488f81
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x4a89e8]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
push str.CInterruptedException
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0xc]
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x34], 0
mov dword [esi], vtable.PRException.0
call dword [sym.imp.MSVCP80.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__]
mov dword [esi], vtable.CMessageException.0
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov dword [esi], vtable.CInterruptedExeception.0
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x2c
ret
Function at 0x46d640
Capabilities:
Encode data using xor

Disassembly:
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x46d664
jmp 0x46d650
imul eax, eax, 0xf4243
movzx ecx, cl
add edx, 1
xor eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x46d650
ret
Function at 0x47ff5a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a89e8]
jne 0x47ff64
repz ret
jmp fcn.00480823
Function at 0x409630
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c0fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0047118b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4096b2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046f09d
mov eax, dword [eax]
push 0x4ebc78
push eax
call fcn.00461ae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00471416
test bl, bl
je 0x4096b2
push 0x4ebc78
lea ecx, [esp + 0xc]
call fcn.004717a6
push 0x4ebc84
lea ecx, [esp + 0xc]
call fcn.004717a6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4096ee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00471416
jmp 0x4097b9
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x409772
lea edx, [esp + 0x7c]
push 0x4ebc80
push edx
call fcn.00461ae4
add esp, 8
test eax, eax
je 0x409772
lea eax, [esp + 0x7c]
push 0x4ebc7c
push eax
call fcn.00461ae4
add esp, 8
test eax, eax
je 0x409772
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x409702
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00471416
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x409fb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40a012
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x40a020
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47c17b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f5648]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x40a158
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a086
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00471416
xor eax, eax
jmp 0x40a1cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00471553
push esi
lea ecx, [esp + 0xc]
call fcn.004717e2
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40a1ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00409fb0
test eax, eax
jne 0x40a1ad
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00409fb0
test eax, eax
jne 0x40a1ad
lea eax, [esp + 0x14]
push 0x4ebc94
push eax
call fcn.00462b60
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a18c
lea ecx, [esp + 0x14]
push 0x4ebc90
push ecx
call fcn.00462ae0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a18c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a18f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00471503
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a09e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00471416
xor eax, eax
jmp 0x40a1cf
mov byte [esi], 0
push 0x4ebc8c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00471416
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x4194d0
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x41953e
cmp si, 0x69
ja 0x41953e
add esi, 0xffd0
cmp si, 0x11
je 0x41950e
push 0x11
call edi
test ax, ax
jge 0x41950e
or esi, 0x2000
cmp si, 0x10
je 0x419523
push 0x10
call edi
test ax, ax
jge 0x419523
or esi, 0x4000
cmp si, 0x12
je 0x419538
push 0x12
call edi
test ax, ax
jge 0x419538
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41954b
mov esi, 0xbd
jmp 0x4194ff
cmp si, 0x6e
jne 0x419558
mov esi, 0xbe
jmp 0x4194ff
cmp si, 0x6f
jne 0x4194f9
mov esi, 0xbf
jmp 0x4194ff

Function at 0x41ac80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x505da8]
xor edx, edx
cmp eax, edx
jne 0x41aca6
xor eax, eax
mov byte [eax + 0x505ca8], al
inc eax
cmp eax, 0x100
jl 0x41ac8e
mov dword [0x505da8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x505ca8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41ad37
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x41ad0a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x41acd8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41adb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x41ae03
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x41adea
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret