joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002f640
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x1002f662
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x1002f650
mov byte [esi + 6], 0
pop esi
ret

Function at 0x1002f670
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x1002f692
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x1002f680
mov byte [esi + 7], 0
pop esi
ret

Function at 0x100355a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x100a4040]
xor eax, esp
mov dword [esp + 0x28], eax
movaps xmm0, xmmword [0x100a0c80]
push ebx
movups xmmword [esp + 4], xmm0
mov ebx, ecx
mov dword [esp + 0x24], 0x223a2602
movaps xmm0, xmmword [0x100a0da0]
xor ecx, ecx
push esi
push edi
movups xmmword [esp + 0x1c], xmm0
mov word [esp + 0x30], 0x4a
mov byte [esp + 0x32], 1
mov al, cl
add al, 0x26
xor byte [esp + ecx + 0xc], al
inc ecx
cmp ecx, 0x25
jb 0x100355e7
xor esi, esi
mov byte [esp + 0x32], 0
cmp byte [esp + 0xc], 0
lea edx, [esp + 0xc]
je 0x10035621
mov eax, edx
lea edi, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10035610
sub eax, edi
inc edx
add edx, eax
inc esi
cmp byte [edx], cl
jne 0x10035607
push ecx
push esi
lea eax, [esp + 0x14]
mov edx, 0x100e52fc
push eax
push 0x10028c70
mov ecx, ebx
call fcn.10028cd0
add esp, 0x10
test al, al
je 0x100356b7
mov eax, dword [0x100e52fc]
cmp eax, 3
ja case.default.0x1003564a
jmp dword [eax*4 + 0x100356cc]
call fcn.1003ffb0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
xor ecx, ecx
call fcn.1003f900
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
call fcn.100414d0
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
call fcn.10040e20
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x34]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10049d20
mov esp, ebp
pop ebp
ret
Function at 0x10038650
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x10038672
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x23
jb 0x10038660
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x10038680
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x100386a7
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x1a4
jb 0x10038690
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x100386b0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x100386d2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x2b
jb 0x100386c0
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x100386e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x10038702
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x100386f0
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x10038710
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x10038732
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x10038720
mov byte [esi + 0x1d], 0
pop esi
ret

Function at 0x10038740
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x10038762
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x5e
jb 0x10038750
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x10038770
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x10038792
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x3b
jb 0x10038780
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x100387a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x100387c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x100387b0
mov byte [esi + 0x2b], 0
pop esi
ret

Function at 0x100387d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x100387f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x67
jb 0x100387e0
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x10038800
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x10038822
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x40
jb 0x10038810
mov byte [esi + 0x41], 0
pop esi
ret
Function at 0x10038830
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x10038852
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x10038840
mov byte [esi + 0x13], 0
pop esi
ret

Function at 0x10038860
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x10038887
xor eax, eax
nop
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x8a
jb 0x10038870
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x10038890
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x100388b2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x100388a0
mov byte [esi + 0x12], 0
pop esi
ret

Function at 0x100388c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x100388e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x100388d0
mov byte [esi + 0x1e], 0
pop esi
ret

Function at 0x100388f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x10038912
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x26]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x10038900
mov byte [esi + 0x15], 0
pop esi
ret
Function at 0x10045d70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c486
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x100a4040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x30], 0
mov byte [ebp - 4], 2
mov eax, 0x3f
mov dword [esi + 4], 0x3f800000
mov word [esi + 0x3c], ax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.10045ea0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10047490
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10047640
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1004755d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100474da
mov eax, dword [ebp - 4]
cmp eax, dword [0x100a4004]
ja 0x100474da
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x100474aa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10047500
jmp 0x1004755d
cmp dword [ebp - 0x14], 0x10000
jne 0x10047543
cmp dword [ebp - 0x18], 0x10000
jb 0x10047543
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10047536
mov eax, dword [ebp - 8]
jmp 0x1004755f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10047558
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10047640
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100474aa
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10047570
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10047670
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10047635
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100475b5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100a4004]
ja 0x100475b5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10047585
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100475db
jmp 0x10047635
cmp dword [ebp - 0x14], 0x10000
jne 0x1004761e
cmp dword [ebp - 0x18], 0x10000
jb 0x1004761e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10047611
mov eax, dword [ebp - 8]
jmp 0x10047637
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10047630
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10047670
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10047585
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402f74
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x47e008], 0x8088405
inc edx
mov dword [ebx + 0x47e008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41ffe0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41ffe6
ret

Function at 0x462aa4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x462ad2
mov eax, ebx
call fcn.00463558
cmp dword [ebx + 0x40], 0
je 0x462acb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x462b43
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x462b35
cmp dword [ebx + 8], 0
je 0x462af4
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 0x462b06
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x462b35
cmp dword [ebx + 8], 0
je 0x462ae7
cmp eax, 3
je 0x462b19
dec eax
jne 0x462ae7
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 0x462ae7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x462ae7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x462b61
cmp dword [ebx + 0x14], 0xcc
je 0x462b61
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.00462b6c
pop ebx
ret
Function at 0x4060e1
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40d6d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00404f7a
mov dword [ebp - 0x14], eax
cmp dword [0x40eb30], edi
jne 0x4061d2
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x40615f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4062b2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x4062b2
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4062b2
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x40eb30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x40eb34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x40eb38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x40eb40], eax
test eax, eax
je 0x4061cf
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x40eb3c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4061f7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4061ea
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x40620c
push 4
pop eax
jmp 0x4062b4
cmp dword [ebp - 0x14], edi
je 0x40620c
push dword [0x40eb30]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4061f1
mov eax, dword [0x40eb3c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x40626a
cmp dword [0x40eb40], esi
je 0x40626a
push eax
call ebx
push dword [0x40eb40]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40626a
test eax, eax
je 0x40626a
call ecx
test eax, eax
je 0x40625f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40625f
test byte [ebp - 8], 1
jne 0x40626a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x40629a
mov eax, dword [0x40eb34]
cmp eax, esi
je 0x406297
push eax
call ebx
test eax, eax
je 0x406297
call eax
mov edi, eax
test edi, edi
je 0x406297
mov eax, dword [0x40eb38]
cmp eax, esi
je 0x406297
push eax
call ebx
test eax, eax
je 0x406297
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x40eb30]
call ebx
test eax, eax
je 0x4062b2
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x4062b4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00403c17
leave
ret
Function at 0x10009170
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1009114b
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.1008611f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100091f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.10084031
mov eax, dword [eax]
push 0x100acc60
push eax
call fcn.100762c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100863aa
test bl, bl
je 0x100091f2
push 0x100acc60
lea ecx, [esp + 0xc]
call fcn.1008673a
push 0x100acc6c
lea ecx, [esp + 0xc]
call fcn.1008673a
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 0x1000922e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100863aa
jmp 0x100092f9
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 0x100092b2
lea edx, [esp + 0x7c]
push 0x100acc68
push edx
call fcn.100762c4
add esp, 8
test eax, eax
je 0x100092b2
lea eax, [esp + 0x7c]
push 0x100acc64
push eax
call fcn.100762c4
add esp, 8
test eax, eax
je 0x100092b2
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 0x10009242
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.100863aa
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 0x10009af0
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 0x10009b52
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 0x10009b60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x100911cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x100bc040]
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 0x10009c98
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x10009bc6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100863aa
xor eax, eax
jmp 0x10009d0f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.100864e7
push esi
lea ecx, [esp + 0xc]
call fcn.10086776
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 0x10009ced
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.10009af0
test eax, eax
jne 0x10009ced
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.10009af0
test eax, eax
jne 0x10009ced
lea eax, [esp + 0x14]
push 0x100acc7c
push eax
call fcn.10077340
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009ccc
lea ecx, [esp + 0x14]
push 0x100acc78
push ecx
call fcn.100772c0
mov esi, eax
add esp, 8
test esi, esi
jne 0x10009ccc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x10009ccf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.10086497
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x10009bde
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.100863aa
xor eax, eax
jmp 0x10009d0f
mov byte [esi], 0
push 0x100acc74
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.100863aa
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 0x10018f20
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 0x10018f8e
cmp si, 0x69
ja 0x10018f8e
add esi, 0xffd0
cmp si, 0x11
je 0x10018f5e
push 0x11
call edi
test ax, ax
jge 0x10018f5e
or esi, 0x2000
cmp si, 0x10
je 0x10018f73
push 0x10
call edi
test ax, ax
jge 0x10018f73
or esi, 0x4000
cmp si, 0x12
je 0x10018f88
push 0x12
call edi
test ax, ax
jge 0x10018f88
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x10018f9b
mov esi, 0xbd
jmp 0x10018f4f
cmp si, 0x6e
jne 0x10018fa8
mov esi, 0xbe
jmp 0x10018f4f
cmp si, 0x6f
jne 0x10018f49
mov esi, 0xbf
jmp 0x10018f4f

Function at 0x1001a700
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x100cc788]
xor edx, edx
cmp eax, edx
jne 0x1001a726
xor eax, eax
mov byte [eax + 0x100cc688], al
inc eax
cmp eax, 0x100
jl 0x1001a70e
mov dword [0x100cc788], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x100cc688
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x1001a7b7
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 0x1001a78a
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 0x1001a758
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x1001a7c0
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 0x1001a813
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 0x1001a7fa
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