joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ce072
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [0x1012c3d4], 0x26aa
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
mov ecx, dword [0x1012c3d4]
add ecx, 0xfffff6cd
mov dword [0x1012c3d8], ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [0x1012c3d4], 0x1018
mov dword [ebp - 0x10], eax
jmp 0x100ce0fb
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x100ce12a
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100ce1b8
mov eax, dword [ebp - 0x1c]
mov dword [0x1012c3d8], 0xffffec24
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x100ce0c4
jmp 0x100ce0d3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x100ce0dd
mov eax, dword [ebp - 0x20]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], eax
jl 0x100ce0fb
jmp 0x100ce0dd
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
sete dl
mov byte [ebp - 0x21], dl
mov al, byte [ebp - 0x21]
test al, 1
jne 0x100ce146
jmp 0x100ce0d3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
jne 0x100ce0d3
mov dword [0x1012c3d4], 0x681
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
jne 0x100ce0d3
mov dword [0x1012c3d8], 0xfffffb35
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x100ce0d3
mov eax, 1
mov dword [0x1012c3d8], 0xb7b
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x18], eax
jne 0x100ce0d3
mov eax, dword [ebp - 0x18]
add esp, 0x24
pop ebp
ret
Function at 0x100ce22a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1012c3e0], 0
mov byte [0x1012c3e4], 0
mov esi, dword [0x1012c3d4]
add esi, 0xffffed90
mov dword [0x1012c3d8], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1012c3dc], 0
mov dword [ebp - 0x1c], eax
jmp 0x100ce325
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add ecx, 0x4af
mov dword [0x1012c3e8], 0
mov dword [ebp - 0x28], eax
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x1012c3e0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x28]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1012c3e8], esi
mov dword [0x1012c3d8], ecx
mov eax, esi
cdq
mov ecx, dword [ebp - 0x2c]
idiv ecx
mov dword [0x1012c3e0], edx
mov esi, dword [ebp - 0x28]
mov cl, byte [ebx + esi]
mov byte [0x1012c3e4], cl
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov dword [0x1012c3d8], 0x215b
mov cl, byte [0x1012c3e4]
mov edx, dword [0x1012c3e0]
mov byte [ebx + edx], cl
mov edx, dword [0x1012c3dc]
add edx, 1
mov dword [0x1012c3dc], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jl 0x100ce361
jmp 0x100ce3a2
mov eax, dword [ebp - 0x1c]
mov dword [0x1012c3d4], 0x2457
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1012c3d8], 0xf40
mov eax, dword [0x1012c3dc]
add eax, 1
mov dword [0x1012c3dc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100ce325
jmp 0x100ce374
mov eax, dword [0x1012c3d8]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x100ce27c
mov eax, 0xf40
xor ecx, ecx
mov edx, dword [0x1012c3d4]
add edx, 0xffffe4dc
mov dword [0x1012c3d4], edx
mov dword [0x1012c3dc], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x100ce27c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x100ce67e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [fcn.100ce67e]
mov dword [0x1012c3d4], 0x1a42
mov ecx, dword [0x1012c3d8]
add ecx, 0xffffe87b
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp word [eax], 0x5a4d
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
jne 0x100ce6e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
jne 0x100ce6e2
mov eax, dword [ebp - 0x10]
mov dword [0x1012c3d4], eax
mov dword [0x1012c3d8], 0x6c0
mov eax, dword [ebp - 0xc]
add esp, 0x14
pop ebp
ret
mov eax, dword [ebp - 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
add eax, 0xa5d
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jmp 0x100ce6a6
Function at 0x100cecac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x1012c3d8], 0x1d65
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x100ceecd
jmp 0x100ced46
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dword [0x1012c3d4], ecx
mov eax, dword [eax]
mov ecx, dword [ebp - 0x24]
cmp eax, ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edx
je 0x100ceecd
jmp 0x100ceda1
mov eax, 0x416
mov ecx, dword [ebp - 0x2c]
mov dword [0x1012c3d8], ecx
mov dword [0x1012c3d4], 0x13e7
mov dl, byte [ebp - 0x2d]
test dl, 1
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
jne 0x100ceebd
jmp 0x100cecf1
mov dword [0x1012c3d8], 0xc1a
mov dword [0x1012c3d4], 0x13c3
mov ecx, dword fs:[0x18]
mov dword [0x1012c3d4], 0x1973
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xc]
add eax, 0x14
mov ecx, dword [0x1012c3d8]
add ecx, 0xe90
mov edx, dword [ebp - 0x10]
cmp edx, 0
setne bl
mov esi, eax
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x2e], bl
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
jmp 0x100cecf1
mov eax, dword [ebp - 0x28]
add eax, 0x24
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov cx, word [eax]
mov edx, dword [eax + 4]
mov dword [0x1012c3d8], 0x1f82
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + 0x10]
mov ebx, dword [ebp - 0x10]
cmp edi, ebx
sete al
mov ah, byte [ebp - 0x2e]
and ah, al
test ah, 1
mov word [ebp - 0x36], cx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], edi
jne 0x100cede3
jmp 0x100cedf3
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x100ceecd
mov eax, 0x416
xor ecx, ecx
mov edx, 0x1f82
mov dword [0x1012c3d4], 0xf15
mov si, word [ebp - 0x36]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x4c], edx
je 0x100cecf1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov edx, ecx
add edx, 1
add eax, 0xffffe074
mov esi, dword [ebp - 0x3c]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x2c], eax
mov word [ebp - 0x56], di
mov word [ebp - 0x58], si
jb 0x100cee7b
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x54]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x50]
mov edi, dword [ebp - 0x44]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 0x2d], bl
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], eax
jne 0x100cee31
jmp 0x100ced17
mov dword [0x1012c3d8], 0x1e02
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x813470
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x92f584]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
cmp dword [ecx + 0x50], 0x10
lea ebx, [ecx + 0x3c]
push esi
push edi
mov edi, edx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x10], eax
jb 0x81349a
mov eax, dword [ebx]
jmp 0x81349c
mov eax, ebx
mov byte [eax], 0
call fcn.0085da70
mov esi, eax
test esi, esi
jne 0x8134c0
mov eax, 0x13ab
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00892239
mov esp, ebp
pop ebp
ret
mov ecx, edi
lea edi, [ebp - 0x20]
call fcn.00812fd0
push 1
push 0x34
push esi
call fcn.0085dab0
add esp, 0xc
push 5
push 0x4e
push esi
call fcn.0085dab0
add esp, 0xc
push 1
push 0x13
push esi
call fcn.0085dab0
add esp, 0xc
push 0x12c
push 0x14
push esi
call fcn.0085dab0
mov eax, dword [ebp - 0x20]
mov edi, 0x10
add esp, 0xc
cmp dword [ebp - 0xc], edi
jae 0x813511
lea eax, [ebp - 0x20]
push eax
push 0x2712
push esi
call fcn.0085dab0
add esp, 0xc
push 0x8135d0
push 0x4e2b
push esi
call fcn.0085dab0
add esp, 0xc
push ebx
push 0x2711
push esi
call fcn.0085dab0
add esp, 0xc
push 1
push 0x63
push esi
call fcn.0085dab0
add esp, 0xc
push esi
call fcn.0085dae0
add esp, 4
test eax, eax
je 0x813565
mov dword [ebp - 0x24], 0x13ab
jmp 0x813599
lea eax, [ebp - 0x28]
push eax
push 0x200002
push esi
call fcn.0085dc40
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x28]
jne 0x813585
cmp eax, 0xc8
je 0x813599
sub eax, 0x194
neg eax
sbb eax, eax
and eax, 0xfffffff2
add eax, 0x13b9
mov dword [ebp - 0x24], eax
push esi
call fcn.0085dbe0
add esp, 4
cmp dword [ebp - 0xc], edi
jb 0x8135b3
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.008925e4
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00892239
mov esp, ebp
pop ebp
ret
Function at 0x815e10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x92f584]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 0x124
lea eax, [ebp - 0x130]
push 0
push eax
mov dword [ebp - 0x134], 0
call fcn.00896830
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x815ea7
lea ecx, [ebp - 0x134]
push ecx
push esi
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x815ea0
lea edx, [ebp - 0x110]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x815e8e
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x11c], eax
je 0x815eba
lea ecx, [ebp - 0x134]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x815e71
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00892239
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x12c]
push esi
mov dword [ebx], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.00892239
mov esp, ebp
pop ebp
ret 4

Function at 0x816500
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.008984b0
mov eax, dword [0x92f584]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp - 0x1004]
push 0x1000
push edx
call fcn.00893565
add esp, 0x10
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00892239
mov esp, ebp
pop ebp
ret
Function at 0x8177c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x92f584]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x8177f2
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00892239
mov esp, ebp
pop ebp
ret
push edi
mov edx, esi
call fcn.00817920
push 0x103
xor edi, edi
lea eax, [ebp - 0x107]
push edi
push eax
mov byte [ebp - 0x108], 0
call fcn.00896830
mov eax, esi
add esp, 0xc
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x817820
sub eax, edx
inc eax
cmp eax, edi
je 0x817846
cmp eax, 0x7fffffff
ja 0x817846
push esi
mov edx, 0x7ffffffe
lea ecx, [ebp - 0x108]
call fcn.00816ed0
mov edx, 0x104
lea eax, [ebp - 0x108]
cmp byte [eax], 0
je 0x81785c
inc eax
dec edx
jne 0x817851
jmp 0x817884
cmp edx, edi
je 0x817884
mov ecx, 0x104
sub ecx, edx
mov eax, 0x104
sub eax, ecx
push 0x91e3e0
lea ecx, [ebp + ecx - 0x108]
mov edx, 0x7fffffff
call fcn.00816ed0
mov ecx, 0x414
lea edx, [ebp - 0x108]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov word [ebp - 0x118], cx
mov dword [ebp - 0x112], edi
mov dword [ebp - 0x128], edi
mov dword [ebp - 0x10e], edi
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x124], 3
xor esi, esi
jmp 0x8178d0
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov edi, eax
test edi, edi
je 0x8178f5
cmp edi, 0x20
jne 0x81790d
push 0x3e8
inc esi
call ebx
cmp esi, 5
jl 0x8178d0
xor eax, eax
pop ebx
test edi, edi
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00892239
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop ebx
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.00892239
mov esp, ebp
pop ebp
ret
Function at 0x8186e0
Capabilities:
Parse pe header

Disassembly:
test eax, eax
je 0x8186f9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x8186f9
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
je 0x8186fc
xor eax, eax
ret
add eax, 0x18
ret
Function at 0x81e290
Capabilities:
Check for time delay via gettickcount
Resolve dns

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ebx, eax
call edi
sub eax, ebx
cmp eax, 0xfa0
jae 0x81e2e1
jmp 0x81e2b0
push str.www.baidu.com
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x81e2e7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x64
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
sub eax, ebx
cmp eax, 0xfa0
jb 0x81e2b0
pop edi
pop esi
xor eax, eax
pop ebx
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov eax, dword [ecx]
pop edi
pop esi
pop ebx
ret

Function at 0x81e300
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
push 0x288
mov esi, eax
mov dword [ebp - 8], 0x288
call fcn.00894af4
mov ebx, eax
add esp, 4
mov dword [ebp - 4], ebx
test ebx, ebx
je 0x81e410
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 8]
push eax
push ebx
call edi
cmp eax, 0x6f
jne 0x81e360
push ebx
call fcn.00894a7a
mov ecx, dword [ebp - 8]
add esp, 4
push ecx
call fcn.00894af4
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
test eax, eax
je 0x81e410
lea edx, [ebp - 8]
push edx
push ebx
call edi
test eax, eax
jne 0x81e410
mov edi, ebx
mov dword [ebp - 0xc], ebx
test ebx, ebx
je 0x81e410
jmp 0x81e383
mov edi, dword [ebp - 0xc]
mov eax, dword [edi + 0x194]
mov ecx, dword [edi + 0x198]
lea edx, [edi + 0x1b0]
push edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
test eax, eax
je 0x81e403
mov ebx, dword [esi + 4]
mov ecx, dword [ebx + 4]
cmp byte [ecx + 0x21], 0
jne 0x81e3c6
cmp dword [ecx + 0x10], eax
jae 0x81e3bc
mov ecx, dword [ecx + 8]
jmp 0x81e3c0
mov ebx, ecx
mov ecx, dword [ecx]
cmp byte [ecx + 0x21], 0
je 0x81e3b2
cmp ebx, dword [esi + 4]
je 0x81e3d0
cmp eax, dword [ebx + 0x10]
jae 0x81e3f4
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
call fcn.0081ede0
push ebx
lea edi, [ebp - 0x10]
mov ecx, esi
call fcn.0081e970
mov ebx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], ecx
mov ebx, dword [ebp - 4]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
test edi, edi
jne 0x81e380
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test ebx, ebx
je 0x81e425
push ebx
call fcn.00894a7a
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x81ef10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
je 0x81ef33
push edi
movzx edi, byte [edx]
mov eax, dword [esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x91caa8]
inc edx
dec ecx
mov dword [esi], eax
jne 0x81ef15
pop edi
ret
Function at 0x820000
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x138
mov eax, dword [0x92f584]
xor eax, esp
mov dword [esp + 0x134], eax
push ebx
push esi
push 0
push 2
mov dword [esp + 0x18], 0x128
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
jne 0x82004b
xor eax, eax
pop esi
pop ebx
mov ecx, dword [esp + 0x134]
xor ecx, esp
call fcn.00892239
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x10]
push eax
push esi
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x8200b5
mov ebx, dword [sym.imp.KERNEL32.dll_Process32Next]
lea esp, [esp]
lea ecx, [esp + 0x34]
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x820096
test dl, dl
je 0x820092
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x820096
add eax, 2
add ecx, 2
test dl, dl
jne 0x820076
xor eax, eax
jmp 0x82009b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x8200ad
lea ecx, [esp + 0x10]
push ecx
push esi
call ebx
test eax, eax
jne 0x820070
jmp 0x8200b5
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], edx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x13c]
mov eax, dword [esp + 0xc]
pop esi
pop ebx
xor ecx, esp
call fcn.00892239
mov esp, ebp
pop ebp
ret
Function at 0x8205a0
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x820634
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x8205b7
sub eax, edx
je 0x820634
push 0x44
lea eax, [ebp - 0x70]
push ebx
push eax
mov dword [ebp - 0x14], 0xc
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.00896830
add esp, 0xc
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push esi
xor ecx, ecx
push ebx
mov dword [ebp - 0x70], 0x44
mov word [ebp - 0x40], cx
mov dword [ebp - 0x44], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x82063c
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x82062a
push eax
call esi
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x820634
push eax
call esi
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x820650
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x92f584]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push str.Advapi32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x820697
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00892239
mov esp, ebp
pop ebp
ret
push str.RegDeleteKeyExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x8206c8
movzx ecx, byte [ebp + 0x10]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0xffffff00
add ecx, 0x200
push ecx
push esi
push ebx
call eax
jmp 0x8206d0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x8206ee
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00892239
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
lea edx, [esp + 0x14]
push edx
and eax, 0x100
add eax, 0x20019
push eax
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x82071e
xor ecx, ecx
cmp eax, 2
jmp 0x820825
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp byte [esi + eax - 1], 0x5c
lea edi, [esi + eax]
je 0x820736
mov byte [edi], 0x5c
inc edi
mov byte [edi], 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
push 0
push edx
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x8207e5
lea eax, [esp + 0x28]
sub eax, edi
mov dword [esp + 0x18], eax
mov edx, 0x208
mov eax, edi
lea esp, [esp]
lea ecx, [edx + 0x7ffffdf6]
test ecx, ecx
je 0x82079d
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + eax]
test cl, cl
je 0x82079d
mov byte [eax], cl
inc eax
dec edx
jne 0x820780
jmp 0x8207a1
test edx, edx
jne 0x8207a2
dec eax
mov edx, dword [ebp + 0x10]
push edx
push esi
push ebx
mov byte [eax], 0
call fcn.00820650
add esp, 0xc
test eax, eax
je 0x8207e5
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
push 0
push eax
mov dword [esp + 0x30], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x820772
mov byte [edi - 1], 0
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x820819
movzx edx, byte [ebp + 0x10]
neg edx
sbb edx, edx
push 0
and edx, 0xffffff00
add edx, 0x200
push edx
push esi
push ebx
call eax
jmp 0x820821
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebx
mov eax, ecx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00892239
mov esp, ebp
pop ebp
ret
Function at 0x822600
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
mov ecx, dword [ebp + 8]
mov edi, eax
call fcn.0082f6b0
test al, al
jne 0x822640
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xbb8
call ebx
call esi
sub eax, edi
cmp eax, 0x493e0
ja 0x822649
mov ecx, dword [ebp + 8]
call fcn.0082f6b0
test al, al
je 0x822622
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 4
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret 4

Function at 0x823100
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8faaa8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x92f584]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea esi, [ebx + 8]
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
lea ecx, [esi + 4]
mov dword [esi], vtable.tpsp::TASKITEM.0
call fcn.008ce720
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x30], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x38], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret