joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e6f20
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4e6f87
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 8]
call fcn.00405140
push edi
mov eax, dword [ebp - 8]
call fcn.00404fb4
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404b48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e6f8e
lea eax, [ebp - 8]
call fcn.00404af4
ret

Function at 0x4ebb88
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push pe_nt_image_headers32
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ebc12
xor edx, edx
push ebp
push 0x4ebbf3
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ebc12
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4efac4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4efaf2
mov eax, ebx
call fcn.004f0578
cmp dword [ebx + 0x40], 0
je 0x4efaeb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4efb63
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4efb55
cmp dword [ebx + 8], 0
je 0x4efb14
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4efb26
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4efb55
cmp dword [ebx + 8], 0
je 0x4efb07
cmp eax, 3
je 0x4efb39
dec eax
jne 0x4efb07
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 0x4efb07
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4efb07
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4efb81
cmp dword [ebx + 0x14], 0xcc
je 0x4efb81
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004efb8c
pop ebx
ret
Function at 0x5003bc
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
mov eax, dword [ebp - 8]
call fcn.00404fa4
mov eax, dword [ebp - 0xc]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x5004eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 2
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404fb4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, dword [ebp - 0xc]
call fcn.00404fb4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0xc]
call fcn.00437a4c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404fb4
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x5004d0
xor eax, eax
push ebp
push 0x5004c9
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
push 0
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x5004a9
push 0
push 0
push 0x25
push 0
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x5004ad
xor eax, eax
jmp 0x5004af
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5004d0
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5004f2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b18
ret
Function at 0x5004fc
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404fa4
mov eax, dword [ebp - 8]
call fcn.00404fa4
mov eax, dword [ebp - 0xc]
call fcn.00404fa4
mov eax, dword [ebp + 0xc]
call fcn.00404fa4
xor eax, eax
push ebp
push 0x500666
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00404fb4
mov esi, eax
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 3
mov eax, 0x500678
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404fb4
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x500643
xor edx, edx
push ebp
push 0x50063c
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404fb4
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404fb4
push eax
mov ax, word [ebp + 8]
push eax
push esi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x500625
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x50061c
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x500620
xor eax, eax
jmp 0x500622
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500643
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50066d
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404b18
lea eax, [ebp + 0xc]
call fcn.00404af4
ret
Function at 0x500680
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x500748
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x50074c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x500748
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x50073f
xor eax, eax
push ebp
push 0x500738
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50073f
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
mov al, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x5009b8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x500bcc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x105
mov eax, dword [ebp - 0x18]
call fcn.00402acc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x500a36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x500a20
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
call fcn.00404cec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500a3d
mov eax, dword [ebp - 8]
call fcn.00402aec
ret

Function at 0x501f98
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.0040344c
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x501fd2
cmp byte [ebp - 0xa], 0x31
jne 0x501fd0
mov bl, 1
jmp 0x501fd2
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5036f8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004684d8
test al, al
je 0x5037b6
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount_1
mov dword [ebp - 8], eax
jmp 0x503794
cmp word [esi + 0x5f2], 0
je 0x503749
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x5f4]
call dword [esi + 0x5f0]
mov al, byte [esi + 0x5e8]
or al, byte [ebp - 9]
jne 0x50376b
cmp dword [ebp - 4], 0
jbe 0x503767
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x50376b
xor ebx, ebx
jmp 0x50376d
mov bl, 1
test bl, bl
jne 0x5037b6
mov eax, dword [0x5547c0]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
jne 0x5037b6
mov eax, dword [0x5547c0]
mov eax, dword [eax]
call fcn.00481e78
push 1
call sub.kernel32.dll_Sleep_1
test esi, esi
je 0x5037b6
cmp byte [esi + 0x588], 0
jne 0x5037b6
mov edx, 0xfffffdf3
mov eax, esi
call fcn.004e24c0
cmp eax, 4
jne 0x503726
mov byte [esi + 0x5e8], 0
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x505f9c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x505fed
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x505fd4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x505fc4
jmp 0x505fed
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x505fd5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x518968
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov bl, byte [0x5189a0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51897e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51898d
or bl, 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x51899c
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x54ca8c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 1], 0
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4dee84]
call fcn.004df00c
mov ebx, eax
mov dword [ebx + 0x78], 0x2710
lea eax, [ebx + 0x70]
mov edx, 0x54cb4c
call fcn.00404b48
xor eax, eax
push ebp
push 0x54caed
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, ebx
call fcn.004df418
cmp byte [ebx + 0x8a1], 0
jne 0x54cae3
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54caf7
cmp byte [ebp - 1], 0
jne 0x54cb3a
xor eax, eax
push ebp
push 0x54cb30
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 7
push 0
lea eax, [ebp - 8]
push eax
call sub.wininet.dll_InternetGetConnectedState
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54cb3a
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4013d4
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4140e0
push ebx
mov ebx, dword [esp + 0xc]
push edi
xor edi, edi
test ebx, ebx
je 0x414327
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
nop dword [eax]
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x1b
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x4c
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xad
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x78
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x62
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x45
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x8c
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x3e
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xc0
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x5b
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x78
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x91
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
xor byte [edi + ebp], 0xf3
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0x26
push str.Aristo_Halloween_Beats
push 0x50b590
call fcn.00402e37
push eax
call fcn.0040632f
add esp, 0xc
push 0
push 0
push 0
call esi
add byte [edi + ebp], 0xe9
inc edi
cmp edi, ebx
jb 0x414100
pop esi
pop ebp
pop edi
pop ebx
ret

Function at 0x4036f2
Capabilities:
Terminate process

Disassembly:
jmp 0x454de9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x454dfa
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405af6
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret
Function at 0x46b570
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f299b
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.004e521d
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x46b5f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004e2a77
mov eax, dword [eax]
push 0x580234
push eax
call fcn.004d0744
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004e54a8
test bl, bl
je 0x46b5f2
push 0x580234
lea ecx, [esp + 0xc]
call fcn.004e5884
push 0x583d90
lea ecx, [esp + 0xc]
call fcn.004e5884
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 0x46b62e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004e54a8
jmp 0x46b6f9
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 0x46b6b2
lea edx, [esp + 0x7c]
push 0x583d8c
push edx
call fcn.004d0744
add esp, 8
test eax, eax
je 0x46b6b2
lea eax, [esp + 0x7c]
push 0x583d88
push eax
call fcn.004d0744
add esp, 8
test eax, eax
je 0x46b6b2
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 0x46b642
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.004e54a8
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 0x46bef0
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 0x46bf52
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 0x46bf60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4f2a1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x58e030]
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 0x46c098
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x46bfc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e54a8
xor eax, eax
jmp 0x46c10f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004e5631
push esi
lea ecx, [esp + 0xc]
call fcn.004e58c0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x583dc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x46c0ed
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0046bef0
test eax, eax
jne 0x46c0ed
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.0046bef0
test eax, eax
jne 0x46c0ed
lea eax, [esp + 0x14]
push 0x583da4
push eax
call fcn.004d1920
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c0cc
lea ecx, [esp + 0x14]
push 0x583da0
push ecx
call fcn.004d18a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x46c0cc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x46c0cf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004e55e1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x46bfde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004e54a8
xor eax, eax
jmp 0x46c10f
mov byte [esi], 0
push 0x583d9c
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.004e54a8
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 0x47e2e0
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 0x47e34e
cmp si, 0x69
ja 0x47e34e
add esi, 0xffd0
cmp si, 0x11
je 0x47e31e
push 0x11
call edi
test ax, ax
jge 0x47e31e
or esi, 0x2000
cmp si, 0x10
je 0x47e333
push 0x10
call edi
test ax, ax
jge 0x47e333
or esi, 0x4000
cmp si, 0x12
je 0x47e348
push 0x12
call edi
test ax, ax
jge 0x47e348
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x47e35b
mov esi, 0xbd
jmp 0x47e30f
cmp si, 0x6e
jne 0x47e368
mov esi, 0xbe
jmp 0x47e30f
cmp si, 0x6f
jne 0x47e309
mov esi, 0xbf
jmp 0x47e30f

Function at 0x47fe40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x59f920]
xor edx, edx
cmp eax, edx
jne 0x47fe66
xor eax, eax
mov byte [eax + 0x59f820], al
inc eax
cmp eax, 0x100
jl 0x47fe4e
mov dword [0x59f920], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x59f820
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x47fef7
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 0x47feca
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 0x47fe98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x47ff70
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 0x47ffc3
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 0x47ffaa
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