joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436969
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4369a8
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4369a8
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4369a8
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4369a8
cmp dword [ecx + 0x74], 0xe
jbe 0x4369a8
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4390b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4390dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4390dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43bea0
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 8
call fcn.004039d0
call sub.KERNEL32.dll_ConnectNamedPipe
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
test esi, esi
setne bl
movzx ebx, bl
cmp byte [ebp - 0x10], 0
je 0x43bf11
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
movzx eax, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x43bf40
Capabilities:
Connect pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 8
call fcn.004039d0
call sub.KERNEL32.dll_ConnectNamedPipe
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
test esi, esi
setne bl
movzx ebx, bl
cmp byte [ebp - 0x10], 0
je 0x43bfb1
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
movzx eax, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x43c390
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, edx
mov edi, dword [ebp + 0xc]
xor edx, edx
mov dword [edi], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov edx, 0x14
call fcn.004039d0
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x10], 0
je 0x43c410
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x43c440
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 0x14
call fcn.004039d0
call sub.KERNEL32.dll_ReadFile
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x43c4b2
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x43c4e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, edx
mov edi, dword [ebp + 0xc]
xor edx, edx
mov dword [edi], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push esi
push ebx
lea ecx, [ebp - 0x2c]
mov edx, 0x14
call fcn.004039d0
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x10], 0
je 0x43c560
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x43c590
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov eax, dword [ebp - 0x14]
mov edi, dword [eax + 4]
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 0x14
call fcn.004039d0
call sub.KERNEL32.dll_WriteFile
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
cmp byte [ebp - 0x10], 0
je 0x43c602
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x43c6d0
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x28
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov byte [ebp - 0x1c], 0
mov ecx, 0x544300
call fcn.00520400
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], ebx
test esi, esi
je 0x43c70a
add esi, 8
jmp 0x43c70c
xor esi, esi
mov dword [ebp - 0x18], esi
push 0
call sub.KERNEL32.dll_SetLastError
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0x18]
push dword [ebp + 0x1c]
push edi
push esi
lea ecx, [ebp - 0x34]
mov edx, 0x20
call fcn.004039d0
call sub.KERNEL32.dll_CreateNamedPipeW
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov byte [ebp - 0x1c], 1
mov eax, dword [ebp - 0x20]
mov dword [eax + 4], esi
mov esi, eax
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x442e40
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14
push 2
push edx
push ecx
push 0
lea ecx, [ebp - 0x20]
mov edx, 0x10
call fcn.004039d0
call sub.bcrypt.dll_BCryptGenRandom
mov esi, eax
lea ecx, [ebp - 0x20]
call fcn.00403a01
test esi, esi
jne 0x442e77
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
cmp esi, 0xc0000017
jne 0x442e9a
mov ecx, 0x549570
call fcn.004029a0
mov esi, eax
mov ecx, esi
call fcn.0045b1a0
mov ecx, esi
call fcn.00402f6b
int3
mov ecx, 0x549134
call fcn.004029a0
mov esi, eax
mov ecx, esi
call fcn.00457650
mov ecx, esi
call fcn.00402f6b
int3
Function at 0x448220
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ecx + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, 0x15051505
mov esi, 0x15051505
mov ecx, dword [ecx + 4]
cmp ecx, 2
jle 0x44826e
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add ecx, 0xfffffffc
mov edi, edx
rol edi, 5
add edx, edi
xor edx, dword [eax]
mov edi, esi
rol edi, 5
add esi, edi
xor esi, dword [eax + 4]
add eax, 8
cmp ecx, 2
jg 0x448250
test ecx, ecx
jle 0x44827d
mov ecx, esi
rol ecx, 5
add ecx, esi
mov esi, ecx
xor esi, dword [eax]
imul eax, esi, 0x5d588b65
add eax, edx
pop ecx
pop esi
pop edi
pop ebp
ret

Function at 0x456eb0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov esi, ecx
mov edi, dword [esi + 0x1c]
mov ebx, edi
and ebx, 3
cmp edi, 4
jb 0x456ee4
mov eax, dword [esi]
rol eax, 1
mov edx, dword [esi + 4]
rol edx, 7
add eax, edx
mov edx, dword [esi + 8]
rol edx, 0xc
add eax, edx
mov edx, dword [esi + 0xc]
rol edx, 0x12
add eax, edx
jmp 0x456ef9
mov edx, 0x544d90
mov dword [ebp - 0x10], edx
cmp dword [edx - 4], 0
jne 0x456f67
mov eax, dword [edx]
add eax, 0x165667b1
lea eax, [eax + edi*4]
test ebx, ebx
je 0x456f40
imul edx, dword [esi + 0x10], 0xc2b2ae3d
add eax, edx
rol eax, 0x11
imul eax, eax, 0x27d4eb2f
cmp ebx, 1
jbe 0x456f40
imul edx, dword [esi + 0x14], 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
cmp ebx, 2
jbe 0x456f40
imul edx, dword [esi + 0x18], 0xc2b2ae3d
add edx, eax
rol edx, 0x11
imul eax, edx, 0x27d4eb2f
mov edx, eax
shr edx, 0xf
xor edx, eax
imul eax, edx, 0x85ebca77
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0xc2b2ae3d
mov edx, eax
shr edx, 0x10
xor eax, edx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.0040102e
mov edx, dword [ebp - 0x10]
jmp 0x456ef2
Function at 0x4577c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp edx, 8
jae 0x4577db
cmp edx, 4
jae 0x457824
jmp 0x45788c
mov edi, edx
shr edi, 3
add eax, dword [ecx]
mov ebx, dword [ecx + 4]
xor esi, eax
rol eax, 0x14
add eax, esi
rol esi, 9
xor esi, eax
rol eax, 0x1b
add eax, esi
rol esi, 0x13
add ebx, eax
mov eax, esi
xor eax, ebx
rol ebx, 0x14
add ebx, eax
rol eax, 9
xor eax, ebx
rol ebx, 0x1b
add ebx, eax
rol eax, 0x13
mov esi, ebx
add ecx, 8
dec edi
mov ebx, eax
mov eax, esi
mov esi, ebx
jne 0x4577e0
test dl, 4
je 0x45783a
add eax, dword [ecx]
xor esi, eax
rol eax, 0x14
add eax, esi
rol esi, 9
xor esi, eax
rol eax, 0x1b
add eax, esi
rol esi, 0x13
mov edi, edx
and edi, 7
mov edi, dword [ecx + edi - 4]
shr edi, 8
or edi, 0x80000000
mov ecx, edx
not ecx
shl ecx, 3
shr edi, cl
add edi, eax
mov eax, esi
xor eax, edi
rol edi, 0x14
add edi, eax
rol eax, 9
xor eax, edi
rol edi, 0x1b
add edi, eax
rol eax, 0x13
xor eax, edi
mov edx, edi
rol edx, 0x14
add edx, eax
rol eax, 9
xor eax, edx
rol edx, 0x1b
add edx, eax
rol eax, 0x13
xor eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 8
mov edi, 0x80
test dl, 1
je 0x4578a7
mov edi, edx
and edi, 2
movzx ebx, byte [ecx + edi]
mov edi, ebx
or edi, 0x8000
test dl, 2
je 0x457855
shl edi, 0x10
movzx edx, word [ecx]
or edi, edx
jmp 0x457855

Function at 0x464ad0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x464af3
mov ecx, 0x56e35c
mov edx, 0x55
call fcn.00402b00
lea edx, [esi + 8]
call fcn.00402d08
mov eax, esi
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [esi + 0xc], edx
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0x50
jbe 0x464b61
mov dword [eax + 0x148], 0x67452301
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0x51
jbe 0x464b61
mov dword [eax + 0x14c], 0xefcdab89
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0x52
jbe 0x464b61
mov dword [eax + 0x150], 0x98badcfe
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0x53
jbe 0x464b61
mov dword [eax + 0x154], 0x10325476
mov eax, dword [esi + 8]
cmp dword [eax + 4], 0x54
jbe 0x464b61
mov dword [eax + 0x158], 0xc3d2e1f0
pop esi
pop ebp
ret
call fcn.004aa120
int3

Function at 0x465080
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov eax, 0x1505
xor edx, edx
mov esi, dword [ecx + 4]
test esi, esi
jle 0x4650b3
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edi, eax
shl edi, 5
add eax, edi
movzx edi, word [ecx + edx*2 + 8]
xor eax, edi
inc edx
cmp esi, edx
jg 0x4650a0
pop esi
pop edi
pop ebp
ret
Function at 0x46bf80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, dword [ebp + 8]
xor esi, esi
cmp eax, 2
jb 0x46c011
mov edi, dword [ecx + esi]
mov dword [ebp - 0x10], edx
mov ebx, dword [edx + esi]
mov edx, edi
or edx, ebx
test edx, 0xff80ff80
jne 0x46c023
xor ebx, edi
shl ebx, 2
add edi, 0x50005
or edi, 0xa000a0
add edi, 0x1a001a
or edi, 0xff7fff7f
test edi, ebx
jne 0x46c033
add esi, 4
add eax, 0xfffffffe
cmp eax, 2
jae 0x46c00c
test eax, eax
je 0x46c016
movzx edi, word [ecx + esi]
mov edx, dword [ebp - 0x10]
movzx ebx, word [edx + esi]
mov edx, edi
or edx, ebx
cmp edx, 0x7f
ja 0x46c023
cmp edi, ebx
je 0x46c016
or edi, 0x20
lea eax, [edi - 0x61]
cmp eax, 0x19
ja 0x46c033
mov eax, ebx
or eax, 0x20
cmp edi, eax
sete dl
movzx edx, dl
jmp 0x46c055
mov edx, dword [ebp - 0x10]
jmp 0x46bf95
mov dword [ebp - 0x10], edx
jmp 0x46bfd6
mov eax, 1
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 4
test edi, 0xff80ff80
je 0x46c033
test ebx, 0xff80ff80
jne 0x46c03d
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 4
mov edx, esi
add edx, dword [ebp - 0x10]
push edx
push eax
add ecx, esi
mov edx, eax
call fcn.0046bec0
test eax, eax
sete dl
movzx edx, dl
movzx eax, dl
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret 4
Function at 0x4aa7b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov esi, edx
test ecx, ecx
je 0x4aa7d1
add ecx, 8
mov edi, ecx
jmp 0x4aa7d3
xor edi, edi
mov dword [ebp - 0x14], edi
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 0xc
call fcn.004039d0
call sub.KERNEL32.dll_ExpandEnvironmentStringsW
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4aaa40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebx], ecx
mov byte [ebp - 0x18], 0
mov ecx, 0x544320
call fcn.00520400
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push edi
push esi
lea ecx, [ebp - 0x30]
mov edx, 0x18
call fcn.004039d0
call sub.KERNEL32.dll_CreateThread
mov esi, eax
lea ecx, [ebp - 0x30]
call fcn.00403a01
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
mov byte [ebp - 0x18], 1
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], esi
mov ecx, eax
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10

Function at 0x4aaaf0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x14], eax
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
mov ecx, dword [ebp - 0x14]
push dword [ecx + 4]
lea ecx, [ebp - 0x28]
mov edx, 4
call fcn.004039d0
call sub.KERNEL32.dll_ResumeThread
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
cmp byte [ebp - 0x10], 0
je 0x4aab47
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4ab110
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edx
mov esi, edx
test ecx, ecx
je 0x4ab131
add ecx, 8
mov edi, ecx
jmp 0x4ab133
xor edi, edi
mov dword [ebp - 0x14], edi
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp + 8]
push esi
push edi
lea ecx, [ebp - 0x28]
mov edx, 0xc
call fcn.004039d0
call sub.KERNEL32.dll_GetEnvironmentVariableW
mov esi, eax
lea ecx, [ebp - 0x28]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.00401b02
mov dword [eax + 4], edi
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x4ab560
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
lea edx, [eax + 8]
xor ecx, ecx
test eax, eax
cmove edx, ecx
mov eax, edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea edx, [ebx + 8]
test ebx, ebx
cmove edx, ecx
mov ebx, edx
mov dword [ebp - 0x14], ebx
push 0
call sub.KERNEL32.dll_SetLastError
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
movsx ecx, word [ebp + 0x14]
push ecx
push ebx
push dword [ebp + 0x1c]
movzx ecx, word [ebp + 0x20]
push ecx
movsx ecx, di
push ecx
push esi
lea ecx, [ebp - 0x2c]
mov edx, 0x24
call fcn.004039d0
call sub.ADVAPI32.dll_ReportEventW
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00403a01
call sub.KERNEL32.dll_GetLastError
mov edi, eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
test esi, esi
setne bl
movzx ebx, bl
call fcn.00401b02
mov dword [eax + 4], edi
movzx eax, bl
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x1c
Function at 0x4ab610
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
xorps xmm4, xmm4
movups xmmword [ebp - 0x30], xmm4
movups xmmword [ebp - 0x20], xmm4
mov dword [ebp - 0x10], edx
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], ecx
lea edx, [ebp - 0x14]
cmp dword [ecx], ecx
call fcn.0048fc00
mov edi, dword [ebp + 8]
lea ecx, [edi + 8]
xor edx, edx
test edi, edi
cmove ecx, edx
mov dword [ebp - 0x1c], ecx
mov edi, dword [ebp + 0xc]
lea edx, [edi + 8]
xor eax, eax
test edi, edi
cmove edx, eax
mov dword [ebp - 0x20], edx
mov edi, dword [ebp + 0x10]
lea eax, [edi + 8]
xor edi, edi
cmp dword [ebp + 0x10], 0
cmove eax, edi
mov dword [ebp - 0x24], eax
mov edi, dword [ebp + 0x14]
add edi, 8
xor ebx, ebx
cmp dword [ebp + 0x14], 0
cmove edi, ebx
mov dword [ebp - 0x28], edi
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x2c], ebx
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
mov esi, dword [ebp - 0x18]
push ecx
push edx
push eax
push edi
push ebx
push dword [ebp - 0x34]
push dword [ebp - 0x10]
push dword [esi + 4]
lea ecx, [ebp - 0x48]
mov edx, 0x20
call fcn.004039d0
call sub.ADVAPI32.dll_RegEnumKeyExW
mov esi, eax
lea ecx, [ebp - 0x48]
call fcn.00403a01
xor ecx, ecx
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov dword [ebp - 0x24], ecx
xor ecx, ecx
mov dword [ebp - 0x20], ecx
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
cmp byte [ebp - 0x14], 0
je 0x4ab6ec
mov ecx, dword [ebp - 0x18]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x18

Function at 0x4ab840
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov esi, edx
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
cmp dword [ecx], ecx
call fcn.0048fc00
test esi, esi
je 0x4ab871
add esi, 8
jmp 0x4ab873
xor esi, esi
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push esi
push dword [ecx + 4]
lea ecx, [ebp - 0x2c]
mov edx, 0x18
call fcn.004039d0
call sub.ADVAPI32.dll_RegQueryValueExW
mov esi, eax
lea ecx, [ebp - 0x2c]
call fcn.00403a01
xor ecx, ecx
mov dword [ebp - 0x18], ecx
cmp byte [ebp - 0x10], 0
je 0x4ab8bc
mov ecx, dword [ebp - 0x14]
cmp byte [ecx], cl
xor edx, edx
call fcn.0048fc40
mov eax, esi
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0x10
Function at 0x4adf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 8]
mov esi, dword [ecx + 0xc]
mov edi, dword [ecx + 0x10]
lea ebx, [edx + edx*4]
rol ebx, 7
lea ebx, [ebx + ebx*8]
mov dword [ebp - 0x10], ebx
mov ebx, edx
shl ebx, 9
xor esi, eax
xor edi, edx
xor edx, esi
xor eax, edi
xor esi, ebx
rol edi, 0xb
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], esi
mov dword [ecx + 0x10], edi
mov ebx, dword [ebp - 0x10]
mov eax, ebx
shr eax, 1
cmp eax, 0x7fffffff
je 0x4adf07
pop ecx
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4d44c0
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
cmp edx, 0xffffffff
jne 0x4d44d3
mov edi, 0xd5313557
jmp 0x4d44f5
mov ecx, edx
call fcn.004d4400
mov edx, eax
mov ecx, 0x53f3d4
push ecx
mov ecx, 0x5366b8
call fcn.00448cb0
mov ecx, eax
call fcn.004d43a0
mov edi, eax
mov eax, edi
rol eax, 0xd
add eax, edi
mov edi, eax
xor edi, esi
mov eax, edi
rol eax, 0xf
add eax, edi
pop esi
pop edi
pop ebp
ret

Function at 0x4dd080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], edx
mov ecx, 0x54ac48
call fcn.004029a0
mov dword [ebp - 0x24], eax
mov byte [eax + 0x38], 1
mov dword [eax + 0x2c], 0xffffffff
mov dword [eax + 0x30], 0xffffffff
mov byte [eax + 0x39], 1
mov edx, 0x645700
mov dword [ebp - 0x28], edx
mov ecx, edx
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x14], ecx
mov ebx, edi
add ebx, 1
mov esi, ecx
adc esi, 0
push esi
push ebx
push ecx
push edi
mov ecx, edx
call fcn.00404e10
xor eax, edi
mov edi, dword [ebp - 0x14]
xor edx, edi
or edx, eax
mov edx, dword [ebp - 0x28]
jne 0x4dd0ba
mov ecx, esi
mov edx, ebx
mov eax, dword [ebp - 0x24]
lea edi, [eax + 4]
mov dword [edi], edx
mov dword [edi + 4], ecx
mov esi, dword [ebp - 0x20]
lea edx, [esi + 4]
call fcn.00402c2a
mov ecx, 0x554e28
call fcn.004029a0
mov edi, eax
movzx ebx, byte [ebp - 0x10]
movzx ecx, bl
movzx eax, byte [ebp + 8]
movzx edx, al
mov dword [ebp + 8], eax
test al, al
jne 0x4dd129
mov esi, 2
jmp 0x4dd12e
mov esi, 4
mov byte [edi + 0xa], cl
mov byte [edi + 0xb], dl
mov ecx, 0x554cac
call fcn.004029a0
mov dword [ebp - 0x2c], eax
mov ecx, esi
mov byte [eax + 8], cl
mov ecx, 0x566780
call fcn.004029a0
mov esi, eax
mov ecx, esi
mov edx, 5
call fcn.004ffa20
mov ecx, dword [ebp - 0x2c]
lea edx, [ecx + 4]
call fcn.00402c99
lea edx, [edi + 4]
call fcn.00402c4f
mov byte [edi + 9], 1
mov ecx, 0x5551c8
call fcn.004029a0
mov esi, eax
movzx edx, byte [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push edi
movzx edx, bl
mov ecx, esi
call fcn.004deaa0
mov edi, dword [ebp - 0x20]
lea edx, [edi + 8]
call fcn.00402c99
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4