joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a588
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404870
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.004032bc
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.00409d78
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47bb5c
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 [0x418104]
call fcn.0040537c
xor eax, eax
push ebp
push 0x47bca0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ae310], 0
jne 0x47bbaf
mov ecx, dword [0x4aef18]
mov dl, 1
mov eax, dword [0x4080a4]
call fcn.0040d2d4
call fcn.004042ac
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032bc
mov eax, ebx
call fcn.00405120
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47bcb0
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.004065a8
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405130
test eax, eax
jle 0x47bc47
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 0x47bc40
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404b08
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404af0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408fe4
test eax, eax
jne 0x47bc40
mov ebx, 0x15
jmp 0x47bc4c
mov ebx, 0x10
jmp 0x47bc4c
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 [0x4ae310]
call fcn.0047bab4
mov eax, dword [ebp - 8]
call fcn.0047bab4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47bca7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404894
lea eax, [ebp - 0x10]
mov edx, dword [0x418104]
call fcn.0040544c
ret

Function at 0x47fe08
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.0047f8a8
test byte [ebx + 0x23d], 4
jne 0x47fe9d
mov edx, esp
mov eax, ebx
call fcn.004409cc
push esp
mov eax, ebx
call fcn.00447778
push eax
push 0
mov eax, ebx
test eax, eax
je 0x47fe3d
sub eax, 0xfffffd9c
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x218]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x22c], 0
jne 0x47fe6e
mov ecx, dword [0x4af164]
mov dl, 1
mov eax, dword [0x47b774]
call fcn.0040d2d4
call fcn.004042ac
mov eax, ebx
call fcn.00480410
cmp byte [ebx + 0x57], 0
jne 0x47fea4
mov eax, ebx
call fcn.0044797c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47fea4
push 0
mov eax, ebx
call fcn.0044797c
push eax
call sub.user32.dll_ShowWindow
jmp 0x47fea4
mov eax, ebx
call fcn.004448e4
add esp, 0x10
pop ebx
ret
Function at 0x486cbc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x486cea
mov eax, ebx
call fcn.00487770
cmp dword [ebx + 0x40], 0
je 0x486ce3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x486d5b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x486d4d
cmp dword [ebx + 8], 0
je 0x486d0c
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 0x486d1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x486d4d
cmp dword [ebx + 8], 0
je 0x486cff
cmp eax, 3
je 0x486d31
dec eax
jne 0x486cff
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 0x486cff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x486cff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x486d79
cmp dword [ebx + 0x14], 0xcc
je 0x486d79
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.00486d84
pop ebx
ret

Function at 0x4976a8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d30
mov eax, dword [ebp - 8]
call fcn.00404d30
xor eax, eax
push ebp
push 0x497773
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 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, dword [ebp - 8]
call fcn.00404d40
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x497780
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d40
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push esi
lea eax, [ebp - 0x1c]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49777a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404894
ret
Function at 0x497788
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d30
mov eax, dword [ebp - 8]
call fcn.00404d30
mov eax, dword [ebp - 0xc]
call fcn.00404d30
mov eax, dword [ebp + 0xc]
call fcn.00404d30
xor eax, eax
push ebp
push 0x497894
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x14
mov dword [ebp - 0x20], 0x14
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 3
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 2
mov eax, dword [ebp - 8]
call fcn.00404d40
mov edi, eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x2c], 3
mov eax, 0x4978a4
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x44]
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00404d40
push eax
call sub.wininet.dll_InternetOpenA
mov ebx, eax
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00404d40
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404d40
push eax
mov eax, dword [ebp + 8]
push eax
push edi
push ebx
call sub.wininet.dll_InternetConnectA
push esi
lea eax, [ebp - 0x20]
push eax
push 0x4b
push ebx
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
push ebx
call sub.wininet.dll_InternetSetOptionA
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49789b
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404894
lea eax, [ebp + 0xc]
call fcn.00404870
ret

Function at 0x49b4c8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xfffffff4
mov eax, esp
xor ecx, ecx
mov edx, 0xa
call fcn.004032bc
push 0xa
lea eax, [esp + 4]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
cmp byte [esp], 0x31
jne 0x49b4f6
mov al, 1
jmp 0x49b4f8
xor eax, eax
add esp, 0xc
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ed0
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x5a100b0b
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x182a6eb2
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x59dcc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb2000]
push edi
jmp 0x59dcda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59dce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59dcd0
mov eax, 1
add ebx, ebx
jne 0x59dcf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59dd04
jne 0x59dd23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59dd23
dec eax
add ebx, ebx
jne 0x59dd10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59dce8
add ebx, ebx
jne 0x59dd1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59dd75
xor ecx, ecx
sub eax, 3
jb 0x59dd3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59ddaa
sar eax, 1
mov ebp, eax
jmp 0x59dd46
add ebx, ebx
jne 0x59dd46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59dd14
inc ecx
add ebx, ebx
jne 0x59dd54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59dd14
add ebx, ebx
jne 0x59dd61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59dd56
jne 0x59dd72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59dd56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59dd94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59dd86
jmp 0x59dcd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59dd94
add edi, ecx
jmp 0x59dcd6
pop esi
mov edi, esi
mov ecx, 0x4ee4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59ddb2
cmp byte [edi], 0x13
jne 0x59ddb2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59ddb7
lea edi, [esi + 0x199000]
mov eax, dword [edi]
or eax, eax
je 0x59de26
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d70d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d7194]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59dde4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d719c]
or eax, eax
je 0x59de20
mov dword [ebx], eax
add ebx, 4
jmp 0x59de01
call dword [esi + 0x1d7198]
mov ebp, dword [esi + 0x1d71a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x59de5a
sub esp, 0xffffff80
jmp 0x4ad0e6
Function at 0x10011610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100898f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.1007ee90
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10014260
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10011664
jmp dword [ecx*4 + 0x100117cc]
mov al, byte [esi]
test al, al
je 0x10011692
cmp al, 0x20
je 0x1001167e
cmp al, 0xa1
jne 0x10011692
cmp byte [esi + 1], al
jne 0x10011692
test al, 0x80
je 0x1001168a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10011692
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10011671
test ecx, ecx
je case.default.0x10011664
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10011664
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100116d8
cmp dl, 0xa1
jne 0x100116cc
cmp byte [eax + 1], 0xa1
jne 0x100116cc
test ecx, ecx
jne 0x100116c4
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100116ec
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x10011706
jmp 0x100116ec
cmp dl, 0x20
jne 0x100116ea
test ecx, ecx
jne 0x100116e3
mov edi, eax
mov ecx, 1
jmp 0x100116ec
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100116ac
cmp ecx, 1
jne case.default.0x10011664
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10011664
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10011664
mov al, byte [esi]
test al, al
je 0x1001175e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x10011744
mov cl, byte [esi + 1]
test cl, cl
je 0x1001175e
cmp al, 0xa1
jne 0x10011734
cmp cl, al
je 0x10011741
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100144f0
inc esi
jmp 0x10011756
cmp al, 0x20
je 0x10011756
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10014530
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x1001171d
push 0
lea ecx, [esp + 0x14]
call fcn.10014530
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1001d6c0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10011791
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x10090168
call fcn.10014460
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.1007ee22
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100180f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x10089c4b
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.1007eb97
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10018172
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.1007cae7
mov eax, dword [eax]
push 0x100a2204
push eax
call fcn.1006f834
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.1007ee22
test bl, bl
je 0x10018172
push 0x100a2204
lea ecx, [esp + 0xc]
call fcn.1007f1b2
push 0x100a5d4c
lea ecx, [esp + 0xc]
call fcn.1007f1b2
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 0x100181ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.1007ee22
jmp 0x10018279
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 0x10018232
lea edx, [esp + 0x7c]
push 0x100a5d48
push edx
call fcn.1006f834
add esp, 8
test eax, eax
je 0x10018232
lea eax, [esp + 0x7c]
push 0x100a5d44
push eax
call fcn.1006f834
add esp, 8
test eax, eax
je 0x10018232
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 0x100181c2
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.1007ee22
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 0x10018a70
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 0x10018ad2
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 0x10018ae0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x10089ccb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100b0e88]
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 0x10018c18
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10018b46
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007ee22
xor eax, eax
jmp 0x10018c8f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.1007ef5f
push esi
lea ecx, [esp + 0xc]
call fcn.1007f1ee
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 0x10018c6d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.10018a70
test eax, eax
jne 0x10018c6d
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 SysReAllocString
mov ecx, edi
call fcn.10018a70
test eax, eax
jne 0x10018c6d
lea eax, [esp + 0x14]
push 0x100a5d60
push eax
call fcn.10070980
mov esi, eax
add esp, 8
test esi, esi
jne 0x10018c4c
lea ecx, [esp + 0x14]
push 0x100a5d5c
push ecx
call fcn.10070900
mov esi, eax
add esp, 8
test esi, esi
jne 0x10018c4c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10018c4f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.1007ef0f
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10018b5e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.1007ee22
xor eax, eax
jmp 0x10018c8f
mov byte [esi], 0
push 0x100a5d58
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.1007ee22
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 0x100242a0
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 0x1002430e
cmp si, 0x69
ja 0x1002430e
add esi, 0xffd0
cmp si, 0x11
je 0x100242de
push 0x11
call edi
test ax, ax
jge 0x100242de
or esi, 0x2000
cmp si, 0x10
je 0x100242f3
push 0x10
call edi
test ax, ax
jge 0x100242f3
or esi, 0x4000
cmp si, 0x12
je 0x10024308
push 0x12
call edi
test ax, ax
jge 0x10024308
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x1002431b
mov esi, 0xbd
jmp 0x100242cf
cmp si, 0x6e
jne 0x10024328
mov esi, 0xbe
jmp 0x100242cf
cmp si, 0x6f
jne 0x100242c9
mov esi, 0xbf
jmp 0x100242cf

Function at 0x10025ac0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100c15b8]
xor edx, edx
cmp eax, edx
jne 0x10025ae6
xor eax, eax
mov byte [eax + 0x100c14b8], al
inc eax
cmp eax, 0x100
jl 0x10025ace
mov dword [0x100c15b8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100c14b8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x10025b77
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 0x10025b4a
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 0x10025b18
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10025bf0
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 0x10025c43
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 0x10025c2a
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