joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435290
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
xor dl, dl
mov ecx, dword [esp + 0x14]
push ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 8], eax
push ebp
push esi
push edi
test bl, 3
jne 0x4353c1
test al, 3
jne 0x4353c1
mov edi, ecx
mov dword [esp + 0x10], 0
shr edi, 2
xor esi, esi
test edi, edi
je 0x43537c
cmp edi, 8
jb 0x435345
mov ebp, dword [esp + 0x20]
mov edx, edi
mov dword [esp + 0x14], ebx
and edx, 0xfffffff8
add eax, 0x10
xorps xmm3, xmm3
sub dword [esp + 0x14], ebp
xorps xmm2, xmm2
mov ebp, dword [esp + 0x14]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ebx + esi*4]
add esi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebp - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp esi, edx
jb 0x4352f4
mov eax, dword [esp + 0x20]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd dword [esp + 0x10], xmm2
cmp esi, edi
jae 0x435380
mov ebp, ebx
lea edx, [eax + esi*4]
sub ebp, eax
mov dword [esp + 0x14], ebp
mov ebp, edi
mov ebx, dword [esp + 0x14]
sub ebp, esi
mov esi, edi
mov edi, dword [esp + 0x10]
mov eax, dword [edx + ebx]
lea edx, [edx + 4]
xor eax, dword [edx - 4]
or edi, eax
sub ebp, 1
jne 0x435362
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x10], edi
jmp 0x435384
xor edi, edi
jmp 0x435384
mov edi, dword [esp + 0x10]
shl esi, 2
sub ecx, esi
jne 0x435398
test edi, edi
pop edi
pop esi
pop ebp
sete al
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
add ebx, esi
mov ebp, dword [esp + 0x20]
mov edx, eax
shr eax, 0x10
add ebp, esi
shr edx, 0x18
or dl, al
mov dword [esp + 0x14], ebp
mov eax, dword [esp + 0x10]
shr eax, 8
or dl, al
mov eax, ebp
or dl, byte [esp + 0x10]
xor edi, edi
test ecx, ecx
je 0x435480
cmp ecx, 0x20
jb 0x43545a
mov esi, ecx
xorps xmm3, xmm3
and esi, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x1c], esi
mov esi, ebx
sub esi, dword [esp + 0x14]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x10]
movups xmm0, xmmword [eax]
lea eax, [eax + 0x20]
movups xmm1, xmmword [eax + ebp - 0x20]
pxor xmm1, xmm0
movups xmm0, xmmword [eax - 0x10]
por xmm3, xmm1
movups xmm1, xmmword [ebx + edi + 0x10]
add edi, 0x20
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, esi
jb 0x4353f5
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
mov ebp, dword [esp + 0x14]
cmp edi, ecx
jae 0x435480
sub ebx, ebp
lea esi, [edi + ebp]
sub ecx, edi
nop dword [eax]
mov al, byte [ebx + esi]
lea esi, [esi + 1]
xor al, byte [esi - 1]
or dl, al
sub ecx, 1
jne 0x435470
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 8
ret
Function at 0x452ce0
Capabilities:
Hash data using murmur3
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x4eb0e4], 0
jne 0x452cee
call fcn.004667b0
cmp byte [0x4eb0ed], 0
je 0x452d0c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.004675d0
add esp, 0x10
ret
jmp fcn.00451020

Function at 0x452d20
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4e3114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x452d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x452d96
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x452db4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046bb2e
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.00408040
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.00452e80
push 0x4dd4b0
lea eax, [ebp - 0x50]
push eax
call fcn.00482f68
int3
Function at 0x46e881
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x49b75e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049b421

Function at 0x49b769
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049b5a2

Function at 0x4a3a7c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a373c
Function at 0x4171e1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00417057
Function at 0x423000
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mul dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ebp + 0xc]
mul dword [ebp + 8]
add esi, edx
shrd eax, esi, 1
cmp eax, 0x2b
jae 0x42315d
mov eax, dword fs:[0x30]
push ebx
push edi
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
nop
mov esi, dword [eax + 0x18]
mov dword [ebp + 0x10], esi
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + esi + 0x78]
add ecx, esi
mov dword [ebp + 8], ecx
cmp ecx, esi
je 0x423094
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x423094
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, esi
mov edx, dword [ebx - 4]
lea ebx, [ebx - 4]
add edx, esi
dec edi
mov esi, 0x811c9dc5
mov cl, byte [edx]
inc edx
test cl, cl
je 0x42308d
nop word [eax + eax]
movsx ecx, cl
lea edx, [edx + 1]
xor ecx, esi
imul esi, ecx, 0x1000193
mov cl, byte [edx - 1]
test cl, cl
jne 0x423070
cmp esi, 0xacf9e7c0
je 0x423098
mov esi, dword [eax + 0x18]
test edi, edi
jne 0x423055
mov eax, dword [eax]
jmp 0x423030
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push 0x21f
mov eax, dword [esi + 0x24]
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x18]
mov dword [ebp + 0x10], edx
mov ecx, dword [edx + 0x3c]
mov ecx, dword [ecx + edx + 0x78]
add ecx, edx
mov dword [ebp + 8], ecx
cmp ecx, edx
je 0x423129
mov edi, dword [ecx + 0x18]
test edi, edi
je 0x423129
mov ecx, dword [ecx + 0x20]
lea ebx, [ecx + edi*4]
add ebx, edx
nop dword [eax + eax]
mov ecx, dword [ebx - 4]
lea ebx, [ebx - 4]
add ecx, edx
dec edi
mov esi, 0x811c9dc5
mov dl, byte [ecx]
inc ecx
test dl, dl
je 0x423122
movsx edx, dl
lea ecx, [ecx + 1]
xor edx, esi
imul esi, edx, 0x1000193
mov dl, byte [ecx - 1]
test dl, dl
jne 0x423105
cmp esi, 0x1d5f8790
je 0x42312d
mov edx, dword [eax + 0x18]
test edi, edi
jne 0x4230f0
mov eax, dword [eax]
jmp 0x4230c6
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
push 0
push 0
mov eax, dword [esi + 0x24]
push 0
push 0
push 0x56
lea eax, [eax + edi*2]
movzx ecx, word [eax + edx]
mov eax, dword [esi + 0x1c]
push 0
lea eax, [eax + ecx*4]
mov eax, dword [eax + edx]
add eax, edx
call eax
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
mov ecx, 0x45c3370d
xor edx, edx
nop dword [eax]
nop dword [eax + eax]
movsx eax, byte [edx + str.ozqofauhs8w40psxeo1z6b48uo695n1wweov9c6fhd4k7gz4nsksvoifwwom]
xor eax, ecx
imul ecx, eax, 0x1000193
movsx eax, byte [edx + 0x424359]
xor ecx, eax
movsx eax, byte [edx + 0x42435a]
imul ecx, ecx, 0x1000193
xor ecx, eax
movsx eax, byte [edx + 0x42435b]
imul ecx, ecx, 0x1000193
xor ecx, eax
movsx eax, byte [edx + 0x42435c]
imul ecx, ecx, 0x1000193
xor ecx, eax
movsx eax, byte [edx + 0x42435d]
imul ecx, ecx, 0x1000193
add edx, 6
xor ecx, eax
imul ecx, ecx, 0x1000193
cmp edx, 0x3c
jb 0x423170
push ecx
mov ecx, 0x434030
call fcn.00402220
push eax
call fcn.004013a0
add esp, 4
mov eax, 1
pop esi
pop ebp
ret
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x69927bf6
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x126d4364
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x419800
Capabilities:
Get disk information

Disassembly:
push 0
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0x4d3064
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, dword [0x4d6adc]
add ecx, eax
mov dword [0x4d6adc], ecx
mov eax, ecx
ret

Function at 0x4328eb
Capabilities:
Encode data using xor

Disassembly:
ja 0x432844
salc
invalid
mov edi, 0xb1ffbdb
mov byte [0x734c29a2], al
loope 0x43280a
enter 0x1bbb, 0x3f
jno 0x43289e
cwde
push ebp
sbb edi, dword [edi]
call 0x8028265d
sbb edx, dword [ecx + 0x32e37c88]
out dx, al
and byte [ebp - 0x6a], dl
stc
fisttp qword [edx - 0x3c]
and dword [eax], ebx
scasd eax, dword es:[edi]
ret
aas
jb 0x432832
sahf
push edi
imul edx, ebx, 0xffffffa2
jle 0x4328f6
xor al, 0x53
pop esp
sbb ebp, ebp
xor al, 0xde
xor al, 0xc4
fidiv word [esp + eax*8]
sbb eax, edi
loopne 0x432871
invalid
sal dword [ebx - 0x52b4c5b7], 0xbc
wait
hlt
je 0x4328e5
sbb al, bh
clc
inc eax
sbb al, 0x7c
mov bl, 0xb1
outsb dx, byte [esi]
outsd dx, dword [esi]
mov edi, 0x3829bcb6
test ebp, 0x11bc0d94
lds edx, [ebp + ecx - 0x4b08ee44]
fild qword [ecx + 0x3117da90]
insd dword es:[edi], dx
xor byte [ebp - 0x1f], dh
test eax, 0x3117da90
insd dword es:[edi], dx
xor byte [ebp - 0x1f], dh
rcl bh, 0x16
xor dh, byte [ebx + esi*2 + 0x30]
daa
sbb eax, 0xa2b8d914
aas
bnd jno 0x4328b3
invalid
loop 0x432881
sub al, 0xa2
outsd dx, dword [esi]
pop edi
mov dl, 0x40
mov eax, dword [0x3f67e616]
jno 0x43289a
in al, 0x47
inc eax
loop 0x43296b
mov bl, 0x92
in al, dx
push eax
nop
nop
nop
push ebx
xor ecx, ecx
mov ebx, eax
dec edx
and ebx, 1
or ecx, ebx
shr eax, 1
add ecx, ecx
test edx, edx
jg 0x432903
mov eax, ecx
shr eax, 1
pop ebx
ret
jl 0x43298e
mov ecx, dword [eax + 0x14]
inc dword [eax + 0x14]
mov edx, dword [eax + 8]
mov bl, byte [eax + 0x16b8]
mov byte [edx + ecx], bl
shr word [eax + 0x16b8], 8
sub dword [eax + 0x16bc], 8
pop ebx
ret

Function at 0x47b74f
Capabilities:
Encode data using xor

Disassembly:
pop es
push 0xffffffffffffffe6
push 0xffffffffffffff89
cmp ecx, dword [eax + ebp*8 + 0x41707731]
stosd dword es:[edi], eax
jno fcn.0047b737
inc esi
inc ebp
xchg ebp, eax
cmp eax, 0x561be596
test al, 0xd7
add dword [eax + 0x7e], eax
adc eax, 0xd856d09b
mov dh, 0xb5
out dx, eax
dec esp
loopne 0x47b7eb
sub edx, dword [eax + 0x1943b423]
inc edx
and ebp, dword [esi - 0x15]
les esi, [ecx + 0x46f5122b]
adc dh, ch
inc esi
stc
retf
add bl, byte [esi]
xor dl, 0xd3
push edi
jb 0x47b827
pop esp
jno 0x47b78d
jg 0x47b83e
dec esi
ljmp 0x791
xor byte [ebp + 0x10], 0x12
adc byte [edx], dl
sbb al, 0x5a
mov ebp, 0xa31a9eb6
sub ah, cl
mov es, word [eax + 0x31]
add al, 0x12
loope 0x47b7e9
xchg edi, eax
rol byte [ecx], 1
adc dword [edx + 0x31491c48], eax
sbb al, 0x49
xor ecx, esp
int3
and esi, esp
add dword [ecx + edx - 0x5bd3ae02], edx
invalid
test eax, 0xb3727832
clc
add al, 0x20
mov cs, word [edx]
stosd dword es:[edi], eax
rol ebp, 0x7a
push eax
inc esp
xchg edx, eax
aam 0xd5
iretd
ljmp 0xa14c:0xb79d4461
Function at 0x4c8da5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4d3390
cmp edx, dword [eax]
je 0x4c8dc7
add eax, 8
inc ecx
cmp eax, 0x4d3420
jl 0x4c8db8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4d3390]
jne 0x4c8ef5
mov eax, dword [0x4d8dc0]
cmp eax, 1
je 0x4c8ecf
test eax, eax
jne 0x4c8df8
cmp dword [0x4d32bc], 1
je 0x4c8ecf
cmp edx, 0xfc
je 0x4c8ef5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4c8e2f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004c9790
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004c9c20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4c8e72
lea eax, [ebp - 0x1a4]
push eax
call fcn.004c9c20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4cede4
push edi
call fcn.004cbaf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004c9790
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004c97a0
lea eax, [ebp - 0xa0]
push 0x4cedc4
push eax
call fcn.004c97a0
push dword [esi + 0x4d3394]
lea eax, [ebp - 0xa0]
push eax
call fcn.004c97a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004cba64
add esp, 0x2c
pop edi
jmp 0x4c8ef5
lea eax, [ebp + 8]
lea esi, [esi + 0x4d3394]
push 0
push eax
push dword [esi]
call fcn.004c9c20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x10017886
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp edx, esi
jne 0x100178e5
mov edi, edi
je 0x100178e5
sbb dword [ecx + 0x73], esi
in al, dx
xchg dword [ebx + 0x22], ebx
pop edi
sbb dword [edi + 0xe], 0xc0edb54d
sub edi, ecx
pop ecx
xchg ebp, eax
mov cl, 0xc7
mov eax, dword [0x76b20ef3]
push cs
mov dl, 0x76
fisub word [edx]
and eax, 0x348d0ac4
in eax, dx
movsd dword es:[edi], dword [esi]
xlatb
test dl, 0x3a
cmp ecx, dword [edi - 0xe]
mov esp, 0x107c5118
inc edx
add bl, byte [edx - 0x4a]
xor ch, byte [edi + ebx*2]
mov edx, 0x94e99dab
jb 0x100178ab
dec esp
invalid
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov edx, edx
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
mov eax, dword [ebp + 8]
add ecx, dword [eax + 4]
cmp eax, edi
jne 0x10017a0a
mov ebp, ebp
je 0x10017a0a
aad 0x82
aad 0x9f
jb 0x10017950
cld
outsd dx, dword [esi]
sbb al, 0x3c
leave
test eax, 0x863de6f9
arpl di, di
sbb eax, 0xb6183a3c
inc ebx
and dl, byte [esi - 0x65632907]
int1
salc
mov esp, 0xacac7333
xor ebx, edi
xor al, 0x29
sal dword [eax - 0xa], 1
imul ebx, dword [0x2854eb70], 0xffffffa5
arpl word [ecx + 0x47acdf19], bp
push eax
cli
jmp 0x1001fc1b
mov bl, 0xb3
xor cl, ch
sbb al, 1
add byte [eax], al
jmp 0x10017a75
mov eax, dword [ebp - 8]
cmp ebx, eax
jne 0x10017a6f
mov ecx, ecx
je 0x10017a6f
sbb eax, 0xc90eb091
sbb byte [eax + 0x25], ah
outsb dx, byte [esi]
or byte [ecx - 0x10b20aed], ch
stosb byte es:[edi], al
bound edx, qword [esp + ebp*2 + 0x14bc4c54]
adc eax, 0x9222456d
jmp 0xea7f4778
pop esp
add edx, 0x736
mov dword [ebp - 4], edx
mov dword [ebp - 8], 0
cmp esi, ecx
jne 0x10017954
mov ebx, ebx
mov ebx, ebx
je 0x10017954
jmp 0xec21b709
mov edx, 0x300
shl edx, cl
cmp edx, ebp
jne 0x100179a9
mov eax, eax
mov eax, eax
je 0x100179a9
jns 0x100179a8
imul esp, dword [edi - 0x5a9a3475], 0x65
invalid
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 4]
jae 0x10017a8e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov word [eax + edx*2], 0x400
jmp 0x10017959
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x40], 1
mov eax, dword [ebp + 8]
mov dword [eax + 0x3c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x38], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x50], 0
mov esp, ebp
pop ebp
ret
scasd eax, dword es:[edi]
into
mov al, ah
cld
sbb byte [edi + 0x5c], bl
adc eax, 0xc062f37
xchg dx, ax
add dword [ebx], eax
jb 0x1001fc3e
mov bh, 5
salc
push ebx
add dl, byte [eax]
Function at 0x100183c4
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x83000000
les ecx, [eax]
pop ebp
ret
push ebp
mov ebp, esp
mov ebx, ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
cmp esi, ebp
jne 0x10018430
mov edx, edx
je 0x10018430
inc esp
xchg ebx, eax
je 0x1001841f
fcom qword [ebx + 0x328099df]
inc edx
pop edx
mov dword [0x9cbcc4ef], eax
pop ecx
in eax, dx
jno 0x100183eb
jle 0x100183bb
insb byte es:[edi], dx
retf
push eax
add esp, 8
add esp, 8
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0
pop ebp
ret
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
call ecx
cmp ebx, edx
jne 0x10018421
mov eax, eax
je 0x10018421
fistp word es:[esi]
mov edi, 0x9cbb6cf7
mov esp, 0xf52aba9c
inc edx
insb byte es:[edi], dx
cdq
and al, 0x3c
test eax, 0xb93daae1
popfd
imul esp, dword [esp + ebx - 0x5c], 0xf2412024
sub dword [eax + 1], edx
and esp, eax
dec ebp
movsb byte es:[edi], byte [esi]
xor ecx, dword [ebx + 0xa]
and bh, bh
sub dl, byte [esi]
pop ecx
shufps xmm7, xmm4, 0x4d
jo 0x1001846c
int3
Function at 0x100049c0
Capabilities:
Encode data using xor

Disassembly:
dec ecx
xchg esi, eax
jbe 0x100049a1
invalid
xchg edx, eax
or bl, byte [ebx]
or bh, cl
invalid
xchg ecx, esi
rcl esp, 0x2c
inc esp
sub ecx, dword [ebp - 0x80]
push ds
mov al, byte fs:[0x5943532f]
sal byte [eax - 0xb595974], 1
adc esi, edx
pop esi
push esi
sbb eax, dword [ecx - 0x6ad43a06]
sar dword [edx], 1
xchg edi, ebx
inc esp
mov ah, 0x5a
or cl, dl
jo 0x10004989
and esp, ebx
out 0x88, eax
rcl dword [ebx], cl
invalid

Function at 0x10562058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.105621a8
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 0x1056207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056206a
add dl, dl
jne 0x10562089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x105620dc
xor eax, eax
add dl, dl
jne 0x10562096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1056217d
add dl, dl
jne 0x105620a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105620b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105620bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105620c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x105620d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10562075
mov eax, 1
add dl, dl
jne 0x105620ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x105620f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x105620e1
sub eax, ebx
mov ebx, 1
jne 0x10562128
mov ecx, 1
add dl, dl
jne 0x1056210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10562119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10562105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10562075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1056213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1056214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10562136
cmp eax, 0x7d00
jae 0x1056216d
cmp eax, 0x500
jb 0x10562168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10562075
cmp eax, 0x7f
ja 0x10562170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10562075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1056219e
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 0x10562075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x474f90
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 0x474fd2
call fcn.0047a915
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x474fd2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x474fc9
xor eax, eax
jmp 0x474fda
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00474fe0
pop edi
pop esi
pop ebx
ret 4

Function at 0x47ae45
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 0x47ae73
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x47ae91
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0047adab
jmp 0x47ae91
mov eax, dword [esi + 0x14]
test eax, eax
je 0x47ae91
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0047adab
test edi, edi
mov eax, edi
jne 0x47ae7b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x43b62f
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x43b3c1
or ebx, ebx
add ebx, 1
add esi, ebx
call fcn.0043b658
and esi, esi
xor dword [ecx], edi
add esi, esi
inc ecx
sub ebx, 0x7a800ccd
cmp ecx, edx
jne fcn.0043b62f
and esi, esi
ret