joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b7d0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d9d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00466573
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043b170
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004664a1
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00462d5f
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00462d5f
push 1
push 0
push 0
mov ecx, esi
call fcn.00462d07
push 1
push 0
push 1
mov ecx, esi
call fcn.00462d07
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004665e5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43b950
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46d9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00466573
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043b170
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004664a1
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43ba14
cmp dword [esp + 0x40], 1
jne 0x43ba12
cmp ecx, eax
jge 0x43ba14
mov eax, ecx
cmp eax, 0xc8
jge 0x43ba20
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043b7d0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.004665e5
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43c1a0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46da63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0046117c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046681b
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00467d37
test eax, eax
je 0x43c2bc
mov ecx, dword [esp + 0x3c]
call fcn.00466848
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43c280
push edi
mov ecx, esi
call fcn.00463ead
mov ecx, esi
call fcn.0043c420
cmp dword [esp + 0x38], 1
jne 0x43c2b5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00463fe8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43ecf0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43ed23
push esi
call fcn.00441de0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43ed1c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43eda9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ed92
mov eax, dword [esi + 8]
test eax, eax
je 0x43ed47
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43ed8e
cmp eax, 2
je 0x43ed92
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43ed3a
cmp eax, 3
je 0x43ed6d
cmp eax, 1
jne 0x43ed3a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43ed3a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43ed3a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043edd0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43edb8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043edd0
add esp, 4
pop esi
ret

Function at 0x44a210
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44a276
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44a276
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44a257
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x44adb0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044af00
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44add0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44adb1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0044af00
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x44add0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x44ae00
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x44ae57
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x44ae6d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0044ae90
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x44ae90
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x44af20
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44af69
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x44b3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46df90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044af90
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044b010
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044b010
lea ecx, [esi + 0xc]
call fcn.0045fb59
lea ecx, [esi + 0x10]
call fcn.0045fb59
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044d840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044d840
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044d840
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0045fbce
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0045fbce
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x44c088
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x46e1b8
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x44c098
call fcn.0044c5b0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x44c17b
cmp byte [edi], 0
je 0x44c17b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x44c0bd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0044adb0
test eax, eax
jne 0x44c0dd
push 0x554500
lea ecx, [esi + 0x38]
call fcn.0045fd0b
jmp 0x44c17b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0044ae00
test eax, eax
jne 0x44c10c
mov ecx, esi
call fcn.0044af00
push edi
add esi, 0x38
push 0x5544dc
push esi
call fcn.0045db6a
add esp, 0xc
jmp 0x44c17b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0044ce30
test eax, eax
je 0x44c174
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0044c250
test eax, eax
jne 0x44c190
push edi
lea eax, [esi + 0x38]
push 0x5544b8
push eax
call fcn.0045db6a
add esp, 0xc
mov ecx, esi
call fcn.0044c5b0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x44c238
mov ecx, dword [0x554800]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0045db6a
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0044aeb0
test eax, eax
jne 0x44c1fa
push 0x55449c
lea ecx, [esi + 0x38]
call fcn.0045fd0b
jmp 0x44c20a
push 0xfa
mov ecx, esi
call fcn.0044ce30
test eax, eax
jne 0x44c227
mov ecx, esi
call fcn.0044c5b0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fbce
jmp 0x44c17b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0045fbce
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x461f72
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x461faa
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460029
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460001
jmp 0x461fb6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x463667
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4636a9
call fcn.004691d7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4636a9
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4636a0
xor eax, eax
jmp 0x4636b1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004636b7
pop edi
pop esi
pop ebx
ret 4

Function at 0x469707
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x469735
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x469753
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046966d
jmp 0x469753
mov eax, dword [esi + 0x14]
test eax, eax
je 0x469753
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046966d
test edi, edi
mov eax, edi
jne 0x46973d
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405cbb
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c60c], 0
push esi
jne 0x405cf2
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405ccc
mov dword [ecx*4 + 0x42c608], eax
inc ecx
cmp ecx, 0x100
jl 0x405cc7
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405d23
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c608]
xor eax, esi
inc ecx
dec edx
jne 0x405d05
pop edi
not eax
pop esi
ret 0xc

Function at 0x40c7d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40a015
lea edi, [esi - 0x9015]
push edi
jmp 0x40c7ea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40c7f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40c7e0
mov eax, 1
add ebx, ebx
jne 0x40c803
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40c7f8
jne 0x40c814
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c7f8
xor ecx, ecx
sub eax, 3
jb 0x40c828
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40c89a
mov ebp, eax
add ebx, ebx
jne 0x40c833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40c840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40c864
inc ecx
add ebx, ebx
jne 0x40c850
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40c845
jne 0x40c861
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40c845
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40c884
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40c875
jmp 0x40c7e6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40c884
add edi, ecx
jmp 0x40c7e6
pop esi
mov edi, esi
mov ecx, 0xb8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40c8a2
cmp byte [edi], 1
jne 0x40c8a2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40c8a7
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x40c916
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc03c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40c8d4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc040]
or eax, eax
je 0x40c910
mov dword [ebx], eax
add ebx, 4
jmp 0x40c8f1
call dword [esi + 0xc050]
mov ebp, dword [esi + 0xc044]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40c94a
sub esp, 0xffffff80
jmp 0x401340
Function at 0x401000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
push esi
push edi
lea ecx, [ebp - 0x30]
push ecx
xor ebx, ebx
push 0xf003f
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], 0x40
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jns 0x401049
xor esi, esi
mov dword [ebp - 0x10], esi
jmp 0x40104c
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], esi
cmp esi, ebx
je 0x401135
push str.ImagePath
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov edi, dword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
lea ecx, [ebp - 8]
push ecx
push ebx
push ebx
push 2
lea edx, [ebp - 0x18]
push edx
push esi
call edi
cmp eax, 0xc0000034
je 0x40112b
mov eax, dword [ebp - 8]
cmp eax, ebx
jbe 0x40112b
push eax
push ebx
call dword [sym.imp.ntoskrnl.exe_ExAllocatePool]
mov esi, eax
cmp esi, ebx
je 0x401135
mov ecx, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push ecx
push esi
push 2
lea edx, [ebp - 0x18]
push edx
push eax
call edi
test eax, eax
jns 0x4010d7
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [esi + 8]
lea edx, [esi + 0xc]
cmp edi, 0x208
jae 0x4010f8
mov eax, dword [ebp + 8]
push edi
push edx
push eax
call sub.ntoskrnl.exe_memcpy
mov ecx, dword [ebp + 8]
mov byte [edi + ecx], bl
jmp 0x40110d
mov edi, dword [ebp + 8]
push 0x208
push edx
push edi
call sub.ntoskrnl.exe_memcpy
mov byte [edi + 0x207], bl
mov eax, dword [ebp - 0xc]
add esp, 0xc
push eax
call dword [sym.imp.ntoskrnl.exe_ZwClose]
push ebx
push esi
call dword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ntoskrnl.exe_ZwClose]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4042e0
Capabilities:
Encode data using xor

Disassembly:
iretd
cmp byte [edi - 0x1f], al
add cl, dl
mov edi, ss
inc eax
sar dword [edi + 0x5e18d546], cl
loop 0x404229
and edx, 0xbbd5fd59
ret
push eax
mov dword [0x4261c05b], eax
xchg edi, eax
int 0xbd
push esp
xchg edx, eax
jne 0x40422c
adc dword [esi], ecx
or al, 0xfc
stosb byte es:[edi], al
or eax, 0xbfe02d3c
push es
push ds
invalid
mov ds, word [ebp + 0x1c2c7873]
mov eax, 0x9e1ce188
shl dword [esi + 0x2a], cl
xchg edx, eax
xchg ecx, eax
sbb eax, 0xf0ae371b
clc
int1
jecxz 0x404261
adc eax, 0x596c5646
and dword [edx - 0x3b], esi
jb 0x4042a7
mov ss, word [ebx - 0xf97cbe9]
push 0x20958524
mov al, 0x2c
and dword [edx + 0x4c261167], 0x2a3d389c
mov byte [0x4c261167], al
pushfd
cmp byte [0xf06532a], bh
pushfd
aaa
invalid
xor eax, 0x1616872
add cl, byte [ecx]
sbb al, 0xa5
dec ecx
loope 0x4042e7
add bl, 5
sub dl, ah
inc edi
outsb dx, byte [esi]
out dx, al
push esp
mov ch, 0x14
enter 0x2812, 0xffffffffffffffad
mov al, byte [0x4a2951c]
ljmp 0xea94

Function at 0x428561
Capabilities:
Hash data with crc32

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x10]
mov dword [esi + 4], eax
mov dword [esi], edi
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov ecx, edi
mov dword [esi + 0xc], eax
call 0x2fd4a5
mov ecx, edi
mov ebx, eax
call 0x6d04bb
mov dword [esi + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
test al, al
je 0x4285a9
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 8]
dec ecx
imul ecx, eax
add ebx, ecx
neg eax
mov dword [esi + 0x14], eax
sar dword [esi + 0x14], 2
mov dword [esi + 0x10], ebx
xor edx, edx
lea eax, [esi + 0x18]
push 8
mov ecx, edx
pop edi
test cl, 1
je 0x4285c9
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x4285cb
shr ecx, 1
dec edi
jne 0x4285ba
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0x100
jl 0x4285b5
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x428634
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
je 0x428647
mov eax, dword [ecx + 0x28]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [esi + 8]
push eax
mov ecx, edi
mov dword [ebp + 8], edi
call 0x78d5d0
push dword [ebp + 0xc]
mov ebx, dword [esi + 0x2c]
mov ecx, edi
call 0x78d5d0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x42867b
push dword [eax + 0x28]
mov edx, dword [edi]
push dword [eax + 0x20]
mov ecx, edi
call dword [edx]
mov eax, dword [esi + 0x2c]
mov ecx, eax
or edi, 0xffffffff
sub ecx, ebx
mov dword [ebp + 0x10], eax
mov dword [esi + 0x2c], ebx
je 0x4286ad
mov ebx, ecx
mov ecx, esi
call 0x78d200
mov ecx, dword [ebp - 4]
xor eax, edi
and eax, 0xff
shr edi, 8
xor edi, dword [ecx + eax*4 + 0x18]
dec ebx
jne 0x42868f
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
not edi
push edi
mov dword [esi + 0x2c], eax
call 0x78d5d0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x438294
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebp + 8]
mov edi, dword [ebp + eax*4 - 0x10]
mov eax, edi
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43825b
sub eax, esi
mov dword [ebp - 4], eax
cmp byte [ebx], cl
je 0x438290
mov esi, ebx
mov al, byte [edi]
test al, al
je 0x438290
movzx ecx, byte [esi]
movzx edx, byte [ecx + 0x9f37628]
movsx eax, al
xor edx, ecx
cmp edx, eax
jne 0x438289
dec dword [ebp - 4]
inc edi
inc esi
cmp byte [esi], 0
jne 0x43826d
cmp dword [ebp - 4], 0
je 0x4382c5
inc dword [ebp + 8]
cmp dword [ebp + 8], 3
jl 0x43824f
mov edi, 0x9f3f498
push edi
push ebx
call 0x330670
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4382dd
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4382b8
sub eax, edx
add esi, eax
jmp 0x4382df
mov eax, dword [ebp + 8]
mov eax, dword [ebp + eax*4 - 0x10]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4382cf
sub eax, edx
lea esi, [eax + ebx]
jmp 0x4382df
mov esi, ebx
cmp ebx, esi
jae 0x438303
mov edi, ebx
mov al, byte [edi]
movzx ecx, al
mov cl, byte [ecx + 0x9f37628]
xor cl, al
movzx eax, cl
mov ecx, dword [ebp + 0xc]
push eax
call 0x330a48
inc edi
cmp edi, esi
jb 0x4382e5
xor edi, edi
jmp 0x438325
mov al, byte [esi]
cmp al, 0x2f
je 0x438315
cmp al, 0x5c
je 0x438315
xor edi, edi
jmp 0x43831b
inc edi
cmp edi, 1
jg 0x438324
mov ecx, dword [ebp + 0xc]
push eax
call 0x330a48
inc esi
cmp byte [esi], 0
jne 0x438307
push ebx
call 0x54e69a
pop ecx
mov al, 1
pop edi
jmp 0x438338
pop esi
pop ebx
leave
ret