joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c14d
Capabilities:
Get common file path

Disassembly:
push 0x874
mov eax, 0x4369b0
call fcn.00433ea9
mov edi, edx
mov esi, ecx
xor ebx, ebx
push 0x802
lea eax, [ebp - 0x81c]
push ebx
push eax
mov dword [ebp - 0x880], ebx
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
lea eax, [ebp - 0x81c]
push eax
push ebx
push ebx
push 0x801a
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x40c2b2
mov dword [ebp - 0x820], 7
mov dword [ebp - 0x824], ebx
mov word [ebp - 0x834], ax
cmp word [ebp - 0x81c], ax
je 0x40c1c9
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.MSVCR110.dll_wcslen]
pop ecx
push eax
lea eax, [ebp - 0x81c]
push eax
lea ecx, [ebp - 0x834]
call fcn.00409bdf
mov edx, edi
lea ecx, [ebp - 0x84c]
mov dword [ebp - 4], ebx
call fcn.004069bf
push eax
lea ecx, [ebp - 0x87c]
mov byte [ebp - 4], 1
call fcn.00409bdf
mov byte [ebp - 4], 2
mov edx, eax
lea ecx, [ebp - 0x864]
mov dword [esp], 0x43fd8c
call fcn.00409bdf
pop ecx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 3
call fcn.00409bdf
push ebx
push 1
lea ecx, [ebp - 0x864]
call fcn.00409bdf
push ebx
push 1
lea ecx, [ebp - 0x87c]
call fcn.00409bdf
push ebx
push 1
lea ecx, [ebp - 0x84c]
mov byte [ebp - 4], bl
call fcn.00409bdf
lea edx, [ebp - 0x834]
lea ecx, [ebp - 0x84c]
call fcn.00407dbd
mov ecx, eax
call fcn.004074d4
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x84c]
mov bl, al
call fcn.00409bdf
test bl, bl
je 0x40c2a0
lea edx, [ebp - 0x834]
mov ecx, esi
call fcn.004068f7
push edi
push 1
lea ecx, [ebp - 0x834]
call fcn.00409bdf
jmp 0x40c2be
or dword [ebp - 4], 0xffffffff
push edi
push 1
lea ecx, [ebp - 0x834]
call fcn.00409bdf
push 0x43f9ae
mov ecx, esi
call fcn.00409bdf
mov eax, esi
call fcn.00433e58
ret

Function at 0x4128d9
Capabilities:
Get common file path

Disassembly:
push 0x264
mov eax, 0x4375ca
call fcn.00433ea9
mov edi, ecx
xor esi, esi
push 0x20a
lea eax, [ebp - 0x224]
push esi
push eax
mov dword [ebp - 0x258], esi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
call fcn.00409bdf
test al, al
je 0x41299a
push str.IE_is_protected_mode_
lea ecx, [ebp - 0x23c]
call fcn.00409bdf
push str.LogSession
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], esi
call fcn.00409bdf
lea ecx, [ebp - 0x254]
mov byte [ebp - 4], 1
call fcn.0040c42d
push 0x43f9ae
lea ecx, [ebp - 0x270]
mov esi, eax
call fcn.00409bdf
push eax
mov byte [ebp - 4], 2
mov edx, dword [esi]
lea eax, [ebp - 0x23c]
push eax
mov ecx, esi
call dword [edx + 0x40]
lea ecx, [ebp - 0x270]
call fcn.004023b1
lea ecx, [ebp - 0x254]
call fcn.004023b1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x23c]
call fcn.004023b1
mov ecx, edi
call fcn.0041283a
jmp 0x4129c7
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push 0x801a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edx, 0x43fc28
test eax, eax
lea ecx, [ebp - 0x224]
cmovne ecx, edx
push ecx
mov ecx, edi
call fcn.00409bdf
mov eax, edi
call fcn.00433e58
ret
Function at 0x412e6d
Capabilities:
Hash data with md5

Disassembly:
push 0xa8
mov eax, 0x4378ed
call fcn.00433ea9
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 2
push 0x68
mov dword [ebp - 0x98], eax
push ecx
lea eax, [ebp - 0x90]
push eax
call dword [sym.imp.MSVCR110.dll_memset]
and dword [ebp - 0x8c], 0
and dword [ebp - 0x90], 0
add esp, 0xc
cmp dword [ebp + 0x1c], 0x10
lea edi, [ebp + 8]
cmovae edi, dword [ebp + 8]
add edi, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
lea esi, [ebp + 8]
cmovae esi, dword [ebp + 8]
mov dword [ebp - 0x88], 0x67452301
mov dword [ebp - 0x84], 0xefcdab89
mov dword [ebp - 0x80], 0x98badcfe
mov dword [ebp - 0x7c], 0x10325476
jmp 0x412f2d
mov al, byte [esi]
push 1
lea edx, [ebp - 0x91]
mov byte [ebp - 0x91], al
call fcn.00409bdf
pop ecx
inc esi
lea ecx, [ebp - 0x90]
cmp esi, edi
jne 0x412f16
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00409bdf
xor eax, eax
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0xac]
lea ecx, [ebp - 0x98]
push dword [ebp - 0xb0]
call fcn.00409bdf
mov eax, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
and dword [ebx + 0x10], 0
add esp, 0xc
mov dword [ebx + 0x14], 0xf
push dword [ebp - 0x98]
mov byte [ebx], 0
push eax
push ecx
mov ecx, ebx
call fcn.00413303
cmp dword [ebp - 0xa4], 0
mov esi, dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
je 0x412fd5
push dword [ebp - 0xa4]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], eax
lea ecx, [ebp - 0x28]
call fcn.004023b1
cmp dword [ebp - 0xb0], 0
je 0x413003
push dword [ebp - 0xb0]
call esi
xor eax, eax
pop ecx
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
lea ecx, [ebp + 8]
call fcn.004023b1
mov eax, ebx
call fcn.00433e58
ret
Function at 0x413797
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xf4
mov eax, 0x43796d
call fcn.00433ea9
mov ebx, ecx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x44], eax
jne 0x4137bd
xor al, al
jmp 0x4138a7
and dword [ebp - 0x48], 0
push 0x802
mov dword [ebp - 0x4c], 0x400
call fcn.00409bdf
mov dword [esp], 0x802
mov edi, eax
push 0
push edi
call dword [sym.imp.MSVCR110.dll_memset]
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x4137f1
mov eax, dword [esi]
jmp 0x4137f3
mov eax, esi
lea ecx, [ebp - 0x4c]
push ecx
push edi
lea ecx, [ebp - 0x48]
push ecx
push 0
push eax
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cdq
test eax, eax
jne 0x413880
test edx, edx
jne 0x413880
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x48], 4
jne 0x413875
mov esi, dword [edi]
push ecx
push ecx
lea ecx, [ebp - 0x100]
call fcn.00413998
and dword [ebp - 4], 0
push esi
lea ecx, [ebp - 0xf0]
call dword [sym.imp.MSVCP110.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.00409bdf
mov ecx, dword [ebp - 0x44]
push eax
call fcn.00409bdf
push 0
push ebx
lea ecx, [ebp - 0x28]
call fcn.00409bdf
lea ecx, [ebp - 0x98]
call fcn.00413a16
lea ecx, [ebp - 0x98]
call dword [sym.imp.MSVCP110.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
jmp 0x41389d
mov ecx, dword [ebp - 0x44]
push edi
call fcn.00409bdf
jmp 0x41389d
push esi
mov edx, str.Query_registry_value_with_key:
lea ecx, [ebp - 0x40]
call fcn.00410b18
pop ecx
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00409bdf
xor bl, bl
push edi
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.00433e58
ret 8
Function at 0x4184e9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438689
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x25], 0
mov esi, dword [ebp + 8]
je 0x418530
mov eax, dword [edi]
call dword [eax + 0x14]
mov edx, esi
lea ecx, [esp + 0x28]
mov byte [edi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x50], 0
mov esi, dword [sym.imp.MSVCR110.dll_wcslen]
and dword [esp + 0x20], 0
xor eax, eax
mov ebx, str.User_Agent:_Adobe_Log_Transport_r_n
push ebx
mov dword [esp + 0x28], 7
mov word [esp + 0x14], ax
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409bdf
mov ebx, str.Content_Type:_multipart_form_data__boundaryxxxxx_r_n
push ebx
mov byte [esp + 0x54], 1
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409bdf
mov ebx, str.Content_Length:_0
push ebx
call esi
pop ecx
push eax
push ebx
lea ecx, [esp + 0x18]
call fcn.00409bdf
lea eax, [edi + 0xc]
push eax
lea eax, [edi + 4]
push eax
push 0
push 0
push edi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x18]
mov bl, al
mov word [edi + 0x24], 1
call fcn.00409bdf
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00409bdf
mov al, bl
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 4

Function at 0x418601
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4386c1
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x25], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
je 0x418656
mov eax, dword [esi]
call dword [eax + 0x14]
mov eax, dword [esp + 0x14]
mov edx, eax
lea ecx, [esp + 0x30]
mov byte [esi + 0x25], 1
call fcn.004069bf
and dword [esp + 0x58], 0
and dword [esp + 0x28], 0
xor eax, eax
mov dword [esp + 0x2c], 7
mov word [esp + 0x18], ax
lea eax, [esp + 0x18]
push eax
push ebx
push edi
mov byte [esp + 0x64], 1
call fcn.00418019
lea eax, [esi + 0xc]
push eax
lea eax, [esi + 4]
push eax
push 0
push 0
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x48]
push eax
mov ecx, esi
call fcn.00418158
push 0
push 1
lea ecx, [esp + 0x20]
mov bl, al
mov word [esi + 0x24], 1
call fcn.00409bdf
push 0
push 1
lea ecx, [esp + 0x38]
call fcn.00409bdf
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0041d508
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41da2d
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x443180
call fcn.0041da80
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov edx, dword [eax + 4]
mov edi, ebx
mov esi, 0x44df58
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
je 0x41d900
cmp eax, edx
jne 0x41d8e9
xor esi, esi
inc esi
mov edi, esi
jmp 0x41d903
xor esi, esi
inc esi
cmp dword [0x44df5c], esi
jne 0x41d915
push 0x1f
call sub.MSVCR110.dll__amsg_exit
pop ecx
jmp 0x41d94f
cmp dword [0x44df5c], ebx
jne 0x41d949
mov dword [0x44df5c], esi
push 0x43a57c
push 0x43a568
call sub.MSVCR110.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x41d94f
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41da27
mov dword [0x44dd34], esi
cmp dword [0x44df5c], esi
jne 0x41d972
push 0x43a564
push 0x43a4fc
call sub.MSVCR110.dll__initterm
pop ecx
pop ecx
mov dword [0x44df5c], 2
test edi, edi
jne 0x41d97f
xor eax, eax
mov ecx, 0x44df58
xchg dword [ecx], eax
cmp dword [0x44df60], 0
je 0x41d9a1
push 0x44df60
call fcn.00409bdf
pop ecx
test eax, eax
je 0x41d9a1
push ebx
push 2
push ebx
call dword [0x44df60]
mov ecx, dword [0x44dd40]
mov eax, dword [sym.imp.MSVCR110.dll___initenv]
mov dword [eax], ecx
push dword [0x44dd40]
push dword [0x44dd3c]
push dword [0x44dd38]
call fcn.0040f60f
add esp, 0xc
mov dword [0x44dd30], eax
cmp dword [0x44dd48], 0
jne 0x41da0c
push eax
call dword [sym.imp.MSVCR110.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.MSVCR110.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x44dd34], 0
jne 0x41da20
call dword [sym.imp.MSVCR110.dll__cexit]
mov eax, dword [0x44dd30]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041dac5
ret
call fcn.00409bdf
jmp 0x41d8c8
Function at 0x431fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x435528
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x44c054]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
push esi
push edi
mov eax, dword [0x44c054]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi]
mov ebx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x13c]
sub eax, dword [ecx + 0x138]
cmp dword [esi + 0x70], eax
jne 0x43208f
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x43208f
mov eax, dword [esi + 0x7c]
cmp dword [eax - 4], ebx
jle 0x43208f
mov eax, dword [ecx + 0x14]
test al, 3
jne 0x43204d
test eax, 0x1000000
je 0x43208f
push str.Cant_terminate_a_sub_expression_with_an_alternation_operator_.
lea ecx, [esp + 0x14]
call fcn.00409bdf
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x5c]
sub eax, dword [esi + 0x54]
mov ecx, esi
push eax
push 0x11
mov dword [esp + 0x40], 0
call fcn.00429a30
cmp dword [esp + 0x24], 0x10
jb 0x43208b
push dword [esp + 0x10]
call sub.MSVCR110.dll_void___cdecl_operator_delete_void__
add esp, 4
xor al, al
jmp 0x4320fe
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
je 0x4320fc
lea esp, [esp]
mov eax, dword [esi + 0x7c]
mov edi, dword [eax - 4]
cmp edi, ebx
jle 0x4320fc
cmp dword [esi + 0x78], eax
je 0x4320b5
add eax, 0xfffffffc
mov dword [esi + 0x7c], eax
mov edx, dword [esi]
mov ecx, dword [edx + 0x13c]
sub ecx, dword [edx + 0x138]
add ecx, 3
and ecx, 0xfffffffc
add ecx, dword [edx + 0x138]
mov dword [edx + 0x13c], ecx
mov eax, dword [esi]
mov ecx, dword [eax + 0x13c]
sub ecx, dword [eax + 0x138]
mov eax, dword [eax + 0x138]
sub ecx, edi
mov dword [eax + edi + 8], ecx
mov eax, dword [esi + 0x7c]
sub eax, dword [esi + 0x78]
test eax, 0xfffffffc
jne 0x4320a0
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.0041d508
add esp, 0x28
ret 4
Function at 0x409a30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d41b
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.00461e60
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409ab2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0045fd78
mov eax, dword [eax]
push 0x4880e0
push eax
call fcn.0044aa80
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004620eb
test bl, bl
je 0x409ab2
push 0x4880e0
lea ecx, [esp + 0xc]
call fcn.0046247b
push 0x48bc54
lea ecx, [esp + 0xc]
call fcn.0046247b
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 0x409aee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004620eb
jmp 0x409bb9
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 0x409b72
lea edx, [esp + 0x7c]
push 0x48bc50
push edx
call fcn.0044aa80
add esp, 8
test eax, eax
je 0x409b72
lea eax, [esp + 0x7c]
push 0x48bc4c
push eax
call fcn.0044aa80
add esp, 8
test eax, eax
je 0x409b72
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 0x409b02
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.004620eb
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 0x40a3b0
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 0x40a412
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 0x40a420
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46d49b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4920f0]
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 0x40a558
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a486
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004620eb
xor eax, eax
jmp 0x40a5cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00462228
push esi
lea ecx, [esp + 0xc]
call fcn.004624b7
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 0x40a5ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0040a3b0
test eax, eax
jne 0x40a5ad
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.0040a3b0
test eax, eax
jne 0x40a5ad
lea eax, [esp + 0x14]
push 0x48bc68
push eax
call fcn.0044bb95
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a58c
lea ecx, [esp + 0x14]
push 0x48bc64
push ecx
call fcn.0044b9d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a58c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a58f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004621d8
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a49e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004620eb
xor eax, eax
jmp 0x40a5cf
mov byte [esi], 0
push 0x48bc60
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.004620eb
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 0x41aa60
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 0x41aace
cmp si, 0x69
ja 0x41aace
add esi, 0xffd0
cmp si, 0x11
je 0x41aa9e
push 0x11
call edi
test ax, ax
jge 0x41aa9e
or esi, 0x2000
cmp si, 0x10
je 0x41aab3
push 0x10
call edi
test ax, ax
jge 0x41aab3
or esi, 0x4000
cmp si, 0x12
je 0x41aac8
push 0x12
call edi
test ax, ax
jge 0x41aac8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x41aadb
mov esi, 0xbd
jmp 0x41aa8f
cmp si, 0x6e
jne 0x41aae8
mov esi, 0xbe
jmp 0x41aa8f
cmp si, 0x6f
jne 0x41aa89
mov esi, 0xbf
jmp 0x41aa8f

Function at 0x41c180
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4a07f8]
xor edx, edx
cmp eax, edx
jne 0x41c1a6
xor eax, eax
mov byte [eax + 0x4a06f8], al
inc eax
cmp eax, 0x100
jl 0x41c18e
mov dword [0x4a07f8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4a06f8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x41c237
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 0x41c20a
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 0x41c1d8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x41c2b0
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 0x41c303
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 0x41c2ea
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
Function at 0x422d40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x422ed8
cmp ebp, ebx
jle 0x422ed8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x422d9e
dec eax
or eax, 0xfffffff8
inc eax
je 0x422da5
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x422db4
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x422dbb
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.00461e2c
add esp, 4
cmp eax, ebx
je 0x422ddc
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.00461e2c
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x422ece
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x422eb5
mov al, byte [edx]
cmp al, 0xc0
jbe 0x422ea1
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x422e96
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x422ea4
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x422ea4
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x422e40
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x422e31
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret