joyce8/EMBER2024-capa huggingface dataset:
Function at 0x66001010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0xc
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx]
mov word [ebp - 0x1e], dx
mov eax, dword [ebp - 0x18]
cmp dx, word [eax]
jne 0x66001096
cmp word [ebp - 0x1e], 0
je 0x6600108d
mov ecx, dword [ebp - 0x1c]
mov dx, word [ecx + 2]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 0x18]
cmp dx, word [eax + 2]
jne 0x66001096
add dword [ebp - 0x1c], 4
add dword [ebp - 0x18], 4
cmp word [ebp - 0x20], 0
jne 0x66001051
mov dword [ebp - 0x24], 0
jmp 0x6600109e
sbb ecx, ecx
sbb ecx, 0xffffffff
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 0
jne 0x660010b2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
jmp 0x660010d0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x10]
jne 0x66001042
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x660010e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x78
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], 0
jmp 0x66001155
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x20]
add ecx, 2
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x18]
sub eax, 1
cmp dword [ebp - 8], eax
jae 0x6600118a
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 4]
add edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [0x660151f0]
add esp, 8
test eax, eax
jne 0x66001188
mov ecx, dword [ebp - 0x20]
movzx edx, word [ecx]
mov dword [ebp - 0xc], edx
jmp 0x6600118a
jmp 0x6600113a
cmp dword [ebp - 0xc], 0xffffffff
jne 0x66001194
xor eax, eax
jmp 0x660011b7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x14]
jbe 0x660011a3
xor eax, eax
jmp 0x660011b7
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
add eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, dword [eax + ecx*4]
mov eax, edx
mov esp, ebp
pop ebp
ret 8
Function at 0x660012a0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x660170e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
jmp 0x660012c4
mov eax, dword fs:[0x30]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xa4]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xa8]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x1c], 6
jne 0x66001309
cmp dword [ebp - 0x20], 0
jne 0x660012fd
mov dword [0x6601a790], 4
jmp 0x66001307
mov dword [0x6601a790], 5
jmp 0x66001355
cmp dword [ebp - 0x1c], 5
jne 0x66001345
cmp dword [ebp - 0x20], 0
jne 0x66001321
mov dword [0x6601a790], 1
jmp 0x66001343
cmp dword [ebp - 0x20], 1
jne 0x66001333
mov dword [0x6601a790], 2
jmp 0x66001343
cmp dword [ebp - 0x20], 2
jne 0x66001343
mov dword [0x6601a790], 3
jmp 0x66001355
cmp dword [ebp - 0x1c], 4
jne 0x66001355
mov dword [0x6601a790], 0
call fcn.66001290
test eax, eax
je 0x6600136a
mov dword [0x6601a78c], 0x66001270
jmp 0x660013a2
lea esi, [ebp - 0x14]
mov eax, 1
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov edx, dword [ebp - 8]
and edx, 0x800
je 0x66001398
mov dword [0x6601a78c], 0x66001250
jmp 0x660013a2
mov dword [0x6601a78c], 0x66001260
jmp 0x660013b4
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.66006f08
mov esp, ebp
pop ebp
ret

Function at 0x660014a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x660014be
xor eax, eax
jmp 0x660014e2
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x660014df
xor eax, eax
jmp 0x660014e2
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x66002b50
Capabilities:
Parse pe header

Disassembly:
push esi
push ecx
mov esi, dword fs:[0]
mov eax, esi
cmp byte [eax], 0xff
je 0x66002b64
mov eax, dword [eax]
jmp 0x66002b5b
mov eax, dword [eax + 4]
and eax, 0xffff0000
cmp word [eax], 0x5a4d
jne 0x66002b7f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp word [ecx], 0x4550
je 0x66002b82
dec eax
jmp 0x66002b67
pop ecx
pop esi
ret

Function at 0x66005040
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x660170e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0
push 1
push str.SeDebugPrivilege
call fcn.66004cc0
add esp, 8
mov eax, dword [ebp + 8]
push eax
push 4
call fcn.66006ce6
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x66005081
xor eax, eax
jmp 0x66005111
mov dword [ebp - 0x24], 0x1c
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.66006cfe
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.66004df0
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x660050d1
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.66006cf8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6600510e
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp + 8]
jne 0x6600510c
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.66004e10
add esp, 0xc
test eax, eax
je 0x6600510c
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
jmp 0x660050c1
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.66006f08
mov esp, ebp
pop ebp
ret

Function at 0x66006350
Capabilities:
Execute syscall

Disassembly:
mov edx, esp
sysenter
ret
Function at 0x660063a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x660170e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0
mov byte [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x49
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x61
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x7a
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x54
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x6b
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [0x66012108]
push eax
call fcn.66001cb0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 4
push 8
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
call fcn.66006370
test eax, eax
jne 0x66006494
push 8
mov ecx, dword [ebp - 0x18]
push ecx
push 0x66019678
call fcn.660074b0
add esp, 0xc
push 8
push 0x66017074
mov edx, dword [ebp - 0x18]
push edx
call fcn.660074b0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 8
mov edx, dword [ebp - 0x18]
push edx
push 0xffffffffffffffff
call fcn.66006370
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.66006f08
mov esp, ebp
pop ebp
ret
Function at 0x660064b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x660170e0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.66006920
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 0x64
mov byte [ebp - 0xd], 0x6c
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x6c
mov byte [ebp - 8], 0x6c
mov byte [ebp - 7], 0
mov byte [ebp - 0x2c], 0x4c
mov byte [ebp - 0x2b], 0x64
mov byte [ebp - 0x2a], 0x72
mov byte [ebp - 0x29], 0x49
mov byte [ebp - 0x28], 0x6e
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x74
mov byte [ebp - 0x25], 0x69
mov byte [ebp - 0x24], 0x61
mov byte [ebp - 0x23], 0x6c
mov byte [ebp - 0x22], 0x69
mov byte [ebp - 0x21], 0x7a
mov byte [ebp - 0x20], 0x65
mov byte [ebp - 0x1f], 0x54
mov byte [ebp - 0x1e], 0x68
mov byte [ebp - 0x1d], 0x75
mov byte [ebp - 0x1c], 0x6e
mov byte [ebp - 0x1b], 0x6b
mov byte [ebp - 0x1a], 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
push ecx
call dword [0x66012108]
push eax
call fcn.66001cb0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 4
push 8
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
call fcn.66006370
test eax, eax
jne 0x66006596
push 8
push 0x66019678
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.660074b0
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 8
mov ecx, dword [ebp - 0x18]
push ecx
push 0xffffffffffffffff
call fcn.66006370
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.66006f08
mov esp, ebp
pop ebp
ret

Function at 0x66021301
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp + 4]
jns 0x66024632
inc edi
stc
jmp 0x66094482
jmp 0x66076377
pushal
pushfd
pushal
inc edi
push esi
call fcn.66083ba8
clc
cmp edi, dword [esi + 0x34]
push 0xff403132
lea esp, [esp + 4]
jb 0x66094842
jmp 0x6607ba0d

Function at 0x660229d8
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushal
lea esp, [esp + 0x40]
jne 0x66098a16
call fcn.6601fe40
call fcn.66088652
mov ebp, 0x648dcc4a
lea esp, [esp + 0x28]
jl 0x6601e6a1
push ebp
lea esp, [esp + 4]
jne 0x66098a16
pushfd
mov dword [esp], 0x3e8
jmp 0x6609bf71
push 0x6601f378
push 0x949f4804
call fcn.6605a6c0
xchg edi, eax
aam 0x98
xchg ecx, eax
cwde
xor byte [edi - 0x5ad26f95], bh
adc eax, 0xa0e2e8d0
mov edx, 0xf12fcc78
invalid
neg cl
dec cx
rol ch, cl
cmp dx, 0x1de3
mov ecx, 1
call fcn.66066f90
jmp 0x6608b541

Function at 0x660229e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
pushal
lea esp, [esp + 0x40]
jne 0x66098a16
call fcn.6601fe40
call fcn.66088652
mov ebp, 0x648dcc4a
lea esp, [esp + 0x28]
jl 0x6601e6a1
push ebp
lea esp, [esp + 4]
jne 0x66098a16
pushfd
mov dword [esp], 0x3e8
jmp 0x6609bf71
push 0x6601f378
push 0x949f4804
call fcn.6605a6c0
xchg edi, eax
aam 0x98
xchg ecx, eax
cwde
xor byte [edi - 0x5ad26f95], bh
adc eax, 0xa0e2e8d0
mov edx, 0xf12fcc78
invalid
neg cl
dec cx
rol ch, cl
cmp dx, 0x1de3
mov ecx, 1
call fcn.66066f90
jmp 0x6608b541
Function at 0x66050c01
Capabilities:
Packed with generic packer

Disassembly:
hlt
inc ecx
sbb al, 0x49
or edi, edi
and ebx, eax
jg 0x66050b90
fiadd word [edi - 0x2cf5b25d]
or esi, esi
mov bl, 0xf0
xor byte [eax - 0x7699ada0], al
pushal
push edx
invalid
invalid
je 0x66050c2b
pushal
push edx
mov word [esp + 8], si
lea esp, [esp + 0x30]
call fcn.66006280
call fcn.66027618
pop ss
or esp, edi
cmc
and dword [0xf388eabf], edi
movsd dword es:[edi], dword [esi]
insb byte es:[edi], dx
push eax
mov dword [esi + 0x2b6fad90], esi
sahf
or byte [ebp - 0x17cfdb9c], cl
outsd dx, dword [esi]
push esi
sti
invalid
and dword [ebx + 0x1e82915], esp
aas
sub cl, byte [edi]
arpl ax, bx
jge 0x66050bec
jecxz 0x66050c89
lodsb al, byte [esi]
mov esi, 0xd96e5889
mov esp, 0x4f9a7cef
js fcn.66050c01
imul edx
sub ecx, dword [esi - 0x16f07a79]
clc
mov ss, ebx
lodsd eax, dword [esi]
out dx, al
sahf
sbb eax, 0x83551421
mov al, 0x83
inc ebp
popal
push ds
push eax
cmp esi, dword [ebp + 0x259465e5]
jbe 0x66050cd5
pop ebx
sbb ebp, edi
lahf
retf 0xb3fc
adc al, 0x9d
pop eax
sti
add dword [esi + 0x88af2b0], edi
push ds
xchg ecx, eax
dec edi
push 0x29948044
mov byte [esi - 0x5e0bb575], dh
mov esp, 0x202abc7d
pop edi
cld
mov ecx, 0x6f61e73a
cmpsd dword [esi], dword es:[edi]
insd dword es:[edi], dx
mov ds, word [edi + 0x25]
wait
test al, 0xb
and dword [edx], esp
std
sbb edi, dword [edi]
add byte [edi], al
inc eax
fsubr st(5)
jmp 0x66050cec
cmp eax, 0x2f1a7b3b
sub dword [ecx - 0x63], ebp
xor byte [ecx + 0x1718b87d], bl
stosd dword es:[edi], eax
arpl word [edi + 0x65], ax
frstor dword [esi]
xchg edx, eax
test dword [esi*8 - 0x62a4fe3d], ecx
fsub dword [bx + di]
sbb ebp, dword [edx - 0x40c768ad]
inc ebx
sbb bl, bh
mov ebx, 0xe3e4d930
sbb dh, byte [ecx + ebp]
pop ds
aam 0xa9
mov word [eax + 0x15], cs
in al, 0x55
std
cmp al, 0
lahf
invalid
cmc
ret
Function at 0x66052b9d
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
not ah
mov eax, dword [ebp - 4]
jmp 0x6608b675
push 0x1b82f799
jmp 0x660634e5
lea esp, [esp + 0x24]
je 0x660273d8
jp 0x660755a7
push 0
movsx ax, bl
lea eax, [esi*8 - 0x305ab66c]
lea eax, [edx*8 + 0x30775021]
lea eax, [ebp - 8]
xchg dh, cl
push eax
movsx dx, cl
mov ecx, dword [0x66019634]
movsx ax, bl
push ecx
rdtsc
cwde
cwde
cwde
mov edx, dword [0x66019638]
not al
movzx ax, al
movzx eax, cl
push edx
movsx ax, bl
jmp 0x66022ad8
pushal
pushfd
pushfd
call fcn.66080a18
nop
pushfd
lea esp, [esp + 8]
jmp loc.66005562
push eax
mov dword [esp + 0x40], 0x660755c9
push 0x6769913f
mov byte [esp], 0xb7
call fcn.6608fa67
adc ebx, edx
das
sbb byte [ecx - 0x2ceefffe], 0x2f
sub byte [ebp + 0x3e], cl
mov edi, 0xa430137
xor al, byte [esi + edi*4 + 0x1e]
bound ecx, qword [ebx - 0x79]
pop eax
arpl word [esp + esi*2 + 0x61312624], bx
popal
cwde
and byte [ebx], dh
mov dl, 0xc1
inc eax
mov bl, 0xf5
in al, 0x1d
popfd
stc
fcomp qword [ebp - 0x13b27a3e]
test byte [ebx + 0x17a82f8d], bh
lodsd eax, dword [esi]
or eax, 0xc6b6e0d8
arpl word [edx], bx
adc al, 0x55
add dword [edi], ebx
add byte [ebx], bh
sub dword [esi - 0x266173d4], edx
jge 0x660660ed
test edx, edx
jno 0x660660e3
jae 0x6606619e
sbb al, 9
aaa
dec eax
mov bh, 0x76
and ebx, esp
aas
add eax, 0x8910b4f2
test dword [edx], edi
or eax, 0x6749d716
test byte [edi], dh
lahf
mov byte [ebx + 0x11], ch
inc ebp
wait
jle 0x66066192
pop ds
inc ebx
std
ljmp 0xb384
add cl, ch
sub dword [eax - 0x76bb326a], ebx
dec eax
sti
mov edx, eax
xchg edx, eax
sar dword [edx - 0x6a5c120e], cl
mov cl, 0xd1
das
call 0x436306dd
and byte [ecx + ebp*2], ch
fistp word [edx + 0x16]
mov dword [0x6992dba4], eax
push edx
fisub dword [eax]
daa
cmp byte [edx], cl
xor dh, bl
mov ecx, dword [ebp + 0xd]
pop esp
push 0xffffffffffffffae
inc edi
into
aaa
pop es
mov al, 0x4d
int1
xor ebp, edi
jp 0x66066250
shl al, 1
mov dword [ecx], 0x3feb5444
pop esi
out dx, eax
ja 0x660661d0
in eax, dx
invalid
add al, byte [ecx + eax*2]
clc
xchg edx, eax
jno 0x66066292
push es
sbb al, byte [esi]
rcl byte [edx + ebp*8 - 0x276d2973], 0x5f
pop edi
dec ebp
jmp 0x6606623f
into
clc
add edi, dword [edx + 0x4720676b]
add byte [ebx - 0x58], cl
dec esi
int 0x94
ljmp 0xd13
lcall 0x41d8, 0x1ca23abe
test dword [esi], edx
jns 0x6606625c
xchg esp, eax
push ebp
jmp 0xf353d993
lea eax, [edi*4 + 0x2314d09b]
push 0
bswap ax
push 0x8539ae62
cwde
cwde
lea eax, [ebp - 8]
call fcn.6602663c
jo 0x66061bda
pushal
pushal
mov dword [esp + 0x3c], eax
mov byte [esp + 4], ah
pushfd
jmp 0x660660d0

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10001ad0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001ae9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x10001afd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10001b1e
cmp esi, eax
jae 0x10001af7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001b10
cmp esi, eax
jae 0x10001af7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x10003be0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1015edd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x10167a1b
mov dword [esp + 0x38], 0
call fcn.10003740
mov eax, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
push 0
push eax
push 0xbcb
push ecx
add esi, 0xfffffff0
mov dword [esp + 0x60], esp
mov edi, esp
push esi
mov byte [esp + 0x48], 1
call fcn.10001cd0
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x4c], 2
call fcn.10003740
mov eax, dword [esp + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push eax
mov byte [esp + 0x50], 3
call fcn.10003740
mov edx, dword [esp + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push edx
mov byte [esp + 0x54], 4
call fcn.10003740
mov eax, dword [esp + 0x58]
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x58], 5
call fcn.10003740
mov eax, dword [0x101c3898]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov edi, esp
push eax
mov byte [esp + 0x5c], 6
call fcn.10001cd0
add eax, 0x10
mov dword [edi], eax
mov eax, dword [0x101c3890]
add eax, 0xfffffff0
mov dword [esp + 0x50], esp
mov edi, esp
push eax
mov byte [esp + 0x60], 7
call fcn.10001cd0
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x5c], 0
call fcn.10050600
add esp, 0x30
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d02
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x100046a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10167e20
push 0x10101244
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, edi
jne 0x100046ef
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
cmp esi, edi
je 0x100047da
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi + 0x3c]
lea eax, [eax + esi + 0x18]
mov dword [ebp - 0x38], eax
cmp eax, edi
je 0x1000479d
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [ebp - 0x2c], ecx
je 0x1000479d
mov edx, dword [ecx + 0x1c]
add edx, esi
mov dword [ebp - 0x1c], edx
mov ebx, dword [ecx + 0x20]
add ebx, esi
mov dword [ebp - 0x3c], ebx
mov eax, dword [ecx + 0x24]
add eax, esi
mov dword [ebp - 0x30], eax
cmp edx, edi
je 0x1000479d
cmp ebx, edi
je 0x1000479d
cmp eax, edi
je 0x1000479d
xor edi, edi
mov dword [ebp - 0x28], edi
mov edi, edi
cmp edi, dword [ecx + 0x18]
jae 0x10004776
movzx ecx, word [eax + edi*2]
mov dword [ebp - 0x20], ecx
mov eax, dword [ebx + edi*4]
add eax, esi
mov dword [ebp - 0x40], eax
mov edx, dword [ebp + 0xc]
push edx
push eax
call fcn.10101b2a
add esp, 8
test eax, eax
jne 0x100047b8
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + ecx*4]
add eax, esi
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
lea edi, [edx + eax*4]
lea ecx, [ebp - 0x44]
push ecx
push 0x40
push 4
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x100047d3
mov edx, dword [ebp + 0x10]
sub edx, esi
mov dword [edi], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc edi
mov dword [ebp - 0x28], edi
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x30]
jmp 0x10004740
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 8
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov esi, eax
lea eax, [esp + 0x10]
push eax
push 0x40
push 4
push edi
push esi
call ebx
test eax, eax
je 0x10004841
lea ecx, [esp + 0xc]
push ecx
push 4
lea edx, [esp + 0x24]
push edx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x1000484a
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0xc]
push eax
push ecx
push 4
push edi
push esi
call ebx
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push eax
push 4
push edi
push esi
call ebx
pop edi
test eax, eax
pop esi
setne al
pop ebx
add esp, 8
ret

Function at 0x10005e10
Capabilities:
Allocate or change rwx memory

Disassembly:
sub esp, 0x10
mov eax, dword [0x101b9578]
mov dword [esp + 0xc], eax
mov al, 0x90
mov byte [esp + 6], al
mov byte [esp + 7], al
mov byte [esp + 8], al
mov byte [esp + 9], al
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp], 0xb8
mov byte [esp + 1], 7
mov byte [esp + 2], 0xb2
mov byte [esp + 3], 1
mov byte [esp + 4], 0
mov byte [esp + 5], 0xc3
je 0x10005ebd
mov ecx, dword [0x101c393c]
lea eax, [esp + 0x14]
push eax
push 0x40
push 0xa
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x10005ee5
mov edx, dword [0x101c393c]
push 0x101c3994
push 0xa
push 0x101c3988
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10005ee5
mov ecx, dword [0x101c393c]
push 0x101c3994
push 0xa
lea eax, [esp + 8]
push eax
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10005ee5
mov eax, 1
mov ecx, dword [esp + 0xc]
call fcn.1010122d
add esp, 0x10
ret
mov eax, dword [0x101c3994]
test eax, eax
jbe 0x10005eab
mov edx, dword [0x101c393c]
push 0x101c3994
push 0xa
push 0x101c3988
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x10005eab
mov ecx, dword [esp + 0xc]
xor eax, eax
call fcn.1010122d
add esp, 0x10
ret