joyce8/EMBER2024-capa huggingface dataset:
Function at 0x448850
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x448883
push esi
call fcn.0044b940
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44887c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x448909
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4488f2
mov eax, dword [esi + 8]
test eax, eax
je 0x4488a7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4488ee
cmp eax, 2
je 0x4488f2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44889a
cmp eax, 3
je 0x4488cd
cmp eax, 1
jne 0x44889a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44889a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44889a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00448930
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x448918
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00448930
add esp, 4
pop esi
ret

Function at 0x456a70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x456b13
test eax, eax
jbe 0x456b13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x456b13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x456abe
xor esi, esi
jmp 0x456ac4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x456aef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0040b860
add esi, eax
push esi
mov ebx, esi
call fcn.0040b860
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x456ad0
pop ebp
test edi, edi
pop edi
jne 0x456b13
test ebx, ebx
je 0x456b13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046eff0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x456c55
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x456d6d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x456d6d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004803b0
mov esi, eax
test esi, esi
je 0x456d6d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x456d6d
mov ecx, esi
call fcn.00456bc0
cmp edi, eax
jge 0x456d6d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x456cf3
mov dword [esp + 0x34], 1
jmp 0x456d4e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x456d6d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00456110
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x461160
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x13c]
push edi
test eax, eax
jle 0x4611ac
mov eax, dword [ebx + 0x140]
test eax, eax
jle 0x4611ac
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
xor esi, esi
lea edi, [ebx + 0x150]
mov eax, dword [edi]
test eax, eax
je 0x461196
push eax
call ebp
test ax, ax
jl 0x4611a4
inc esi
add edi, 4
cmp esi, 6
jb 0x461188
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
mov ecx, ebx
call fcn.00460e60
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x464d00
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x464d60
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x464d60
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x464d60
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x464d60
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x464d70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x480d54
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x480d8c
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.0047ee08
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047ede0
jmp 0x480d98
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x482442
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 0x482484
call fcn.004882b3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x482484
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48247b
xor eax, eax
jmp 0x48248c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00482492
pop edi
pop esi
pop ebx
ret 4

Function at 0x4887e3
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 0x488811
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48882f
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00488749
jmp 0x48882f
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48882f
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00488749
test edi, edi
mov eax, edi
jne 0x488819
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402a6c
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x402ac5
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.00402908
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00402908
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x402aaf
inc ebx
jmp 0x402a98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402acc
lea eax, [ebp - 8]
call fcn.00403540
ret

Function at 0x402ad4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403540
test esi, esi
jne 0x402b0b
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00403630
jmp 0x402b2c
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402908
mov dword [esp], eax
test esi, esi
je 0x402b2c
cmp dword [ebx], 0
je 0x402b2c
dec esi
jmp 0x402b13
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x402cbc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40500c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402d54
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402d34
xor eax, eax
push ebp
push 0x402d2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402d70
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402d34
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x40500c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x40500c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4033bc
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x406034], 0
je 0x40341d
cmp word [0x406208], 0xd7b2
jne 0x4033e5
cmp dword [0x406210], 0
jbe 0x4033e5
mov eax, 0x406204
call dword [0x406220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x405054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403444
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x405018], 0
jne 0x403439
push 0
push 0x40504c
push 0x405054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x403aa4
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 0x403b0a
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.00403690
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402bb0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403af4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b11
lea eax, [ebp - 0x10]
call fcn.00403540
ret

Function at 0x403ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403898
xor eax, eax
push ebp
push 0x403f48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00402b90
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], bx
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004038a8
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x403f30
mov ebx, dword [ebp - 0x58]
jmp 0x403f32
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403f4f
lea eax, [ebp - 4]
call fcn.00403540
ret
Function at 0x404254
Capabilities:
Copy file
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x404409
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x110]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 8]
call fcn.004041d8
lea eax, [ebp - 0x10c]
mov edx, 0x104
call fcn.00403e40
push 0x104
lea eax, [ebp - 0x10c]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 4]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.00403690
mov eax, dword [ebp - 4]
call fcn.004036a8
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x404308
lea eax, [ebp - 4]
mov edx, 0x404420
call fcn.004036b0
xor eax, eax
push ebp
push 0x4043a4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x114]
mov ecx, 0x40442c
mov edx, dword [ebp - 4]
call fcn.004036f4
mov eax, dword [ebp - 0x114]
call fcn.004038a8
push eax
lea edx, [ebp - 0x118]
xor eax, eax
call fcn.00402ad4
mov eax, dword [ebp - 0x118]
call fcn.004038a8
push eax
call sub.kernel32.dll_CopyFileA
push 0
lea eax, [ebp - 0x11c]
mov ecx, 0x404448
mov edx, dword [ebp - 4]
call fcn.004036f4
mov eax, dword [ebp - 0x11c]
call fcn.004038a8
push eax
lea eax, [ebp - 0x120]
mov ecx, 0x404448
mov edx, dword [ebp - 8]
call fcn.004036f4
mov eax, dword [ebp - 0x120]
call fcn.004038a8
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4043ae
push 0
push 0x404464
push dword [ebp - 4]
push 0x404448
lea eax, [ebp - 0x124]
mov edx, 3
call fcn.00403768
mov eax, dword [ebp - 0x124]
call fcn.004038a8
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404410
lea eax, [ebp - 0x124]
mov edx, 6
call fcn.00403564
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403564
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
call fcn.10006e80
xor ecx, ecx
mov dword [0x1010b0b8], 0x1b1e
mov edx, ecx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
jmp 0x100068d9
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
lea edx, section..data
imul esi, eax, 0xf4
mov edi, edx
add edi, esi
add edi, 0xac
mov esi, dword [edi]
imul edi, eax, 0xf4
mov ebx, edx
add ebx, edi
add ebx, 0x44
mov edi, dword [ebx]
imul ebx, eax, 0xf4
add edx, ebx
add edx, 0x48
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x48]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edx
call fcn.10007770
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
add eax, ecx
mov edx, dword [ebp - 0x4c]
add edx, 1
cmp edx, 0x348
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], edx
je 0x100069ae
jmp 0x10006850
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
lea edx, section..data
imul esi, eax, 0xf4
mov edi, edx
add edi, esi
add edi, 0xac
mov esi, dword [edi]
imul edi, eax, 0xf4
add edx, edi
add edx, 0x48
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x348
mov ecx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jne 0x100068d9
lea eax, [0x100088c1]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x1010b0b4], 0x1776
mov dword [0x1010b0b8], 0xc6
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x60], ecx
call fcn.10006c90
mov dword [0x1010b0b4], 0x1384
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.100077e0
mov ecx, eax
mov dword [0x1010b0cc], eax
mov eax, esp
mov edx, dword [ebp - 0x58]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], ecx
jmp 0x10006850
mov eax, dword [0x1010b0b8]
add eax, 0x94d
mov dword [0x1010b0b4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x58]
mov dword [esp + 8], ecx
call fcn.10007090
xor eax, eax
mov ecx, dword [ebp - 0x48]
add ecx, 0x1113c2
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov dword [0x1010b0b8], 0x8b1
mov dword [edx + 4], 0x12b000
mov ecx, dword [ebp - 0x48]
add ecx, 0xfa30e
mov dword [edx + 8], ecx
mov dword [0x1010b0b4], 0x1192
mov dword [edx + 0xc], 0x20c0
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006d20
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10006d20]
mov dword [0x1010b0b4], 0xd00
mov dword [ebp - 4], eax
jmp 0x10006d4b
mov eax, dword [ebp - 8]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 8], eax
jne 0x10006d3b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x10006d3b
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret

Function at 0x10007130
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1010b0c0], 0
mov byte [0x1010b0c4], 0
mov esi, dword [0x1010b0b4]
add esi, 0x12cd
mov dword [0x1010b0b8], esi
mov dword [0x1010b0bc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov eax, dword [0x1010b0b8]
add eax, 0xffffe52f
mov dword [0x1010b0b4], eax
mov eax, dword [0x1010b0bc]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1010b0bc]
add eax, 1
mov dword [0x1010b0bc], eax
cmp eax, 0x100
jl 0x10007178
xor eax, eax
mov dword [0x1010b0bc], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, 0x100
mov edx, dword [0x1010b0c0]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
idiv ecx
mov dword [0x1010b0c0], edx
mov ecx, dword [0x1010b0bc]
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x1010b0c4], bl
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov dword [0x1010b0b4], 0x7df
mov bl, byte [0x1010b0c4]
mov ecx, dword [0x1010b0c0]
mov byte [edi + ecx], bl
mov ecx, dword [0x1010b0bc]
add ecx, 1
mov dword [0x1010b0bc], ecx
cmp ecx, 0x100
mov dword [ebp - 0x1c], ecx
jl 0x100071bb
mov dword [0x1010b0b4], 0x1852
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007810
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x1010b0b8], 0x24e4
mov dword [0x1010b0bc], 0
mov dword [0x1010b0c0], 0
mov dword [0x1010b0c8], 0
cmp eax, 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
je 0x1000794f
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x1010b0b4], 0x1b1
mov edx, dword [0x1010b0bc]
add edx, 1
mov dword [ebp - 0x24], eax
mov eax, edx
cdq
idiv ecx
mov dword [0x1010b0bc], edx
mov dword [0x1010b0b8], 0x96b
mov esi, dword [0x1010b0c0]
mov edi, dword [ebp - 0x1c]
movzx edx, byte [edi + edx]
add edx, esi
mov eax, edx
cdq
idiv ecx
mov dword [0x1010b0c0], edx
mov dword [0x1010b0b8], 0x986
mov ecx, dword [0x1010b0bc]
mov bl, byte [edi + ecx]
mov byte [0x1010b0c4], bl
mov dword [0x1010b0b4], 0x88d
mov ecx, dword [0x1010b0c0]
mov bl, byte [edi + ecx]
mov ecx, dword [0x1010b0bc]
mov byte [edi + ecx], bl
mov dword [0x1010b0b4], 0x1976
mov bl, byte [0x1010b0c4]
mov ecx, dword [0x1010b0c0]
mov byte [edi + ecx], bl
mov ecx, dword [0x1010b0bc]
movzx ecx, byte [edi + ecx]
mov edx, dword [0x1010b0c0]
movzx edx, byte [edi + edx]
add edx, ecx
and edx, 0xff
mov dword [0x1010b0c8], edx
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x24]
mov bl, byte [ecx + esi]
xor bl, byte [edi + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + esi], bl
add esi, 1
mov ecx, dword [ebp - 0x10]
cmp esi, ecx
mov dword [ebp - 0x20], esi
jne 0x10007869
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4de489
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1dd65f8
push eax
push dword fs:[0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x4de509
arpl word [edx + esi], si
invalid
mov gs, word [edi]
movsb byte es:[edi], byte [esi]
sbb al, 0x5e
leave
push ds
mov ss, word [0xe0a1d22e]
or al, 0xa9
sbb eax, 0x3f827276
salc
xchg ecx, eax
mov ah, byte [esi + 0x6d]
cmpsb byte [esi], byte es:[edi]
fadd qword [edi - 0x23]
mov dh, 0xb3
sub cl, byte [edx + 0x1c]
inc edi
cmp dword [0x616dd5cb], edx
std
ja 0x4de5aa
ret 0x9a99
movsb byte es:[edi], byte [esi]
popal
cli
and al, 0x7b
or eax, 0xdb047ef9
pushfd
bound ebx, qword [esi + 0x7e]
salc
cmp eax, 0x3dd3a02c
in eax, 0x11
lcall 0x143d, 0xa2d04b2f
loop 0x4de617
shl byte [edx - 0x1d98ebc3], 1
dec ebp
fidivr word [edi]
push ebp
mov dword [0xd8e8ee06], eax
bound ecx, qword [ecx]
dec eax
cmp ch, bh
sub al, 0x5f
add ah, al
int 0x6f
sbb byte [edx - 0xa], 0xe8
stosd dword es:[edi], eax
sar dword cs:[ecx - 0x20], 1
cmp esp, eax
jecxz 0x4de5c3
adc al, 0x6c
xlatb
inc edi
pop edi
push ss
invalid
push 0xdb79e9f
adc dword [ecx + 0x57], esi
popfd
insd dword es:[edi], dx
add byte [ebx + 0x42e994e], cl
mov cl, ch
mov ah, pe_nt_image_headers32
dec ecx
in al, dx
inc esi
pushal
mov word [ecx + 0x1b], cs
sub al, 0xd8
enter 0x5fb1, 0x36
mov esp, 0xf27369c0
mov al, byte [0x976a9bca]
popal
add eax, 0x4cb26289
imul ebx, dword [ebx - 0x10b92dcf], 0xffffffd1
mov ebx, edx
sub al, 0xab
mov al, byte [0x87a3a1dd]
salc
invalid
Function at 0x10001420
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x1000145c
mov eax, dword [section.L_sectio]
test eax, eax
jne 0x10001457
mov eax, dword [0x1000decc]
push 0
push eax
push 0x100011b0
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [section.L_sectio], eax
je 0x10001457
mov eax, 1
ret 4
xor eax, eax
ret 4
mov ecx, dword [section.L_sectio]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
ret 4

Function at 0x100015f0
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
mov eax, 0x402c
call fcn.10007900
mov ecx, dword [esp + 0x4030]
push edi
lea eax, [esp + 0x10]
push 0x20
push eax
push ecx
call fcn.10001750
mov edx, dword [esp + 0x4044]
add esp, 0xc
test edx, edx
je 0x10001662
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
push 0x2000
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x2034]
push ecx
push eax
push edx
call fcn.10001720
add esp, 0x10
lea ecx, [esp + 0x2030]
lea edx, [esp + 0x10]
lea eax, [esp + 0x30]
push ecx
push edx
push str.1_s_s_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
jmp 0x1000167a
lea ecx, [esp + 0x10]
lea edx, [esp + 0x30]
push ecx
push str.1_s_
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [0x1000df28]
test eax, eax
jne 0x100016b9
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x1000d020]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0
push ecx
lea ecx, [esp + 0x38]
push ecx
push edx
call dword [sym.imp.WS2_32.dll_send]
pop edi
add esp, 0x402c
ret
lea eax, [esp + 0x30]
lea edi, [esp + 0x30]
mov dword [esp + 8], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x1000dddc]
repne scasb al, byte es:[edi]
mov eax, dword [0x1000dde0]
not ecx
dec ecx
mov dword [esp + 4], ecx
mov ecx, dword [0x1000ddd8]
push ecx
mov ecx, dword [0x1000dde4]
push edx
push eax
push ecx
mov ecx, dword [0x1000d020]
lea edx, [esp + 0x1c]
push 0
push edx
lea eax, [esp + 0x1c]
push 1
push eax
push ecx
call dword [0x1000de44]
mov eax, 1
pop edi
add esp, 0x402c
ret