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

Disassembly:
push ecx
mov eax, dword [0x4928a8]
xor edx, edx
cmp eax, edx
jne 0x430676
xor eax, eax
mov byte [eax + 0x4927a8], al
inc eax
cmp eax, 0x100
jl 0x43065e
mov dword [0x4928a8], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4927a8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x430707
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4306da
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4306a8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x430780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4307d3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4307ba
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4319f0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464ec8
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.0045eb3c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00431390
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.0045ea6a
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.00459685
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.00459685
push 1
push 0
push 0
mov ecx, esi
call fcn.0045962d
push 1
push 0
push 1
mov ecx, esi
call fcn.0045962d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0045ebae
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x431b70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464ee8
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.0045eb3c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00431390
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.0045ea6a
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 0x431c34
cmp dword [esp + 0x40], 1
jne 0x431c32
cmp ecx, eax
jge 0x431c34
mov eax, ecx
cmp eax, 0xc8
jge 0x431c40
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004319f0
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.0045ebae
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x4323c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x464f53
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.00457aa5
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.0045ede4
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00460761
test eax, eax
je 0x4324dc
mov ecx, dword [esp + 0x3c]
call fcn.0045ee11
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 0x4324a0
push edi
mov ecx, esi
call fcn.0045b6c2
mov ecx, esi
call fcn.00432640
cmp dword [esp + 0x38], 1
jne 0x4324d5
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.0045b7fd
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 0x438410
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x465558
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x438449
inc eax
mov dword [esi + 0x10], eax
jmp 0x43855c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43845d
mov eax, 0xffffffc7
jmp 0x43855e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43846e
cmp dword [esi + 8], eax
jne 0x43845d
cmp dword [esi + 8], eax
jne 0x438487
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x438487
mov eax, 0xffffffc7
jmp 0x43855e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43849b
push eax
mov ecx, ebx
call fcn.00437c40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401060
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4384cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004010b0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004373b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x4384ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46a708
call fcn.00401290
mov eax, dword [esp + 0x38]
jmp 0x43855e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00438270
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x438543
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00438290
mov esi, eax
test esi, esi
jne 0x438573
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00438270
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x438515
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46a708
call fcn.00401290
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x46a708
call fcn.00401290
mov eax, esi
jmp 0x43855e
Function at 0x43b970
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43b9a3
push esi
call fcn.0043e920
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43b99c
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 0x43ba29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43ba12
mov eax, dword [esi + 8]
test eax, eax
je 0x43b9c7
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 0x43ba0e
cmp eax, 2
je 0x43ba12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43b9ba
cmp eax, 3
je 0x43b9ed
cmp eax, 1
jne 0x43b9ba
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 0x43b9ba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43b9ba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043ba50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43ba38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043ba50
add esp, 4
pop esi
ret

Function at 0x45889b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4588d3
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.0045b481
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0045b459
jmp 0x4588df
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459f89
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 0x459fcb
call fcn.004614ee
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459fcb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459fc2
xor eax, eax
jmp 0x459fd3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459fd9
pop edi
pop esi
pop ebx
ret 4

Function at 0x461bac
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 0x461bda
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x461bf8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00461b12
jmp 0x461bf8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x461bf8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00461b12
test edi, edi
mov eax, edi
jne 0x461be2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x1d48ff8
Capabilities:
Encode data using xor

Disassembly:
ljmp 0xe56a:0xe0e59afa
jmp 0x1d49002
pushal
call 0x1d49008
pop ebp
sub ebp, 0x10
sub ebp, 0x1948ff8
jmp 0x1d4901e
mov eax, 0x1948ff8
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ad
mov edx, 0xc49a7d80
xor byte [eax], dl
inc eax
dec ecx
jne 0x1d49035
jmp 0x1d49048
or ecx, dword [ebp + 0xb]
or dword [eax + eax*4 + 0x41018080], edi
js 0x1d48fd4
add byte [eax - 0x79c7b27d], 0x80
add byte [eax - 0x7f7f57c6], 0x80
ja 0x1d490c6
or dword [eax + 0xb], 1
mov word [eax + 0x45838080], es
or eax, 0x97ca4e4
test byte [eax + edx*8 - 0x5ef39718], ah
sub al, 0x90
xor ebx, 0xffffff81
sub dword [esp - 0x415f4a18], 0x8085681b
add byte [eax - 0x7f7f4b97], 0x80
or eax, 0x97ca4e4
lodsb al, byte [esi]
movsb byte es:[edi], byte [esi]
or ebp, dword [ebx + ecx + 5]
mov byte [eax + 0x150b8080], al
mov word [eax + 0xd0b8080], es
nop
add byte [eax - 0x7d96be80], 0xb1
add byte [ebx], 0x42
test cl, cl
pop dword [0x7f7f7f74]
or ebp, dword [esp - 0x7b5b1bf3]
inc edx
mov word [eax - 0x7b5bf3f5], es
add byte [eax + 0xc68e880], 0xa1
or ecx, dword [esp]
test byte [eax + 0x68e88080], al
or al, 0xa1
sub al, 0x90
xor ebx, 0xffffff81
sub dword [esp - 0x7f7a972f], 0xbf698080
add byte [eax - 0x5b1bf280], 0x7c
or dword [esp - 0xa80222c], ebp
invalid
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x6a111e
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x6a113e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6a112a
add dl, dl
jne 0x6a1149
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6a119a
xor eax, eax
add dl, dl
jne 0x6a1156
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6a123b
add dl, dl
jne 0x6a1165
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6a1170
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6a117b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6a1186
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6a1190
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x6a1135
mov eax, 1
add dl, dl
jne 0x6a11a8
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6a11b3
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6a119f
sub eax, ebx
mov ebx, 1
jne 0x6a11e6
mov ecx, 1
add dl, dl
jne 0x6a11cc
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6a11d7
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6a11c3
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6a1135
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6a11fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6a1208
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6a11f4
cmp eax, 0x7d00
jae 0x6a122b
cmp eax, 0x500
jb 0x6a1226
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6a1135
cmp eax, 0x7f
ja 0x6a122e
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6a1135
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6a125c
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x6a1135
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4034cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x4034db
pop dword [ebp - 0x4c]
mov eax, 0xc8a8b3b6
sub eax, 0xc8687edb
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xb1371cf3
add dword [ebp - 0x5c], 0x9d1b2858
mov dword [ebp - 0x58], 0xb22a32d6
sub dword [ebp - 0x58], 0x7ff6e691
mov dword [ebp - 0x54], 0xd3794873
add dword [ebp - 0x54], 0x78d2fbbb
mov dword [ebp - 0x50], 0xace10442
add dword [ebp - 0x50], 0x531efbbe
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x85f0cd2c
add eax, 0x7a4f7328
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x32736560
add dword [ebp - 0x5c], 0x41ff03f6
mov dword [ebp - 0x58], 0x68791b33
sub dword [ebp - 0x58], 0x270cb9be
mov dword [ebp - 0x54], 0x5d7176b9
sub dword [ebp - 0x54], 0xfa020a4d
mov dword [ebp - 0x50], 0x38c1f60b
sub dword [ebp - 0x50], 0x38c1f60b
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x62a6e827
add eax, 0x9d995829
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x32e84
push 0
call eax
mov ecx, 0x7548a786
sub ecx, 0x75486f70
mov esi, eax
mov edi, 0x408400
add edi, dword [ebp - 0x4c]
mov edx, 0xd7252c01
add dword [ebp - 0x2c], 0xa926622e
mov ebx, dword [edi]
mov dword [ebp - 0x18], 0xb3ad5c7
xor ebx, edx
add dword [ebp - 0xc], ebx
mov dword [esi], ebx
mov dword [ebp - 0x10], 0x60946ca3
add esi, 0x1bfd973b
sub esi, 0x1bfd9737
add edi, 4
loop 0x4035f1
add eax, 0xe859fd1d
sub eax, 0xe85929f2
mov ebx, eax
add eax, 0x3ab56cf1
sub eax, 0x3ab56cec
mov ecx, 0x1ef6ac7
sub ecx, 0x1af6ac7
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x4c6750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7b000]
push edi
or ebp, 0xffffffff
jmp 0x4c6772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c6779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c6768
mov eax, 1
add ebx, ebx
jne 0x4c678b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c679c
jne 0x4c67bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c67bb
dec eax
add ebx, ebx
jne 0x4c67a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c6780
add ebx, ebx
jne 0x4c67b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c680d
xor ecx, ecx
sub eax, 3
jb 0x4c67d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c6842
sar eax, 1
mov ebp, eax
jmp 0x4c67de
add ebx, ebx
jne 0x4c67de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c67ac
inc ecx
add ebx, ebx
jne 0x4c67ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c67ac
add ebx, ebx
jne 0x4c67f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c67ee
jne 0x4c680a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c67ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c682c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c681e
jmp 0x4c676e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c682c
add edi, ecx
jmp 0x4c676e
pop esi
mov edi, esi
mov ecx, 0x3887
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c684a
cmp byte [edi], 0x11
jne 0x4c684a
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 0x4c684f
lea edi, [esi + 0xc2000]
mov eax, dword [edi]
or eax, eax
je 0x4c68c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xcca70]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xccbc4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c687c
mov ecx, edi
jns 0x4c68ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xccbc8]
or eax, eax
je 0x4c68c1
mov dword [ebx], eax
add ebx, 4
jmp 0x4c6899
call dword [esi + 0xccbd8]
mov ebp, dword [esi + 0xccbcc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x4c68fb
sub esp, 0xffffff80
jmp 0x417520
Function at 0x6cd1b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.006cd140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.006cd140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.006cd140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.006cd140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0x6cdbfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x6cdc50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x6df87c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x6cdc43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x6cdc52
xor eax, eax
pop esi
leave
ret 4

Function at 0x438ca6
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x438a14
sub esi, 0xe509f123
dec esi
add esi, edx
call fcn.00438cdd
sub edx, edx
xor dword [ebx], eax
add esi, esi
mov esi, 0xc6273310
sub esi, esi
inc ebx
and esi, edx
cmp ebx, ecx
jne fcn.00438ca6
and edx, esi
ret
Function at 0x4026e0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x42c2f0]
xor eax, esp
mov dword [esp + 0x22c], eax
push esi
push edi
push 0x228
lea eax, [esp + 0x10]
push 0
push eax
mov edi, 1
mov dword [esp + 0x14], 0
call fcn.00412200
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x402773
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x40276c
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call ebx
cmp dword [esp + 0x24], eax
je 0x40276b
lea ecx, [ecx]
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x402769
call ebx
cmp dword [esp + 0x24], eax
jne 0x402750
jmp 0x40276b
xor edi, edi
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.0040fbc6
add esp, 0x230
ret