joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Hash data with crc32

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x10000
push 2
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov dword [0x405434], eax
call edi
push 0x8040
push 2
mov dword [0x405430], eax
call esi
push eax
mov dword [0x40546c], eax
call edi
push 0x400
push 2
mov dword [0x40545c], eax
call esi
push eax
mov dword [0x40544c], eax
call edi
mov dword [0x405438], eax
and dword [eax], 0
push 1
pop eax
pop edi
pop esi
push 8
mov ecx, eax
pop edx
test cl, 1
je 0x40106c
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x40106e
shr ecx, 1
dec edx
jne 0x40105d
mov edx, dword [0x405438]
mov dword [edx + eax*4], ecx
inc eax
cmp eax, 0x100
jl 0x401058
ret

Function at 0x4020a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x4020b2
or eax, 0xffffffff
mov dword [section..data], eax
jmp 0x4020eb
mov edx, dword [esp + 8]
mov eax, dword [section..data]
push esi
mov esi, edx
dec edx
test esi, esi
je 0x4020e5
push edi
inc edx
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
mov edi, dword [0x405438]
shr eax, 8
mov esi, dword [edi + esi*4]
xor eax, esi
inc ecx
dec edx
jne 0x4020c5
pop edi
mov dword [section..data], eax
pop esi
not eax
ret 8
Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408ed0
nop
nop
mov ecx, 0x2c4121a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x4a806f29
nop
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219

Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
nop
mov ecx, 0x2c896bd2
nop
nop
nop
test eax, eax
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x64cb538a
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4020a7
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.006:107_4:_00007:277_0:_004:_04:_008:_08:_08:_8:_7:2_3:_9:193_4:_
lea ecx, [ebp - 0x1c]
call fcn.004021b1
push 0xc
call fcn.004067ce
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
call fcn.00401e79
mov eax, dword [eax + 4]
shl eax, 2
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push 0x40
push 0x4ac
push 0x47ec00
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
xor eax, eax
push eax
push eax
push eax
push 0x402057
push eax
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ecx
push ecx
call fcn.00401c94
pop ecx
pop ecx
mov edx, 0x47ec00
add edx, 0x188
mov esi, section..Shine
push esi
call edx
lea ecx, [ebp - 0x1c]
call fcn.0040223e
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004067bb
leave
ret

Function at 0x4058ed
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40590e
jl 0x405905
test edi, edi
jne 0x40590e
xor eax, eax
xor edx, edx
jmp 0x4059cf
cmp dword [ebx + 0x38], 0
je 0x405923
push eax
push edi
push dword [ebp + 8]
call fcn.004059d5
jmp 0x4059cf
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40596a
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x40596a
cmp eax, edi
jb 0x405944
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.004073a0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x405970
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x4059c4
mov ecx, ebx
call fcn.004051fe
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4059af
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0040db73
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x4059c4
jmp 0x405982
test edx, edx
je 0x4059c4
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0040db73
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x406f70
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x406faf
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x406faf
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x406faf
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x406faf
cmp dword [ecx + 0x74], 0xe
jbe 0x406faf
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x411ee9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4223b8
push 0x4223b0
push str.FlsAlloc
push 0x1e
call fcn.00411d56
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f1d
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f13c]
call esi
jmp 0x411f23
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x411f67
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4223c8
push 0x4223c0
push str.FlsGetValue
push 0x20
call fcn.00411d56
mov esi, eax
add esp, 0x10
test esi, esi
je 0x411f9e
push dword [ebp + 8]
mov ecx, esi
call dword [0x41f13c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x413161
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412e03

Function at 0x41316c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412f92
Function at 0x41497b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.004072f0
mov eax, dword [0x429040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00412ddc
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x4149bd
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x414b19
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0041dd30
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x42ab78]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.00414da1
mov ecx, dword [esi*4 + 0x42ab78]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x414b12
cmp eax, dword [edi + ecx + 0x24]
jne 0x414b12
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x414b12
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00414da1
add esp, 0x14
test edx, edx
jl 0x414b12
jg 0x414a88
test eax, eax
jb 0x414b12
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x414b12
jl 0x414aa2
cmp dword [ebp - 0x1008], eax
ja 0x414b12
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x414ac0
test ebx, ebx
je 0x414af9
cmp ecx, edi
jae 0x414af9
mov al, byte [ecx]
cmp al, 0xd
jne 0x414ada
lea eax, [edi - 1]
cmp ecx, eax
jae 0x414ae6
cmp byte [ecx + 1], 0xa
jne 0x414ae6
inc ecx
jmp 0x414ae6
movzx eax, al
movsx eax, byte [eax + 0x429310]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x414ac0
cmp edx, ebx
jne 0x414ac0
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x414b17
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004067bb
leave
ret
Function at 0x414f42
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x42ab78]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x414f82
cmp byte [ebx], 0xa
jne 0x414f82
or byte [eax + edi + 0x28], 4
jmp 0x414f87
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x415085
mov al, byte [edx]
cmp al, 0x1a
je 0x415067
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x414fb6
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x414fdb
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x414fe5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x414f98
jmp 0x415085
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415062
cmp dword [ebp - 0xc], 0
je 0x415062
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x42ab78]
test byte [eax + edi + 0x28], 0x48
je 0x41503c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x415027
mov byte [esi], dl
jmp 0x415038
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x42ab78]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x415085
cmp byte [ebp - 1], 0xa
jne 0x41504b
cmp esi, ebx
jne 0x41504b
mov byte [esi], 0xa
jmp 0x415084
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00414dbf
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x415085
mov byte [esi], 0xd
jmp 0x415084
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x42ab78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415081
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415085
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41508e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x42ab78]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x4150d1
cmp word [esi], dx
jne 0x4150d1
or byte [edi + eax + 0x28], 4
jmp 0x4150d6
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x415229
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x415209
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x415118
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41514e
cmp eax, edx
jae 0x41515a
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4150f0
jmp 0x415229
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x415205
cmp dword [ebp - 0x14], 0
je 0x415205
mov eax, dword [ebx*4 + 0x42ab78]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x4151dd
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x4151a6
mov word [esi], cx
jmp 0x4151d9
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x42ab78]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x42ab78]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x42ab78]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x415229
pop ebx
cmp word [ebp - 4], bx
jne 0x4151ee
cmp esi, dword [ebp + 0xc]
jne 0x4151ee
mov word [esi], bx
jmp 0x415226
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.00414dbf
add esp, 0x10
cmp word [ebp - 4], bx
je 0x415229
push 0xd
jmp 0x415222
mov ecx, dword [ebx*4 + 0x42ab78]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x415220
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x415229
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x418084
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x418121
push ebx
push esi
call fcn.0041804d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00416cd2
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x4180ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x418120
push edi
push eax
call fcn.0041223f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x4180ee
call fcn.00411262
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41811f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00416cd2
add esp, 0x20
test eax, eax
jne 0x41810d
push edi
call fcn.00411262
jmp 0x418115
push ebx
call fcn.00411262
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41dcf0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41dd1d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41dd1d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x931000
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 8
pop esi
mov ebp, dword [edi]
test ebp, ebp
je 0x931065
mov ebx, dword [edi + 4]
test ebx, ebx
je 0x931065
cmp ebx, esi
jb 0x931065
cmp ebx, 0x10
jb 0x931065
mov ecx, dword [esi + ebp]
mov edx, ecx
and edx, 0xff0000
mov eax, ecx
shr eax, 0x10
or edx, eax
mov eax, ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
shr edx, 8
shl eax, 8
or edx, eax
lea eax, [edx + 0xc]
add eax, esi
cmp eax, ebx
ja 0x931065
cmp dword [esi + ebp + 4], 0x54414449
je 0x931070
mov esi, eax
lea eax, [esi + 8]
cmp eax, ebx
jbe 0x931022
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
lea ecx, [esi + ebp]
cmp edx, 5
jb 0x931065
mov ebp, dword [ecx + 8]
sub edx, 4
add ecx, 0xc
mov al, byte [ecx]
movzx esi, al
cmp esi, edx
ja 0x931065
test al, al
jne 0x9310a7
mov eax, dword [edi + 8]
test eax, eax
je 0x931065
mov esi, dword [edi + 0xc]
test esi, esi
je 0x931065
mov dword [esp + 0x10], eax
dec edx
mov dword [esp + 0x14], esi
jmp 0x9310c2
lea eax, [ecx + 1]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], eax
lea eax, [esi + 1]
cmp edx, eax
jb 0x931065
or eax, 0xffffffff
sub eax, esi
add edx, eax
add ecx, esi
and dword [esp + 0x20], 0
lea eax, [ecx + 1]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
call fcn.00931e89
test eax, eax
je 0x931065
mov esi, dword [esp + 0x1c]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov ebx, 0x811c9dc5
test esi, esi
je 0x931103
movzx eax, byte [edx + ecx]
xor eax, ebx
imul ebx, eax, 0x1000193
inc edx
cmp edx, esi
jb 0x9310f2
cmp ebx, ebp
je 0x931122
test ecx, ecx
je 0x93111b
push ecx
push 0
call dword [fcn.00933014]
push eax
call dword [fcn.00933010]
xor eax, eax
jmp 0x931068
xor eax, eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], esi
inc eax
jmp 0x931068
Function at 0x9315e6
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
and dword [esp + 0xc], 0
xor al, al
mov byte [esp + 6], al
mov al, byte [esp + 0xf]
mov byte [esp + 7], al
mov al, byte [esp + 0xe]
push ebx
mov byte [esp + 0xc], al
mov al, byte [esp + 0x11]
push ebp
mov byte [esp + 0x11], al
mov ebp, 0xff
mov al, byte [esp + 0x14]
push esi
push edi
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1a], al
rdtsc
mov esi, eax
mov dword [esp + 0x1c], edx
xor eax, eax
lea edi, [esp + 0x28]
inc eax
xor ecx, ecx
cpuid
mov dword [edi], eax
mov eax, edi
mov dword [eax + 4], ebx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
rdtsc
sub eax, esi
sbb edx, dword [esp + 0x1c]
test edx, edx
ja 0x93169b
jb 0x93165c
cmp eax, 0xfa
jae 0x931662
inc byte [esp + 0x1a]
jmp 0x93169f
test edx, edx
ja 0x93169b
jb 0x93166f
cmp eax, 0x1f4
jae 0x931675
inc byte [esp + 0x19]
jmp 0x93169f
test edx, edx
ja 0x93169b
jb 0x931682
cmp eax, 0x2ee
jae 0x931688
inc byte [esp + 0x18]
jmp 0x93169f
test edx, edx
ja 0x93169b
jb 0x931695
cmp eax, 0x3e8
jae 0x93169b
inc byte [esp + 0x17]
jmp 0x93169f
inc byte [esp + 0x16]
sub ebp, 1
jne 0x931627
push 6
pop eax
lea esi, [esp + 0x28]
xor ecx, ecx
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
xor ecx, ecx
mov dword [esi + 0xc], edx
mov al, byte [esp + 0x28]
and al, 1
mov byte [esp + 0x1b], al
mov eax, 0x40000000
cpuid
mov dword [esi], eax
movzx eax, byte [esp + 0x16]
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
push dword [esp + 0x28]
push eax
movzx eax, byte [esp + 0x1f]
push eax
movzx eax, byte [esp + 0x24]
push eax
movzx eax, byte [esp + 0x29]
push eax
movzx eax, byte [esp + 0x2e]
push eax
movzx eax, byte [esp + 0x33]
push eax
push str._0.2X_0.2X_0.2X_0.2X_0.2X_0.2X_0.8X
push dword [esp + 0x44]
call dword [fcn.00933060]
add esp, 0x24
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x931e2a
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov ebp, edx
mov dword [esp + 0x10], ecx
xor edx, edx
push edi
mov edi, dword [esp + 0x1c]
mov eax, edx
mov byte [eax + edi], al
inc eax
cmp eax, 0x100
jb 0x931e3e
mov cl, dl
mov ebx, edx
mov eax, dword [esp + 0x14]
movzx esi, dl
mov dl, byte [ebx + edi]
mov al, byte [esi + eax]
add al, dl
add cl, al
mov byte [esp + 0x13], cl
movzx ecx, cl
mov al, byte [ecx + edi]
mov byte [ebx + edi], al
lea eax, [esi + 1]
mov byte [ecx + edi], dl
xor edx, edx
mov cl, byte [esp + 0x13]
div ebp
inc ebx
cmp ebx, 0x100
jb 0x931e4d
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x931e89
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x104
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi], ebx
je 0x931f42
cmp dword [esi + 4], ebx
je 0x931f42
cmp dword [esi + 8], ebx
je 0x931f42
mov eax, dword [esi + 0xc]
test eax, eax
je 0x931f42
cmp dword [esi + 0x10], ebx
jne 0x931ed7
inc eax
push eax
push 8
call dword [fcn.00933014]
push eax
call dword [fcn.00933028]
mov dword [esi + 0x10], eax
test eax, eax
je 0x931f42
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
mov ecx, dword [esi]
push ebp
push eax
call fcn.00931e2a
mov ebp, dword [esi + 0xc]
pop ecx
test ebp, ebp
je 0x931f3c
push edi
mov edi, dword [esi + 0x10]
mov eax, ebx
mov esi, dword [esi + 8]
sub esi, edi
inc bl
movzx ebx, bl
mov cl, byte [esp + ebx + 0x14]
movzx edx, cl
add al, dl
movzx eax, al
mov dword [esp + 0x10], eax
mov al, byte [esp + eax + 0x14]
mov byte [esp + ebx + 0x14], al
mov eax, dword [esp + 0x10]
mov byte [esp + eax + 0x14], cl
mov al, byte [esp + ebx + 0x14]
add al, dl
movzx eax, al
mov al, byte [esp + eax + 0x14]
xor al, byte [esi + edi]
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x10]
sub ebp, 1
jne 0x931efa
pop edi
xor eax, eax
inc eax
pop ebp
jmp 0x931f44
xor eax, eax
pop esi
pop ebx
add esp, 0x104
ret
Function at 0x14ed058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.014ed1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x14ed07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14ed06a
add dl, dl
jne 0x14ed089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14ed0dc
xor eax, eax
add dl, dl
jne 0x14ed096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x14ed17d
add dl, dl
jne 0x14ed0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14ed0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14ed0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14ed0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x14ed0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x14ed075
mov eax, 1
add dl, dl
jne 0x14ed0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x14ed0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14ed0e1
sub eax, ebx
mov ebx, 1
jne 0x14ed128
mov ecx, 1
add dl, dl
jne 0x14ed10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14ed119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14ed105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14ed075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x14ed13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x14ed14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x14ed136
cmp eax, 0x7d00
jae 0x14ed16d
cmp eax, 0x500
jb 0x14ed168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14ed075
cmp eax, 0x7f
ja 0x14ed170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x14ed075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x14ed19e
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 0x14ed075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10