joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f573
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41f5b2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41f5b2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41f5b2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41f5b2
cmp dword [ecx + 0x74], 0xe
jbe 0x41f5b2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x431790
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4317bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4317bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0xb74058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00b741a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xb7407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7406a
add dl, dl
jne 0xb74089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb740dc
xor eax, eax
add dl, dl
jne 0xb74096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xb7417d
add dl, dl
jne 0xb740a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb740b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb740bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb740c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xb740d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xb74075
mov eax, 1
add dl, dl
jne 0xb740ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xb740f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb740e1
sub eax, ebx
mov ebx, 1
jne 0xb74128
mov ecx, 1
add dl, dl
jne 0xb7410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb74119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb74105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb74075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xb7413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xb7414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xb74136
cmp eax, 0x7d00
jae 0xb7416d
cmp eax, 0x500
jb 0xb74168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb74075
cmp eax, 0x7f
ja 0xb74170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xb74075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xb7419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xb74075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401120
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_malloc]
push 0x11
mov dword [esp + 0x14], 4
call edi
push 0x288
mov ebx, eax
call edi
mov ebp, dword [sym.imp.MSVCR90.dll_printf]
mov esi, eax
add esp, 8
test esi, esi
jne 0x401159
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call ebp
add esp, 4
lea eax, [esp + 0x10]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x401183
mov ecx, dword [esp + 0x10]
push ecx
call edi
mov esi, eax
add esp, 4
test esi, esi
jne 0x401183
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call ebp
add esp, 4
lea edx, [esp + 0x10]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4011d9
movzx eax, byte [esi + 0x199]
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X__02X__02X__02X__02X__02X
push ebx
call dword [sym.imp.MSVCR90.dll_sprintf]
add esp, 0x20
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x401590
Capabilities:
Download url
Receive data

Disassembly:
push ecx
push esi
mov esi, dword [sym.imp.WININET.dll_DeleteUrlCacheEntryW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
nop
push str.http:__en.wikipedia.org
call esi
push 0
push 0
push str.cpp_logo285728.test
push str.http:__en.wikipedia.org
push 0
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
je 0x4015dc
push 0x3e8
call edi
mov eax, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._nnot_connected__waiting
push eax
call fcn.00403170
add esp, 8
jmp 0x4015a0
mov ecx, dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
push str._nconnected
push ecx
call fcn.00403170
add esp, 8
pop edi
pop esi
pop ecx
ret
Function at 0x401600
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4044d3
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x408020]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x4c]
xor esi, esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x1c], esi
push edi
mov dword [esp + 0x1c], 0x5c3a63
call fcn.00402970
mov dword [esp + 0x44], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov bl, 0x43
mov dword [esp + 0x1c], 1
mov byte [esp + 0x17], bl
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x1c], bl
call esi
cmp eax, 2
jne 0x4016a0
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x24]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [esp + 0x20]
push edx
mov ebx, edi
mov dword [esp + 0x48], 1
call fcn.00402a60
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov bl, byte [esp + 0x17]
inc bl
cmp bl, 0x5a
mov byte [esp + 0x17], bl
jle 0x40165a
mov eax, edi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x38
ret
Function at 0x401b90
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4040e2
mov eax, dword fs:[0]
push eax
push ecx
push ebx
mov eax, dword [0x408020]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 8]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x401c0a
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
xor al, al
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x20]
mov eax, 0x10
cmp dword [esp + 0x34], eax
jae 0x401c1d
lea ecx, [esp + 0x20]
cmp dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
jae 0x401c2b
lea eax, [esp + 0x3c]
mov edx, dword [esp + 0x30]
push edx
push ecx
push 1
push ebx
push eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp eax, ebx
jne 0x401bd7
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0xffffffff
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, 1
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x10
ret
Function at 0x401c90
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x404093
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x408020]
xor eax, esp
mov dword [esp + 0x10c], eax
push ebx
push edi
mov eax, dword [0x408020]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
mov dword [esp + 0x128], ebx
lea eax, [esp + 0x19]
push ebx
mov dword [esp + 0x14], ebx
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x14]
push edx
mov ecx, esi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov dword [esp + 0x124], ebx
mov eax, dword [esi + 0x14]
lea edi, [eax - 1]
mov dword [esp + 0xc], 1
cmp edi, eax
jbe 0x401d2d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp dword [esi + 0x18], 0x10
jb 0x401d38
mov eax, dword [esi + 4]
jmp 0x401d3b
lea eax, [esi + 4]
cmp byte [eax + edi], 0x5c
je 0x401d4e
push 0x40550c
mov ecx, esi
call dword [sym.imp.MSVCP90.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_char_const__]
mov eax, esi
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00403658
add esp, 0x11c
ret

Function at 0x401d80
Capabilities:
Get file size

Disassembly:
cmp dword [esp + 0x1c], 0x10
mov eax, dword [esp + 8]
jae 0x401d8f
lea eax, [esp + 8]
push esi
push edi
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0xc]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, edi
pop edi
pop esi
ret
Function at 0x4028b0
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCR90.dll_fopen]
push edi
mov edi, dword [sym.imp.MSVCR90.dll_fclose]
mov ebp, 0x10
jmp 0x4028d0
push 0x40845c
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.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 [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x4028ed
lea eax, [esp + 0x14]
push 0x405510
push eax
call esi
add esp, 8
xor bl, bl
test eax, eax
je 0x402906
push eax
mov bl, 1
call edi
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x40293a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x408460]
cmp dword [0x408474], ebp
jae 0x402931
mov eax, 0x408460
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4028d0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret

Function at 0x403658
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408020]
jne 0x403662
repz ret
jmp fcn.00403a9d

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1281119d
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x7b741867
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x1a297f3e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x40d65468
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x434b26
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004349fa

Function at 0x437803
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004371c1
Function at 0x433003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0xbcf36fa
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0xc6a41a1
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x421920
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d6bb
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.00492036
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4219a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048ff10
mov eax, dword [eax]
push 0x664cf8
push eax
call fcn.00482054
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004922c1
test bl, bl
je 0x4219a2
push 0x664cf8
lea ecx, [esp + 0xc]
call fcn.00492651
push 0x664d04
lea ecx, [esp + 0xc]
call fcn.00492651
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 0x4219de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004922c1
jmp 0x421aa9
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 0x421a62
lea edx, [esp + 0x7c]
push 0x664d00
push edx
call fcn.00482054
add esp, 8
test eax, eax
je 0x421a62
lea eax, [esp + 0x7c]
push 0x664cfc
push eax
call fcn.00482054
add esp, 8
test eax, eax
je 0x421a62
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 0x4219f2
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.004922c1
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 0x4222c0
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 0x422322
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 0x422330
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49d73b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x672a00]
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 0x422468
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x422396
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004922c1
xor eax, eax
jmp 0x4224df
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004923fe
push esi
lea ecx, [esp + 0xc]
call fcn.0049268d
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x664d38
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4224bd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004222c0
test eax, eax
jne 0x4224bd
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.004222c0
test eax, eax
jne 0x4224bd
lea eax, [esp + 0x14]
push 0x664d14
push eax
call fcn.004830d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42249c
lea ecx, [esp + 0x14]
push 0x664d10
push ecx
call fcn.00483050
mov esi, eax
add esp, 8
test esi, esi
jne 0x42249c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x42249f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004923ae
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4223ae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004922c1
xor eax, eax
jmp 0x4224df
mov byte [esi], 0
push 0x664d0c
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.004922c1
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 0x434570
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 0x4345de
cmp si, 0x69
ja 0x4345de
add esi, 0xffd0
cmp si, 0x11
je 0x4345ae
push 0x11
call edi
test ax, ax
jge 0x4345ae
or esi, 0x2000
cmp si, 0x10
je 0x4345c3
push 0x10
call edi
test ax, ax
jge 0x4345c3
or esi, 0x4000
cmp si, 0x12
je 0x4345d8
push 0x12
call edi
test ax, ax
jge 0x4345d8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4345eb
mov esi, 0xbd
jmp 0x43459f
cmp si, 0x6e
jne 0x4345f8
mov esi, 0xbe
jmp 0x43459f
cmp si, 0x6f
jne 0x434599
mov esi, 0xbf
jmp 0x43459f

Function at 0x435eb0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x683268]
xor edx, edx
cmp eax, edx
jne 0x435ed6
xor eax, eax
mov byte [eax + 0x683168], al
inc eax
cmp eax, 0x100
jl 0x435ebe
mov dword [0x683268], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x683168
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x435f67
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 0x435f3a
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 0x435f08
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435fe0
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 0x436033
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 0x43601a
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