joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000a8e2
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10048388], 0
mov byte [0x1004838c], 0
mov dword [0x1004837c], 0x1572
mov dword [0x10048384], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x1000a9ea
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0x100
add eax, 0xffffdea4
mov dword [0x1004837c], eax
mov eax, dword [0x10048388]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x10048388], edx
mov dword [0x1004837c], 0xa8
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1004838c], bl
mov dword [0x1004837c], 0xffffe0d7
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov ecx, dword [0x1004837c]
add ecx, 0xffffd9d2
mov dword [0x1004837c], ecx
mov bl, byte [0x1004838c]
mov ecx, dword [0x10048388]
mov byte [esi + ecx], bl
mov dword [0x10048380], 0x2369
mov ecx, dword [0x10048384]
add ecx, 1
mov dword [0x10048384], ecx
cmp ecx, 0x100
mov dword [ebp - 0x2c], ecx
jl 0x1000aa4a
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x1c]
mov dword [0x10048380], 0x2511
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x1004837c], 0x18c6
mov eax, dword [0x10048384]
add eax, 1
mov dword [0x10048384], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x1000a9ea
xor eax, eax
mov ecx, 0x18c6
mov dword [0x10048380], 0x111d
mov dword [0x10048384], 0
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ecx
jmp 0x1000a92c
mov eax, dword [0x1004837c]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x1000a92c
Function at 0x1000ac48
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x10048380], 0x2649
mov dword [0x1004837c], 0x21
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.1000b51d
lea ecx, [0x1000af9d]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x58], 0x115600
mov edx, dword [0x10048368]
mov dword [esp + 0x60], edx
mov edx, dword [0x1004836c]
mov dword [esp + 0x44], edx
mov edx, dword [0x10048370]
mov dword [esp + 0x84], edx
mov edx, dword [0x10048374]
mov dword [esp + 0x6c], edx
mov edx, dword [0x10048378]
mov dword [esp + 0x3c], edx
mov dword [0x1004837c], 0x1d4e
mov dword [0x10048380], 0x1a25
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x1000ad1a
mov eax, dword [esp + 0x18]
add eax, 0x3c
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0x10], ecx
je 0x1000ad2e
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x1000ace7
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
mov dword [0x10048380], 0x1570
mov edx, dword [esp + 0x10]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x5c], esi
mov dword [0x1004837c], 0x10c2
add eax, 8
mov dword [esp + 0xc], eax
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.1000b3a3
mov dword [0x10048380], 0x26cc
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x1000b3a3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [0x1004837c], 0xffffff31
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
xor eax, eax
mov dword [ebp - 0x2c], eax
jmp 0x1000b3c6
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x1000c7ca]
mov dl, byte [eax + 0x1000c79b]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x1000b3c6
lea eax, [ebp - 0x20]
mov dword [0x10048380], 0x196f
mov dword [ebp - 0x30], eax
mov dword [0x1004837c], 0xfffffb5d
call fcn.1000b111
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.1000b224
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x1000b4e6
mov eax, dword [0x1004837c]
mov ecx, dword [ebp - 0x34]
add eax, 0xfffff746
mov dword [0x1004837c], eax
mov eax, esp
mov dword [eax + 0xc], 0x40
mov dword [eax + 8], 0x1000
mov dword [eax + 4], 0x6000
mov dword [eax], 0
call ecx
sub esp, 0x10
mov ecx, dword [0x10048380]
add ecx, 0x25fa
mov dword [0x1004837c], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.1000ae48
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [0x10048380], 0x301
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1004837c], 0xffffdedf
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x48], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x30], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x1000b4e6
mov eax, dword [ebp - 0x3c]
add eax, 0x1552
mov dword [0x10048380], 0xca2
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10001df1
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10006040
cmp edx, dword [eax]
je 0x10001e13
add eax, 8
inc ecx
cmp eax, 0x100060d0
jl 0x10001e04
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10006040]
jne 0x10001f41
mov eax, dword [0x10008450]
cmp eax, 1
je 0x10001f1b
test eax, eax
jne 0x10001e44
cmp dword [0x10008454], 1
je 0x10001f1b
cmp edx, 0xfc
je 0x10001f41
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10001e7b
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100032c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100033b0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10001ebe
lea eax, [ebp - 0x1a4]
push eax
call fcn.100033b0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100053c4
push edi
call fcn.10003bd0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100032c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100032d0
lea eax, [ebp - 0xa0]
push 0x100053a4
push eax
call fcn.100032d0
push dword [esi + 0x10006044]
lea eax, [ebp - 0xa0]
push eax
call fcn.100032d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10003b45
add esp, 0x2c
pop edi
jmp 0x10001f41
lea eax, [ebp + 8]
lea esi, [esi + 0x10006044]
push 0
push eax
push dword [esi]
call fcn.100033b0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403c95
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, esi
cdq
mov edi, 0x3e8
idiv edi
sub esi, 0x7fffffff
imul edx, edx, 0x3e8
mov dword [ebp - 8], eax
neg esi
sbb esi, esi
lea eax, [ebp - 8]
and esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 8]
mov ecx, eax
xor edi, edi
inc edi
dec ecx
neg ecx
sbb ecx, ecx
mov dword [ebp - 4], edx
push esi
not ecx
lea edx, [ebp - 0x12c]
and ecx, edx
neg eax
push 0
push ecx
sbb eax, eax
not eax
mov ecx, edx
and eax, ecx
push eax
push edi
mov dword [ebp - 0x12c], edi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
je 0x403d20
test eax, eax
je 0x403d11
cmp eax, edi
jne 0x403d20
xor ecx, ecx
cmp eax, edi
sete cl
pop edi
mov al, cl
pop esi
leave
ret 8
push str.select___failed
lea ecx, [ebp - 0x28]
call fcn.004043d8
push 0x408b20
lea eax, [ebp - 0x28]
push eax
call sub.MSVCR71.dll__CxxThrowException
int3

Function at 0x430002
Capabilities:
Authenticate hmac
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403daa
nop
nop
sub eax, 0x403d50
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0xa8afd8
Capabilities:
Encode data using xor

Disassembly:
jmp 0xa8afe2
pushal
call 0xa8afe8
pop ebp
sub ebp, 0x10
sub ebp, 0x68afd8
jmp 0xa8affe
mov eax, 0x68afd8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5f8
mov edx, 0x89369711
xor byte [eax], dl
inc eax
dec ecx
jne 0xa8b015
jmp 0xa8b028
lcall 0x1111, 0x2d989adc
adc dword [eax + 0x1111e9d0], edx
adc dword [edx], edx
fsubr qword [ecx + 0x11111116]
stosd dword es:[edi], eax
cmp dword [ecx], edx
adc dword [ecx], edx
out 0xf3, al
adc bl, cl
lcall 0x1211, 0x11111d90
aam 0x41
inc ecx
jns 0xa8b05f
mov al, byte [0xad79111f]
out dx, eax
dec eax
adc dword [eax], edx
cmp eax, 0x5b9d7935
pop ebx
add bh, byte [eax]
stc
adc al, 0x11
adc dword [ecx], edx
clc
and eax, 0x9c111111
jne 0xa8b0a4
in eax, dx
cwde
cmp eax, 0x9afd9a35
xchg esp, eax
sbb dword [ecx], edx
adc dword [ecx], edx
lcall 0x9a11, 0x11111d84
pushfd
add dword [ecx], edx
adc dword [ecx], edx
sar al, 1
adc esp, dword [eax]
adc edx, dword [edx + 0x1e5815d3]
xchg esp, eax
in eax, 0xee
out dx, al
out dx, al
lcall 0x1535, 0x759c353d
rcr dword [0x359d9a11], cl
adc eax, 0x79111111
or eax, 0x79111fa0
adc dword [ecx], edx
adc dword [ecx + 0xd], edi
mov al, byte [0xad79111f]
lodsd eax, dword [esi]
out dx, eax
dec eax
adc dword [eax], edx
cmp eax, 0x35759c35
in eax, dx
cwde
sbb eax, 0x1114f935
adc dword [ecx], edx
clc
inc eax
adc edx, dword [ecx]
adc dword [edx + ebx*4 - 3], eax
out dx, al
sbb eax, 0xf91964ee
xchg ebp, eax
adc dword [ecx], edx
adc dword [edx + 0x111119ac], ebx
adc dword [eax + 0x41a8f3e0], edx
xchg dword [eax + 0x41a8f3e0], edx
xchg dword [edx], esp
fcom dword [eax - 0x6bcdde1d]
mov ah, 0x90
jecxz 0xa8b111
xor dl, byte [esp + esi*4 - 0x66d3cde]
adc al, 0x59
push ds
xchg ebp, eax
pop edi
adc dword [ecx], edx
adc dword [esi], ebx
cdq
pop ecx
adc dword [ecx], edx
adc dword [edi - 0x66], esi
or eax, 0xf9ea9128
push ds
xchg ebp, eax
or edx, dword [ecx]
adc dword [ecx], edx
xchg ecx, eax
ljmp 0x1111
adc dword [ecx - 0x6ae10716], edx
add byte [ecx], dl
adc dword [ecx], edx
ja 0xa8b0ad
ljmp 0x1104:0x951e34ee
Function at 0x100114b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003018d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x1003e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.100019e0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x14]
push ecx
call fcn.100128f0
add esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0x10012950
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
push 0
lea ecx, [ebp - 0x14]
call fcn.1000b6f0
push eax
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
call fcn.1001a2c5
add esp, 0x18
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov edx, dword [ebp - 0x18]
cmp dword [edx], 0
je 0x1001153c
lea ecx, [ebp - 0x14]
call fcn.10011f90
jmp 0x1001154d
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], 0
push 6
call fcn.100158a7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10011fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100160a5
mov esp, ebp
pop ebp
ret 4

Function at 0x100124c0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x100124de
mov ecx, dword [ebp - 8]
call fcn.10012560
jmp 0x100124f1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x100124f1
mov ecx, dword [ebp - 8]
call fcn.100125f0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0xb
mov edx, dword [ebp - 8]
and ecx, dword [edx + 0x1384]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
shl eax, 7
and eax, 0x9d2c5680
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shl ecx, 0xf
and ecx, 0xefc60000
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
shr edx, 0x12
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10012560
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x1001257b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x100125e7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x100125bf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x100125c6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10012572
mov esp, ebp
pop ebp
ret
Function at 0x100125f0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], ecx
mov dword [ebp - 0x28], 0x26f
mov dword [ebp - 0x2c], 0xe3
mov dword [ebp - 8], 0
jmp 0x10012619
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xe3
jae 0x10012685
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
and edx, 1
je 0x1001265d
mov dword [ebp - 0x14], 0x9908b0df
jmp 0x10012664
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
shr eax, 1
xor eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10012610
mov dword [ebp - 0xc], 0xe3
jmp 0x10012697
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x26f
jae 0x10012703
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
and edx, 1
je 0x100126db
mov dword [ebp - 0x1c], 0x9908b0df
jmp 0x100126e2
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
shr eax, 1
xor eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + ecx*4 + 4], eax
jmp 0x1001268e
mov dword [ebp - 0x30], 0x26f
mov eax, 4
imul ecx, eax, 0x4df
mov edx, dword [ebp - 4]
mov eax, dword [edx + ecx + 4]
and eax, 0x80000000
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + edx + 4]
and edx, 0x7fffffff
or eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
and eax, 1
je 0x1001274c
mov dword [ebp - 0x24], 0x9908b0df
jmp 0x10012753
mov dword [ebp - 0x24], 0
mov ecx, dword [ebp - 0x20]
shr ecx, 1
xor ecx, dword [ebp - 0x24]
mov edx, 4
imul eax, edx, 0x18c
mov edx, dword [ebp - 4]
xor ecx, dword [edx + eax + 4]
mov eax, 4
imul edx, eax, 0x26f
mov eax, dword [ebp - 4]
mov dword [eax + edx + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret
Function at 0x10013e10
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1003e040]
xor eax, ebp
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x14]
call fcn.100139f0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x10]
call fcn.100138c0
lea ecx, [ebp - 0x10]
call fcn.10013920
movzx edx, al
test edx, edx
je 0x10013e92
lea ecx, [ebp - 0x10]
call fcn.10013950
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x1c], 0
je 0x10013e92
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x10]
call fcn.10013970
push eax
call fcn.10013ec0
add esp, 4
cmp eax, 0x820621f3
jne 0x10013e90
mov eax, dword [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.100139a0
jmp 0x10013ea3
jmp 0x10013e51
lea ecx, [ebp - 0x14]
call fcn.10013a10
movzx ecx, al
test ecx, ecx
jne 0x10013e28
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100160a5
mov esp, ebp
pop ebp
ret

Function at 0x10013fc0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
je 0x10013fd7
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x10013fdb
xor al, al
jmp 0x10014043
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001d370
add esp, 4
test eax, eax
jne 0x10013fef
xor al, al
jmp 0x10014043
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.100141a0
movzx edx, al
test edx, edx
jne 0x1001400e
xor al, al
jmp 0x10014043
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10014039
mov dword [ebp - 8], 1
jmp 0x10014040
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10014050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], 0
je 0x10014067
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x1001406b
xor al, al
jmp 0x100140d3
mov ecx, dword [ebp + 8]
push ecx
call fcn.1001d370
add esp, 4
test eax, eax
jne 0x1001407f
xor al, al
jmp 0x100140d3
lea edx, [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.100140e0
movzx edx, al
test edx, edx
jne 0x1001409e
xor al, al
jmp 0x100140d3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x100140c9
mov dword [ebp - 8], 1
jmp 0x100140d0
mov dword [ebp - 8], 0
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100146ee
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1003e040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x100147f9
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100147f2
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x100147b6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100147b6
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100147b6
mov edx, dword [esi]
test edx, edx
jne 0x1001477f
push 0x200
push edx
push dword [0x1003fcf0]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100147db
lea ebx, [esi + 8]
jmp 0x100147a9
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x100147a9
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1003fcf0]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1001480a
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x10014737
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x100147f2
xor edi, edi
cmp dword [esi], edi
je 0x100147f2
push dword [esi]
push edi
push dword [0x1003fcf0]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100160a5
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x100147db

Function at 0x1001480f
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.100146ee
test eax, eax
jne 0x10014833
push 9
pop esi
jmp 0x1001487a
cmp dword [edi], esi
je 0x1001487a
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x10014879
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x10014873
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1001459b
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1001483f
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret