joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10011990
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10011806

Function at 0x1001e240
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001e26d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001e26d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4153e0
Capabilities:
Encode data using xor

Disassembly:
pop eax
xchg esp, eax
mov eax, 0xb8945867
pop eax
xchg esp, eax
mov eax, 0xb8949b67
pop eax
xchg esp, eax
mov eax, 0xb8945867
pop eax
xchg esp, eax
mov eax, 0xd814f867
pop eax
mov byte ss:[edi], dl
sbb dword [ebx + edi*2 - 0x476ba799], edx
or eax, 0x1dec5d1d
pushfd
xor esp, dword [edx]
push esp
pop ds
in eax, dx
ja 0x415365
test eax, 0x94190668
mov eax, 0x40171f12
pop ds
pop ss
inc eax
sub dl, dh
cmp ecx, dword [edi - 0x1b4b1fa7]
mov al, 0x95
int3
jg 0x415354
invalid
pop ecx
jl 0x4153b5
xor dword [edi - 0x588cac95], esp
mov eax, dword [0x94190ed8]
push eax
jp 0x4153b7
push 0x47
loop 0x41536d
loopne 0x415394
invalid
or eax, 0x5da15d1d
je 0x4153c0
pop eax
xchg ebp, eax
sal byte [edi + 0xdb8dfda], 1
scasb al, byte es:[edi]
jl 0x4153d5
invalid

Function at 0x430002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..idata
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x530f3989
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x6a3e2f1e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1010f000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax + 0x108247c], al
cmp byte [esp + 8], 1
cmp byte [esp + 8], 1
jne 0x1011e946
pushal
inc ecx
inc edi
shr di, 0x5a
cld
call int.1010f021
invalid
Function at 0x46922f
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4692a8
aaa
stosb byte es:[edi], al
mov bl, 0x39
xor byte [esi + ebx + 0x742f386a], 0xd4
lds ecx, [edi]
xchg edi, eax
or al, 0xa
mov bh, 0x37
dec esi
ror dword [ebx], 0x8a
push edi
push 0x68
dec esp
jae 0x469317
test dword [ebp + 0x58], ebx
pop ebp
xchg edx, eax
pop ebp
popal
mov cl, 0xc5
inc esp
push eax
mov al, byte [0x675b996a]
cwde
and bh, bh
fsubp st(6)
cmp byte [ebx + 0x1c], ah
aaa
pop ecx
das
mov dword [0xb84360b8], eax
add eax, 0xaf8feb15
nop
pushal
inc edx
test byte [ebp - 0x2e], ch
aam 0x88
int1
xor ebp, eax
je 0x4692bc
or cl, byte [edx - 0xab80be9]
cwde
and ecx, eax
push esi
and al, 0xcf
sal dword [ecx - 0x54], 1
cmp dword [esi - 0x36], esi
ror byte [esp + edi*8], 0x46
iretd
or edx, dword [ecx]
out dx, eax
sbb al, 0xd4
mov edx, 0x19927878
xchg dword fs:[esi + 0x4c], edi
imul edi, edi, 6
mov cl, bl
mov ebp, 0x9ae3ac64
daa
fistp word [ebx - 0x1386b06a]
leave
mov dword [edx], 0xd652331d
mov al, byte [0xec189607]
mov bl, al
pop esp
ror byte [esi], cl
xor byte [ebp - 0x4d], dl
jnp 0x469317
and byte [ecx - 0x6b], 0x3b
xchg esp, eax
lea ebp, [ecx]
sbb ch, byte [eax]
adc dword [edx - 0x5357d68f], esi
out dx, eax
add al, 0x5a
mov bl, 0x40
xlatb
invalid
Function at 0x1001c4c
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x10050f8
push 0x7d0
push esi
call fcn.01001bd1
test eax, eax
jl 0x1001d00
push edi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [ebp - 8], eax
mov eax, esi
lea edx, [eax + 2]
xor edi, edi
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x1001c86
push dword [ebp - 8]
sub eax, edx
sar eax, 1
mov dword [ebp - 4], eax
call fcn.01001a25
test eax, eax
je 0x1001cb7
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push esi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
jmp 0x1001cff
mov eax, dword [ebp - 4]
push ebx
add eax, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
cmp ebx, edi
je 0x1001cfe
mov eax, dword [ebp - 4]
push edi
push edi
lea ecx, [eax + eax]
push ecx
push ebx
push eax
push esi
push edi
push 1
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x1001cf7
push edi
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x1001efc
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
and dword [edi], 0
lea eax, [ebp - 0x20c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1001f3d
call fcn.01003b61
test eax, eax
jl 0x1001fb1
push 0x100126c
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001b5b
test eax, eax
jl 0x1001fb1
push ebx
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.01001b5b
test eax, eax
jl 0x1001fb1
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1001f6e
sub eax, edx
sar eax, 1
lea esi, [eax + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [edi], eax
test eax, eax
je 0x1001fac
lea ecx, [ebp - 0x20c]
push ecx
push esi
push eax
call fcn.01001b21
jmp 0x1001fb1
mov eax, 0x8007000e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01002fd7
leave
ret 8
Function at 0x44eba4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x458dd4]
cmp dword [eax + 0x30], 0
je 0x44ec4e
cmp dword [ebx + 0x94], 0
jne 0x44ec48
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44eb34
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44ec48
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44ec0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44ec48
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00415558
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44ec1d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f7ac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44f7e1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040492c
jmp 0x44f7ee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404890
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450900
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x450941
mov eax, esi
call fcn.00436fac
test al, al
je 0x450941
mov eax, dword [ebx + 0x84]
call fcn.00436cd4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x450941
push 0
mov eax, dword [ebx + 0x84]
call fcn.00436cd4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x40105b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x250
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
call ebx
push edx
mov dword [ebp - 0x228], eax
call esi
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x21c], 6
push ecx
push ecx
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x218], 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push esi
push esi
mov dword [esp + 4], 0x7f00
mov dword [esp], 0
mov dword [ebp - 0x220], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push edx
push edx
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x238]
mov dword [esp], eax
call dword [sym.imp.USER32.dll_RegisterClassW]
push ecx
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_LocalFree]
push esi
mov dword [esp], 0
call ebx
lea ebx, [ebp - 0x210]
push edx
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
push ecx
push ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x1a
mov dword [esp], 0
call dword [sym.imp.SHELL32.DLL_SHGetFolderPathW]
sub esp, 0x14
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x80000000
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebx - 5]
push esi
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x4012c8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0xa4
mov dword [ebp - 0x88], 1
call fcn.0040105b
test eax, eax
jne 0x401362
lea eax, [ebp - 0x8c]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], eax
mov eax, 0x402b7c
sub eax, 0x40211a
mov dword [esp], 0x40211a
mov dword [esp + 4], eax
mov dword [ebp - 0x8c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401362
lea ebx, [ebp - 0x88]
mov dword [esp], 0
jmp loc.004607c2
xor eax, eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x3613700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0361378f
jae 0x361370e
xor ecx, ecx
call fcn.0361378f
jae 0x361373d
xor eax, eax
call fcn.0361378f
jae 0x361374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0361378f
adc al, al
jae 0x361372f
jne 0x3613779
stosb byte es:[edi], al
jmp 0x3613711
call fcn.0361379b
sub ecx, ebx
jne 0x3613756
call fcn.03613799
jmp 0x3613775
lodsb al, byte [esi]
shr eax, 1
je 0x3613783
adc ecx, ecx
jmp 0x3613772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.03613799
cmp eax, 0x7d00
jae 0x3613772
cmp ah, 5
jae 0x3613773
cmp eax, 0x7f
ja 0x3613774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x3613711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x40deb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a1ab
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.0046e7fc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x40df32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c44d
mov eax, dword [eax]
push 0xd0e1e0
push eax
call fcn.0045f2c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046ea87
test bl, bl
je 0x40df32
push 0xd0e1e0
lea ecx, [esp + 0xc]
call fcn.0046ee17
push 0xd11d5c
lea ecx, [esp + 0xc]
call fcn.0046ee17
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 0x40df6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046ea87
jmp 0x40e039
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 0x40dff2
lea edx, [esp + 0x7c]
push 0xd11d58
push edx
call fcn.0045f2c4
add esp, 8
test eax, eax
je 0x40dff2
lea eax, [esp + 0x7c]
push 0xd11d54
push eax
call fcn.0045f2c4
add esp, 8
test eax, eax
je 0x40dff2
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 0x40df82
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.0046ea87
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 0x40e830
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 0x40e892
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 0x40e8a0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x47a22b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xd1db68]
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 0x40e9d8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40e906
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ea87
xor eax, eax
jmp 0x40ea4f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046ebc4
push esi
lea ecx, [esp + 0xc]
call fcn.0046ee53
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 0x40ea2d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.0040e830
test eax, eax
jne 0x40ea2d
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 accept
mov ecx, edi
call fcn.0040e830
test eax, eax
jne 0x40ea2d
lea eax, [esp + 0x14]
push 0xd11d70
push eax
call fcn.00460300
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ea0c
lea ecx, [esp + 0x14]
push 0xd11d6c
push ecx
call fcn.00460280
mov esi, eax
add esp, 8
test esi, esi
jne 0x40ea0c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40ea0f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046eb74
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40e91e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046ea87
xor eax, eax
jmp 0x40ea4f
mov byte [esi], 0
push 0xd11d68
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.0046ea87
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 0x4215d0
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 0x42163e
cmp si, 0x69
ja 0x42163e
add esi, 0xffd0
cmp si, 0x11
je 0x42160e
push 0x11
call edi
test ax, ax
jge 0x42160e
or esi, 0x2000
cmp si, 0x10
je 0x421623
push 0x10
call edi
test ax, ax
jge 0x421623
or esi, 0x4000
cmp si, 0x12
je 0x421638
push 0x12
call edi
test ax, ax
jge 0x421638
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x42164b
mov esi, 0xbd
jmp 0x4215ff
cmp si, 0x6e
jne 0x421658
mov esi, 0xbe
jmp 0x4215ff
cmp si, 0x6f
jne 0x4215f9
mov esi, 0xbf
jmp 0x4215ff

Function at 0x422cf0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0xd2e230]
xor edx, edx
cmp eax, edx
jne 0x422d16
xor eax, eax
mov byte [eax + 0xd2e130], al
inc eax
cmp eax, 0x100
jl 0x422cfe
mov dword [0xd2e230], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0xd2e130
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x422da7
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 0x422d7a
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 0x422d48
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x422e20
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 0x422e73
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 0x422e5a
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
Function at 0x429d10
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x429ea8
cmp ebp, ebx
jle 0x429ea8
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x429d6e
dec eax
or eax, 0xfffffff8
inc eax
je 0x429d75
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, reloc.WS2_32.dll_accept
jns 0x429d84
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x429d8b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0046e7c8
add esp, 4
cmp eax, ebx
je 0x429dac
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0046e7c8
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x429e9e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x429e85
mov al, byte [edx]
cmp al, 0xc0
jbe 0x429e71
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x429e66
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x429e74
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x429e74
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x429e10
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x429e01
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
Function at 0x42cee0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x47ba28
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
push edi
mov edi, dword [esp + 0x44]
mov esi, ecx
test edi, edi
jne 0x42cf19
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24
push 0x400
lea ecx, [esp + 0xc]
call fcn.00476175
mov eax, dword [esp + 0x40]
push 0
push edi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call fcn.004761c1
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x58]
push eax
mov eax, dword [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
push edx
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call fcn.0042cfa0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x38], 0xffffffff
call fcn.004761fe
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 0x24