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

Disassembly:
push 0xffffffffffffffff
push 0x484860
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00457330
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004573b0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004573b0
lea ecx, [esi + 0xc]
call fcn.004739fd
lea ecx, [esi + 0x10]
call fcn.004739fd
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00459be0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00459be0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00459be0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00473a72
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00473a72
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x458428
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x484a88
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x458438
call fcn.00458950
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x45851b
cmp byte [edi], 0
je 0x45851b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x45845d
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.00457150
test eax, eax
jne 0x45847d
push 0x4d47c8
lea ecx, [esi + 0x38]
call fcn.00473bfb
jmp 0x45851b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.004571a0
test eax, eax
jne 0x4584ac
mov ecx, esi
call fcn.004572a0
push edi
add esi, 0x38
push 0x4d47a4
push esi
call fcn.004713b7
add esp, 0xc
jmp 0x45851b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.004591d0
test eax, eax
je 0x458514
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004585f0
test eax, eax
jne 0x458530
push edi
lea eax, [esi + 0x38]
push 0x4d4780
push eax
call fcn.004713b7
add esp, 0xc
mov ecx, esi
call fcn.00458950
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x4585d8
mov ecx, dword [0x4d4ac8]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.004713b7
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.00457250
test eax, eax
jne 0x45859a
push 0x4d4764
lea ecx, [esi + 0x38]
call fcn.00473bfb
jmp 0x4585aa
push 0xfa
mov ecx, esi
call fcn.004591d0
test eax, eax
jne 0x4585c7
mov ecx, esi
call fcn.00458950
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00473a72
jmp 0x45851b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.00473a72
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x475e62
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x475e9a
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00473f19
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00473ef1
jmp 0x475ea6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x477553
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x477595
call fcn.0047d489
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x477595
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47758c
xor eax, eax
jmp 0x47759d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004775a3
pop edi
pop esi
pop ebx
ret 4

Function at 0x47d9b9
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x47d9e7
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47da05
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047d91f
jmp 0x47da05
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47da05
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047d91f
test edi, edi
mov eax, edi
jne 0x47d9ef
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403658
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x413708
call fcn.00403860
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x403698
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403698
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4036b0
cmp eax, 0x20b
je 0x40369d
mov dword [ebp - 0x1c], ebx
jmp 0x4036c4
cmp dword [ecx + 0x84], 0xe
jbe 0x403698
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x4036be
cmp dword [ecx + 0x74], 0xe
jbe 0x403698
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x415078], 0xffffffff
or dword [0x41507c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x415070]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x41506c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x415074], eax
call fcn.004038fc
call fcn.004013f2
cmp dword [0x415060], ebx
jne 0x403724
push fcn.004013f2
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.0040398a
push 0x41500c
push 0x415008
call sub.MSVCR71.dll__initterm
push 0x403940
call fcn.004038ea
mov eax, dword [0x415068]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x415064]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x403778
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x415004
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4037f6
cmp al, bl
je 0x4037a2
cmp dword [ebp - 0x20], ebx
jne 0x4037f6
mov al, byte [esi]
cmp al, bl
je 0x4037b2
cmp al, 0x20
ja 0x4037b2
inc esi
mov dword [ebp - 0x24], esi
jmp 0x4037a2
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x4037ce
movzx eax, word [ebp - 0x54]
jmp 0x4037d1
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.0040174b
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x4037ee
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x40384b
cmp al, 0x22
jne 0x403805
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x403818
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x403790
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0040389b
ret
Function at 0x401b14
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov al, byte [0x40df20]
push edi
push 0x41
mov byte [ebp - 0x108], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00401a1d
pop ecx
pop edi
test eax, eax
je 0x401b6d
push 1
push 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setg cl
mov eax, ecx
leave
ret
xor eax, eax
leave
ret

Function at 0x401dd1
Capabilities:
Create process on windows

Disassembly:
add ecx, 0x411
push 5
push ecx
call dword [sym.imp.KERNEL32.DLL_WinExec]
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x404920
Capabilities:
Get common file path

Disassembly:
cmp byte [0x40e194], 0
push esi
mov esi, 0x40e194
jne 0x404940
push 0x104
push esi
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryA]
mov dword [0x40e29c], eax
push esi
push dword [esp + 0xc]
call sub.MSVCRT.dll_strcpy
mov eax, dword [0x40e29c]
pop ecx
pop ecx
pop esi
ret

Function at 0x404bd9
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x40df20
push 5
push eax
push eax
push dword [esp + 0x14]
push str.open
push dword [esp + 0x18]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0x20
pop ecx
cmp ecx, eax
sbb eax, eax
neg eax
ret

Function at 0x404bff
Capabilities:
Get common file path
Get file attributes

Disassembly:
cmp byte [0x40e50c], 0
push esi
mov esi, 0x40e50c
jne 0x404c2c
push esi
call fcn.004046a9
pop ecx
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
test al, 1
je 0x404c2c
push esi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathA]
mov eax, esi
pop esi
ret

Function at 0x405985
Capabilities:
Read .ini file

Disassembly:
push 0x40e64c
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x40e754
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntA]
ret

Function at 0x40599e
Capabilities:
Read .ini file

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push 0x40e64c
push dword [esp + 0x14]
and byte [esi], 0
push esi
push 0x40df20
push dword [esp + 0x18]
push 0x40e754
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
mov eax, esi
pop esi
ret

Function at 0x408386
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
lea eax, [ebp - 0x104]
push 0x40d9ec
mov esi, ecx
push eax
call fcn.004045e1
pop ecx
lea eax, [ebp - 0x104]
pop ecx
push 1
push 1
push 2
push eax
mov ecx, esi
call fcn.00408352
test eax, eax
je 0x4083ea
lea eax, [ebp - 0x104]
push eax
push dword [esi + 0x108]
call fcn.0040432d
pop ecx
test eax, eax
pop ecx
je 0x4083dd
push eax
mov ecx, esi
call fcn.00401837
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
pop esi
leave
ret
Function at 0x409e7b
Capabilities:
Set registry value

Disassembly:
push dword [esp + 0xc]
call sub.MSVCRT.dll_strlen
pop ecx
inc eax
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret

Function at 0x409e9e
Capabilities:
Set registry value

Disassembly:
lea eax, [esp + 0xc]
push 4
push eax
push 4
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret
Function at 0x40a803
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push ebx
lea eax, [ebp - 0x20]
push esi
push eax
push dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x20], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
cmp eax, ebx
mov dword [ebp - 4], eax
jbe 0x40a9c4
push edi
mov ecx, esi
call fcn.0040a7d3
push dword [ebp - 4]
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov edi, eax
push edi
push dword [ebp - 4]
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x40d6e4
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a891
mov eax, dword [ebp - 0x1c]
cmp dword [ebp + 0xc], ebx
mov ecx, dword [eax + 0x30]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 8]
mov dword [esi], ecx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0xc], ecx
mov ecx, dword [eax + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [eax + 0x24]
mov dword [esi + 0x10], ecx
mov eax, dword [eax + 0x28]
mov dword [esi + 0x14], eax
je 0x40a89b
push 1
pop ebx
cmp dword [ebp + 0xc], 0
jne 0x40a9bc
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40a8ec
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 2]
movzx eax, word [eax]
push ecx
push eax
lea eax, [ebp - 0x18]
push str._4.4X_4.4X
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x124]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push 0x40df20
push eax
push edi
call fcn.0040a73b
test eax, eax
jne 0x40a8fc
lea eax, [ebp - 0x18]
push str.040904E4
push eax
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
lea eax, [esi + 0x18]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.ProductName
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x118]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.FileDescription
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x218]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.FileVersion
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x318]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.ProductVersion
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x418]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.CompanyName
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x518]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.InternalName
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x618]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.LegalCopyright
push eax
push edi
call fcn.0040a73b
lea eax, [esi + 0x718]
mov ecx, esi
push eax
lea eax, [ebp - 0x18]
push str.OriginalFileName
push eax
push edi
call fcn.0040a73b
push 1
pop ebx
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 8
Function at 0x445bc0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4abcdb
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.004a03e4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x445c42
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049db70
mov eax, dword [eax]
push 0x5a623c
push eax
call fcn.0048fae4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a066f
test bl, bl
je 0x445c42
push 0x5a623c
lea ecx, [esp + 0xc]
call fcn.004a09ff
push 0x5a9f04
lea ecx, [esp + 0xc]
call fcn.004a09ff
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 0x445c7e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a066f
jmp 0x445d49
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 0x445d02
lea edx, [esp + 0x7c]
push 0x5a9f00
push edx
call fcn.0048fae4
add esp, 8
test eax, eax
je 0x445d02
lea eax, [esp + 0x7c]
push 0x5a9efc
push eax
call fcn.0048fae4
add esp, 8
test eax, eax
je 0x445d02
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 0x445c92
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.004a066f
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 0x446560
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 0x4465c2
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 0x4465d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4abd5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5b0844]
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 0x446708
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x446636
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a066f
xor eax, eax
jmp 0x44677f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a07ac
push esi
lea ecx, [esp + 0xc]
call fcn.004a0a3b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x5a9f3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44675d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00446560
test eax, eax
jne 0x44675d
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.00446560
test eax, eax
jne 0x44675d
lea eax, [esp + 0x14]
push 0x5a9f18
push eax
call fcn.00490bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x44673c
lea ecx, [esp + 0x14]
push 0x5a9f14
push ecx
call fcn.00490b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x44673c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x44673f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a075c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x44664e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a066f
xor eax, eax
jmp 0x44677f
mov byte [esi], 0
push 0x5a9f10
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.004a066f
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 0x44f946
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3ac]
test eax, eax
jne 0x44f96e
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3ac], eax
pop esi
add esp, 0x190
ret
Function at 0x459bb0
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 0x459c1e
cmp si, 0x69
ja 0x459c1e
add esi, 0xffd0
cmp si, 0x11
je 0x459bee
push 0x11
call edi
test ax, ax
jge 0x459bee
or esi, 0x2000
cmp si, 0x10
je 0x459c03
push 0x10
call edi
test ax, ax
jge 0x459c03
or esi, 0x4000
cmp si, 0x12
je 0x459c18
push 0x12
call edi
test ax, ax
jge 0x459c18
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x459c2b
mov esi, 0xbd
jmp 0x459bdf
cmp si, 0x6e
jne 0x459c38
mov esi, 0xbe
jmp 0x459bdf
cmp si, 0x6f
jne 0x459bd9
mov esi, 0xbf
jmp 0x459bdf

Function at 0x45b710
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5c1008]
xor edx, edx
cmp eax, edx
jne 0x45b736
xor eax, eax
mov byte [eax + 0x5c0f08], al
inc eax
cmp eax, 0x100
jl 0x45b71e
mov dword [0x5c1008], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5c0f08
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x45b7c7
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 0x45b79a
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 0x45b768
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x45b840
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 0x45b893
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 0x45b87a
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