joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405914
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x40597a
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00403e3c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b84
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405964
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405981
lea eax, [ebp - 0x10]
call fcn.00403bcc
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404068
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4074d1
test al, 0x10
jne 0x4074d5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x4075c4
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404068
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x4075e6
call sub.kernel32.dll_GetLastError
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4075ec
Capabilities:
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404068
push eax
call sub.kernel32.dll_GetFileAttributesA
test al, 1
setne al
pop ebx
ret

Function at 0x407604
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00404068
mov ebp, eax
push ebp
call sub.kernel32.dll_GetFileAttributesA
mov edi, eax
cmp edi, 0xffffffff
je 0x407641
cmp byte [esp], 0
je 0x407631
or edi, 1
jmp 0x407634
and edi, 0xfffffffe
push edi
push ebp
call sub.kernel32.dll_SetFileAttributesA
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x409f38
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409f71
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403cbc
jmp 0x409f7a
mov eax, ebx
mov edx, esi
call fcn.00403c20
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x409f84
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x409fa5
mov al, byte [esp]
jmp 0x409fa7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x40a62c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a4a4
mov eax, dword [0x41d9a4]
cmp byte [eax], 0
je 0x40a6a8
mov eax, dword [0x41d8a8]
call fcn.00402a90
call fcn.00402794
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004078b8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40a6f0
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40a6de
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x41d880]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x41e668]
call fcn.00404e34
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40b490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40b4f4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00403e3c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040710c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b4fb
lea eax, [ebp - 0xc]
call fcn.00403bcc
ret

Function at 0x416414
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404068
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41646c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x41da38]
mov dl, 1
mov eax, dword [0x415fcc]
call fcn.0040a7f8
call fcn.0040360c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004160d4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x416528
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402b64
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x416fc8
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
mov esi, 0x41d3b8
xor eax, 0xffffffff
mov ebx, ecx
shr ebx, 3
dec ebx
test ebx, ebx
jl 0x41709b
inc ebx
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 4]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 5]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 6]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
movzx edi, byte [edx + 7]
xor edi, eax
and edi, 0xff
mov edi, dword [esi + edi*4]
shr eax, 8
xor edi, eax
mov eax, edi
add edx, 8
dec ebx
jne 0x416fe2
mov ebx, ecx
shr ebx, 3
shl ebx, 3
dec ecx
sub ecx, ebx
jl 0x4170c5
inc ecx
xchg ecx, ebx
xor ecx, ecx
mov cl, byte [edx]
xor ecx, eax
and ecx, 0xff
mov ecx, dword [esi + ecx*4]
shr eax, 8
xor ecx, eax
mov eax, ecx
inc edx
dec ebx
jne 0x4170ab
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
ret

Function at 0x4197d0
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 0x105
call fcn.00402b64
push esp
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.00403e3c
mov eax, dword [ebx]
call fcn.00403e68
dec eax
jle 0x41983a
mov eax, dword [ebx]
call fcn.00403e68
mov edx, dword [ebx]
cmp byte [edx + eax - 1], 0x5c
je 0x41983a
mov eax, ebx
mov edx, 0x41984c
call fcn.00403e70
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x41b19c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x41b1d6
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
push 0
push 0
mov eax, ebx
call fcn.00404068
push eax
push 0x41b1e8
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b1e0
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41b1f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x41b2d4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00402b64
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
call sub.user32.dll_GetDesktopWindow
mov dword [ebp - 0x34], eax
mov eax, ebx
call fcn.00404068
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.00404068
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x40]
mov eax, ebx
call fcn.004076e4
mov eax, dword [ebp - 0x40]
call fcn.00404068
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
xor eax, eax
push ebp
push 0x41b2b2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
call sub.shell32.dll_ShellExecuteExA
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x41b2a8
jmp 0x41b28d
push 0xa
call sub.kernel32.dll_Sleep
push 0x64
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x41b286
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x41b2be
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41b2db
lea eax, [ebp - 0x40]
call fcn.00403bcc
ret
Function at 0x401138
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x40934e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.00401000
xor edi, edi
lea ecx, [esi + 0x14]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 4]
mov byte [esp + 0x18], 1
cmp eax, edi
mov dword [esi], 0x40a3f0
jne 0x40119a
push 0x64c4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 2
je 0x401188
mov ecx, eax
call fcn.00404200
jmp 0x40118a
xor eax, eax
push esi
mov ecx, eax
mov byte [esp + 0x1c], 1
mov dword [esi + 4], eax
call fcn.00403c40
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov ecx, 0x80
xor eax, eax
lea edi, [esi + 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x402310
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x40943c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0x20]
call sub.MFC42.DLL_CString::CString_2
xor ebp, ebp
lea ecx, [esi + 0x28]
mov dword [esp + 0x18], ebp
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x2c]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, 0x80
xor eax, eax
lea edi, [esi + 0x2068]
mov dword [esi], 0x40a430
mov dword [esi + 8], ebp
mov dword [esi + 0x38], 1
mov dword [esi + 0x48], ebp
mov byte [esi + 0x50], 0xcc
mov dword [esi + 0x4c], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
mov dword [esi + 0x60], ebp
mov dword [esi + 0x2064], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x226c], ebp
mov dword [esi + 0x2270], ebp
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x2274], ebp
mov dword [esi + 0x2268], 1
mov dword [esi + 0x227c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x2284], ebp
mov dword [esi + 0x2288], ebp
mov dword [esi + 0x228c], ebp
mov dword [esi + 0x2290], ebp
mov dword [esi + 0x2294], ebp
mov dword [esi + 0x2490], ebp
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x404910
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x64
push esi
mov esi, ecx
mov eax, dword [esi + 0x64b4]
test eax, eax
je 0x404987
mov eax, dword [esi + 0x64b8]
mov edx, dword [esi + 0x249c]
inc eax
push 0
mov dword [esi + 0x64b8], eax
mov eax, dword [esi + 0x44b0]
lea ecx, [esi + 0x24b0]
push eax
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_send]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x64bc], eax
mov eax, dword [esi + 0x44b0]
xor ecx, ecx
push eax
mov cx, word [esi + 0x24ba]
lea edx, [esp + 8]
push ecx
push str.send_data__x__d
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, dword [esi + 8]
add esp, 0x10
lea edx, [esp + 4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
pop esi
add esp, 0x64
ret

Function at 0x404dc0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 8]
add ecx, 4
push ebx
mov ebx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
push 0x400
push ebx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x404e08
push esi
push edi
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x404e10
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
add ecx, 4
push ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret 0xc

Function at 0x406630
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], 0x40a934
jmp fcn.00406640

Function at 0x406640
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], eax
ret
Function at 0x437580
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3bab
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.0049649f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x437602
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00493f1d
mov eax, dword [eax]
push 0x4c3204
push eax
call fcn.00486be4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049672a
test bl, bl
je 0x437602
push 0x4c3204
lea ecx, [esp + 0xc]
call fcn.00496b06
push 0x4c6d7c
lea ecx, [esp + 0xc]
call fcn.00496b06
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 0x43763e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049672a
jmp 0x437709
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 0x4376c2
lea edx, [esp + 0x7c]
push 0x4c6d78
push edx
call fcn.00486be4
add esp, 8
test eax, eax
je 0x4376c2
lea eax, [esp + 0x7c]
push 0x4c6d74
push eax
call fcn.00486be4
add esp, 8
test eax, eax
je 0x4376c2
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 0x437652
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.0049672a
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 0x437f00
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 0x437f62
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 0x437f70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3c2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4ce108]
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 0x4380a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x437fd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049672a
xor eax, eax
jmp 0x43811f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004968b3
push esi
lea ecx, [esp + 0xc]
call fcn.00496b42
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 0x4380fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00437f00
test eax, eax
jne 0x4380fd
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 SysReAllocStringLen
mov ecx, edi
call fcn.00437f00
test eax, eax
jne 0x4380fd
lea eax, [esp + 0x14]
push 0x4c6d90
push eax
call fcn.00487d90
mov esi, eax
add esp, 8
test esi, esi
jne 0x4380dc
lea ecx, [esp + 0x14]
push 0x4c6d8c
push ecx
call fcn.00487d10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4380dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4380df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00496863
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x437fee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049672a
xor eax, eax
jmp 0x43811f
mov byte [esi], 0
push 0x4c6d88
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.0049672a
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 0x449ca0
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 0x449d0e
cmp si, 0x69
ja 0x449d0e
add esi, 0xffd0
cmp si, 0x11
je 0x449cde
push 0x11
call edi
test ax, ax
jge 0x449cde
or esi, 0x2000
cmp si, 0x10
je 0x449cf3
push 0x10
call edi
test ax, ax
jge 0x449cf3
or esi, 0x4000
cmp si, 0x12
je 0x449d08
push 0x12
call edi
test ax, ax
jge 0x449d08
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x449d1b
mov esi, 0xbd
jmp 0x449ccf
cmp si, 0x6e
jne 0x449d28
mov esi, 0xbe
jmp 0x449ccf
cmp si, 0x6f
jne 0x449cc9
mov esi, 0xbf
jmp 0x449ccf

Function at 0x44b4d0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4deed0]
xor edx, edx
cmp eax, edx
jne 0x44b4f6
xor eax, eax
mov byte [eax + 0x4dedd0], al
inc eax
cmp eax, 0x100
jl 0x44b4de
mov dword [0x4deed0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4dedd0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x44b587
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 0x44b55a
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 0x44b528
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x44b600
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 0x44b653
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 0x44b63a
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