joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e08bd59
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x2e111974], 0x80
mov eax, dword [ebp + 8]
jne 0x2e08bd84
add eax, 0x42
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x2e08bdb3
push esi
push 0
lea esi, [eax + 0x42]
push 0x20a
lea eax, [ebp - 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push eax
push esi
call fcn.2e07ddf3
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
test eax, eax
je 0x2e08bdbb
xor eax, eax
jmp 0x2e08bdc7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.2e08b9ca
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.2e01bfc6
leave
ret 4

Function at 0x2e08c082
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x2e109148]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, eax
mov edi, 0x20a
xor ebx, ebx
push edi
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push ebx
push eax
mov dword [ebp - 0x420], ebx
call fcn.2e01b598
add esp, 0xc
cmp esi, ebx
je 0x2e08c101
cmp word [esi + 0x40], bx
jne 0x2e08c19a
test byte [0x2e111974], 0x80
jne 0x2e08c114
lea edi, [esi + 0x42]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push edi
push 1
push 0x2e008318
push edi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push edi
call fcn.2e02338b
mov word [esi + 0x40], ax
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e01bfc6
leave
ret 4
push 0x209
lea eax, [ebp - 0x20f]
push ebx
push eax
mov byte [ebp - 0x210], bl
call fcn.2e01b598
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x210]
push eax
push 1
push 0x2e008314
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
lea eax, [ebp - 0x210]
push eax
call fcn.2e07e06b
mov edi, eax
lea eax, [esi + 0x42]
xor ecx, ecx
mov word [eax], cx
mov word [esi + 0x40], cx
cmp eax, ebx
je 0x2e08c101
mov ecx, 0x105
cmp edi, ecx
jae 0x2e08c101
push ebx
push ecx
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.2e07de85
test eax, eax
je 0x2e08c101
mov word [esi + 0x40], di
jmp 0x2e08c101
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
sar edi, 2
and edi, 0xfff
add edi, 6
push edi
lea eax, [ebp - 0x41c]
push 0x2e0082f8
push eax
call fcn.2e07e5d3
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
push esi
call fcn.2e08be8b
push ebx
push esi
inc edi
call fcn.2e08babe
mov ebx, 0x80030002
jmp 0x2e08c21b
mov eax, dword [ebp - 0x420]
inc dword [ebp - 0x420]
cmp eax, 0x64
jg 0x2e08c224
push edi
lea eax, [ebp - 0x41c]
push 0x2e0082f8
push eax
call fcn.2e07e5d3
add esp, 0xc
lea eax, [ebp - 0x41c]
push eax
push esi
call fcn.2e08be8b
push 0
push esi
inc edi
call fcn.2e08babe
cmp eax, ebx
jne 0x2e08c1df
jmp 0x2e08c101
mov eax, 0x80043000
jmp 0x2e08c103
Function at 0x2e0bfbb8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0x14]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.2e0bfb50
mov eax, dword [esi + 0x2c]
cdq
mov ecx, 0x708
idiv ecx
test edx, edx
jne 0x2e0bfc34
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
sub eax, esi
test eax, eax
jle 0x2e0bfc82
mov ebx, dword [ebp - 8]
mov edi, dword [ebp + 0x10]
sub ebx, dword [ebp - 0x10]
sub edi, esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0xcc0020
push esi
push dword [ebp - 0x10]
lea ecx, [esi + edi]
push eax
push 1
push ebx
push esi
test cl, 1
push 0
pop ecx
sete cl
lea ecx, [ecx + ecx - 1]
add ecx, dword [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
dec dword [ebp + 0x10]
jne 0x2e0bfbfe
jmp 0x2e0bfc82
mov eax, dword [ebp - 8]
mov esi, dword [ebp - 0x10]
sub eax, esi
test eax, eax
jle 0x2e0bfc82
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
sub ebx, dword [ebp - 0xc]
sub edi, esi
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push 0xcc0020
push dword [ebp - 0xc]
lea ecx, [esi + edi]
push esi
push eax
push ebx
push 1
push 0
test cl, 1
pop ecx
sete cl
lea ecx, [ecx + ecx - 1]
add ecx, dword [ebp - 0xc]
push ecx
push esi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
inc esi
dec dword [ebp + 0x10]
jne 0x2e0bfc4e
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x2e0cf52e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x14], 0
je 0x2e0cf558
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
sub ecx, eax
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [ecx + eax]
dec dword [ebp + 0x14]
mov byte [eax], dl
inc eax
cmp dword [ebp + 0x14], 0
jne 0x2e0cf545
pop esi
pop ebp
ret 0x10
Function at 0x2e0ec550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [edi + 0x1c]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push dword [edi + 0x28]
push dword [esi + 8]
call fcn.2e0fa89b
cmp dword [ebp - 8], 0
je 0x2e0ec58a
push dword [ebp + 0x14]
mov eax, edi
push 0
push ebx
call fcn.2e0ec415
jmp 0x2e0ec6dd
mov eax, dword [ebp + 0x14]
mov dword [eax], 3
mov eax, dword [ebp + 8]
lea ebx, [ebp + 0x14]
call fcn.2e0ebf8f
test eax, eax
jne 0x2e0ec6dd
mov ebx, dword [ebp + 0x14]
push 0xa
pop eax
mov word [ebx + 0x10], ax
mov eax, dword [ebp + 8]
mov dword [ebx + 4], eax
mov eax, dword [edi + 0x28]
mov dword [ebx], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 8], eax
or word [ebx + 0x12], 0x10
test byte [esi + 0xb8], 2
movzx eax, word [ebp + 0xc]
jne 0x2e0ec5da
movzx eax, word [esi + 0xc8]
cmp dword [esi + 0xa0], 0
mov dword [ebp + 0x14], eax
je 0x2e0ec64e
lea eax, [ebp - 4]
push eax
push dword [edi + 0x14]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
push esi
call fcn.2e0fa0cf
test eax, eax
jne 0x2e0ec6dd
test byte [edi + 0x14], 2
je 0x2e0ec615
push dword [esi + 0xac]
push dword [esi + 0xb4]
jmp 0x2e0ec621
push dword [esi + 0xa8]
push dword [esi + 0xb0]
push dword [ebp - 4]
call fcn.2e0f4981
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x10]
mov dx, word [ebp + 0x14]
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [ecx + eax*2], dx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0x14]
mov ecx, dword [ecx + 0x14]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
jmp 0x2e0ec655
mov dword [ebp + 0xc], 1
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dx, word [ebp + 0x14]
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x1c]
mov ecx, dword [ebp + 0xc]
mov dword [edx + eax*4], ecx
and dword [esi + 0x78], 0
inc dword [esi + 0x14]
mov eax, dword [esi + 0x14]
mov dword [ebx + 0xc], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 0x34]
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x44]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], eax
test dword [esi + 0xb8], 0x4000
jne 0x2e0ec6ba
mov eax, SysReAllocString
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
push dword [ebp + 0x10]
push dword [edi + 0x28]
push dword [esi + 8]
call fcn.2e0fab59
lea eax, [ebp - 0x28]
push eax
push ebx
push dword [edi + 0x18]
push dword [edi + 0x1c]
push 1
push dword [esi + 8]
call fcn.2e0e6dea
pop esi
pop ebx
leave
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1614c
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
push edi
xor ebx, ebx
push ebx
push 0xa
push ebx
call esi
mov edi, eax
lea eax, [ebp - 4]
push eax
push ebx
push edi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
push ebx
push edi
cmp eax, 0xc0000004
jne 0x161ec
mov edi, dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
call edi
push ebx
push dword [ebp - 4]
push ebx
call esi
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, ebx
je 0x161f2
push ebx
push dword [ebp - 4]
push esi
push 5
call sub.ntoskrnl.exe_ZwQuerySystemInformation
test eax, eax
jge 0x161ab
push ebx
push esi
call edi
jmp 0x161f2
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov eax, esi
add eax, 0x38
jmp 0x161ca
mov eax, dword [esi]
cmp eax, ebx
je 0x161e0
add esi, eax
lea eax, [esi + 0x38]
push 1
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlCompareUnicodeString]
test eax, eax
jne 0x161bf
mov esi, dword [esi + 0x44]
jmp 0x161e2
mov esi, ebx
push ebx
push dword [ebp - 8]
call edi
mov eax, esi
jmp 0x161f4
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x16200
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3c]
mov edx, dword [ebp + 0xc]
add eax, ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
cmp edx, dword [ecx + 0xc]
jae 0x16221
mov eax, edx
jmp 0x1624c
push ebx
push esi
movzx esi, word [eax + 6]
push edi
xor edi, edi
test esi, esi
jbe 0x16246
mov eax, dword [ecx + 0xc]
cmp edx, eax
jb 0x1623e
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edx, ebx
jb 0x16250
add ecx, 0x28
inc edi
cmp edi, esi
jb 0x1622e
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x16249

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10025c73
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10025c82
pop dword [ebp - 0x38]
mov eax, 0x10025c82
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xa8009119
add dword [ebp - 0x48], 0xa651b432
mov dword [ebp - 0x44], 0x7f5ce604
add dword [ebp - 0x44], 0xb2d66641
mov dword [ebp - 0x40], 0x30a4c1e0
add dword [ebp - 0x40], 0x1ba7824e
mov dword [ebp - 0x3c], 0xf8073c92
add dword [ebp - 0x3c], 0x7f8c36e
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x20e5352f
sub dword [ebp - 0x48], 0xac72cbd9
mov dword [ebp - 0x44], 0xf142fc5
add dword [ebp - 0x44], 0x325831b0
mov dword [ebp - 0x40], 0xddf78c65
add dword [ebp - 0x40], 0x8577e007
mov dword [ebp - 0x3c], 0x65546fde
sub dword [ebp - 0x3c], 0x65546fde
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xfb9c5a46
add eax, 0x1466f71e
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x385ee
push 0
call eax
mov ecx, 0xb8c094e9
sub ecx, 0xb8c057df
xor esi, esi
add esi, eax
mov edx, 0x10088400
add edx, dword [ebp - 0x38]
mov edi, 0xd0a89dcf
sub edi, 0xbb1a5b2f
xor dword [ebp - 4], edi
mov ebx, dword [edx]
sub dword [ebp - 8], 0xcc1ff9ee
sub ebx, edi
mov dword [esi], ebx
mov dword [ebp - 0x28], 0xd170323e
add esi, 4
add edx, 4
loop 0x10025d96
add eax, 0x8609cb4c
add eax, 0x79f71baf
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x57dcad
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x5b6f90
call fcn.00562c0c
sub esp, 0x198
mov eax, dword [0x63c8b0]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
xor eax, ebp
push 0x57bbd5
mov ecx, 0x7e3758
mov dword [ebp - 0x10], eax
call fcn.0057c842
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x57dd11
cmp esi, ebx
jne 0x57dcef
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x57dd43
cmp byte [esi], 1
jne 0x57dd3d
cmp byte [esi + 1], 1
jne 0x57dd3d
mov dword [edi + 0xc], 0x57dc7a
call fcn.0057b347
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x57dd50
push 0x1c
call fcn.005719e2
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x57dd47
push 0xa
call fcn.00571840
jmp 0x57dd49
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x57ddb3
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x57dd82
push 0x1c
call fcn.005719e2
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x57dd79
push 0xa
call fcn.00571840
jmp 0x57dd7b
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x57ddb0
push 0x1c
call fcn.005719e2
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x57ddab
push 0xa
call fcn.00571388
jmp 0x57ddad
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.00562b6e
leave
ret 4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x41ff02
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x41ff11
pop dword [ebp - 0x2c]
mov eax, 0xa87224b9
add eax, 0x57cfda58
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0x15d7622c
sub dword [ebp - 0x3c], 0xc7851ce1
mov dword [ebp - 0x38], 0x33c26a42
add dword [ebp - 0x38], 0xfe70e203
mov dword [ebp - 0x34], 0x5b1b88f4
sub dword [ebp - 0x34], 0xecf44c6
mov dword [ebp - 0x30], 0xf16eec04
sub dword [ebp - 0x30], 0xf16eec04
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x573b284c
sub eax, 0x56f8f7d8
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x19d2781a
add dword [ebp - 0x3c], 0x5a9ff13c
mov dword [ebp - 0x38], 0x1a137101
sub dword [ebp - 0x38], 0xd8a70f8c
mov dword [ebp - 0x34], 0xe46d15da
sub dword [ebp - 0x34], 0x80fda96e
mov dword [ebp - 0x30], 0x7278e0d0
sub dword [ebp - 0x30], 0x7278e0d0
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, 0xd5a8bd0b
add eax, 0x2a997419
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x3ad0b
push 0
call eax
mov ecx, 0xf9690025
sub ecx, 0xf968c3ba
mov ebx, eax
mov edi, 0xdc19e055
sub edi, 0xdbd69c55
add edi, dword [ebp - 0x2c]
mov edx, 0x98590e77
add edx, 0x2f38eecd
xor dword [ebp - 8], eax
mov esi, dword [edi]
sub dword [ebp - 0x28], 0xd70103c5
xor esi, edx
add dword [ebp - 8], 0x41800797
mov dword [ebx], esi
add ebx, 0xabaf9bee
sub ebx, 0xabaf9bea
add edi, 0x9f667ffb
sub edi, 0x9f667ff7
loop 0x420033
add eax, 0xe47f
xor ebx, ebx
add ebx, eax
add eax, 0xf39714c3
sub eax, 0xf39714be
mov ecx, 0x250066ee
add ecx, 0xdb3f9912
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x413820
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4924bb
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.00484784
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4138a2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00481f3d
mov eax, dword [eax]
push 0x6b7210
push eax
call fcn.00473f44
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00484a0f
test bl, bl
je 0x4138a2
push 0x6b7210
lea ecx, [esp + 0xc]
call fcn.00484deb
push 0x6bada0
lea ecx, [esp + 0xc]
call fcn.00484deb
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 0x4138de
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00484a0f
jmp 0x4139a9
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 0x413962
lea edx, [esp + 0x7c]
push 0x6bad9c
push edx
call fcn.00473f44
add esp, 8
test eax, eax
je 0x413962
lea eax, [esp + 0x7c]
push 0x6bad98
push eax
call fcn.00473f44
add esp, 8
test eax, eax
je 0x413962
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 0x4138f2
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.00484a0f
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 0x414c20
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 0x414c82
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 0x414c90
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49261b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6c2420]
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 0x414dc8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x414cf6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484a0f
xor eax, eax
jmp 0x414e3f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00484b98
push esi
lea ecx, [esp + 0xc]
call fcn.00484e27
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 0x414e1d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.00414c20
test eax, eax
jne 0x414e1d
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.00414c20
test eax, eax
jne 0x414e1d
lea eax, [esp + 0x14]
push 0x6badb4
push eax
call fcn.00475020
mov esi, eax
add esp, 8
test esi, esi
jne 0x414dfc
lea ecx, [esp + 0x14]
push 0x6badb0
push ecx
call fcn.00474fa0
mov esi, eax
add esp, 8
test esi, esi
jne 0x414dfc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x414dff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00484b48
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x414d0e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00484a0f
xor eax, eax
jmp 0x414e3f
mov byte [esi], 0
push 0x6badac
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.00484a0f
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 0x428900
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 0x42896e
cmp si, 0x69
ja 0x42896e
add esi, 0xffd0
cmp si, 0x11
je 0x42893e
push 0x11
call edi
test ax, ax
jge 0x42893e
or esi, 0x2000
cmp si, 0x10
je 0x428953
push 0x10
call edi
test ax, ax
jge 0x428953
or esi, 0x4000
cmp si, 0x12
je 0x428968
push 0x12
call edi
test ax, ax
jge 0x428968
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42897b
mov esi, 0xbd
jmp 0x42892f
cmp si, 0x6e
jne 0x428988
mov esi, 0xbe
jmp 0x42892f
cmp si, 0x6f
jne 0x428929
mov esi, 0xbf
jmp 0x42892f

Function at 0x42a0b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6d3290]
xor edx, edx
cmp eax, edx
jne 0x42a0d6
xor eax, eax
mov byte [eax + 0x6d3190], al
inc eax
cmp eax, 0x100
jl 0x42a0be
mov dword [0x6d3290], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6d3190
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x42a167
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 0x42a13a
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 0x42a108
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x42a1e0
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 0x42a233
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 0x42a21a
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