joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x14], 0x59425f5d
mov dword [ebp - 0x10], 0x4b5a475c
mov dword [ebp - 0xc], 0x564b005c
mov ecx, dword [eax]
mov eax, dword [0x49e7d4]
mov word [ebp - 8], 0x2e4b
cmp eax, dword [ecx + 4]
jle 0x40fa3c
push 0x49e7d4
call fcn.00437b73
add esp, 4
cmp dword [0x49e7d4], 0xffffffff
jne 0x40fa3c
mov eax, dword [ebp - 0xc]
movq xmm0, qword [ebp - 0x14]
mov dword [0x4a0258], eax
mov ax, word [ebp - 8]
push 0x476e00
movq qword [0x4a0250], xmm0
mov word [0x4a025c], ax
call fcn.00437f9a
push 0x49e7d4
call fcn.00437b29
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x4a0250
xor ecx, ebp
call fcn.004379df
mov esp, ebp
pop ebp
ret

Function at 0x40ff30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x14], 0x5d5d4856
mov dword [ebp - 0x10], 0x414d4d58
mov dword [ebp - 0xc], 0x564b0040
mov ecx, dword [eax]
mov eax, dword [0x49ecf8]
mov word [ebp - 8], 0x2e4b
cmp eax, dword [ecx + 4]
jle 0x40ffbc
push 0x49ecf8
call fcn.00437b73
add esp, 4
cmp dword [0x49ecf8], 0xffffffff
jne 0x40ffbc
mov eax, dword [ebp - 0xc]
movq xmm0, qword [ebp - 0x14]
mov dword [0x49ec28], eax
mov ax, word [ebp - 8]
push 0x476ce0
movq qword [0x49ec20], xmm0
mov word [0x49ec2c], ax
call fcn.00437f9a
push 0x49ecf8
call fcn.00437b29
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x49ec20
xor ecx, ebp
call fcn.004379df
mov esp, ebp
pop ebp
ret

Function at 0x410110
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x493018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x14], 0x6f7a606d
mov dword [ebp - 0x10], 0x49637d41
mov dword [ebp - 0xc], 0x564b005c
mov ecx, dword [eax]
mov eax, dword [0x4a053c]
mov word [ebp - 8], 0x2e4b
cmp eax, dword [ecx + 4]
jle 0x41019c
push 0x4a053c
call fcn.00437b73
add esp, 4
cmp dword [0x4a053c], 0xffffffff
jne 0x41019c
mov eax, dword [ebp - 0xc]
movq xmm0, qword [ebp - 0x14]
mov dword [0x49e988], eax
mov ax, word [ebp - 8]
push 0x476c80
movq qword [0x49e980], xmm0
mov word [0x49e98c], ax
call fcn.00437f9a
push 0x4a053c
call fcn.00437b29
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, 0x49e980
xor ecx, ebp
call fcn.004379df
mov esp, ebp
pop ebp
ret
Function at 0x416b00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x17], 0
je 0x416b2a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x18
jb 0x416b20
mov eax, ecx
ret

Function at 0x416b30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x12], 0
je 0x416b5a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x13
jb 0x416b50
mov eax, ecx
ret

Function at 0x416bb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xd], 0
je 0x416bc2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xe
jb 0x416bb8
mov eax, ecx
ret

Function at 0x416c00
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xb], 0
je 0x416c12
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xc
jb 0x416c08
mov eax, ecx
ret

Function at 0x416c20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xe], 0
je 0x416c32
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xf
jb 0x416c28
mov eax, ecx
ret

Function at 0x416ca0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x13], 0
je 0x416cca
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x14
jb 0x416cc0
mov eax, ecx
ret

Function at 0x416d10
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xa], 0
je 0x416d22
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xb
jb 0x416d18
mov eax, ecx
ret

Function at 0x416d30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x16], 0
je 0x416d5a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x17
jb 0x416d50
mov eax, ecx
ret

Function at 0x416e20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x18], 0
je 0x416e4a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x19
jb 0x416e40
mov eax, ecx
ret

Function at 0x416e50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x11], 0
je 0x416e7a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x12
jb 0x416e70
mov eax, ecx
ret

Function at 0x416ea0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x15], 0
je 0x416eca
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x16
jb 0x416ec0
mov eax, ecx
ret
Function at 0x416f30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x416f42
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xd
jb 0x416f38
mov eax, ecx
ret

Function at 0x416f50
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x19], 0
je 0x416f7a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1a
jb 0x416f70
mov eax, ecx
ret

Function at 0x416f80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x14], 0
je 0x416faa
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x15
jb 0x416fa0
mov eax, ecx
ret
Function at 0x418f80
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1f], 0
je 0x418fa4
movaps xmm1, xmmword [0x489100]
xor eax, eax
nop
movups xmm0, xmmword [eax + ecx]
pxor xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x418f90
ret

Function at 0x418fb0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x12], 0
je 0x418fda
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x13
jb 0x418fd0
ret

Function at 0x419030
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xd], 0
je 0x419042
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xe
jb 0x419038
ret

Function at 0x419050
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1e], 0
je 0x41907a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1f
jb 0x419070
ret

Function at 0x4190b0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xb], 0
je 0x4190c2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xc
jb 0x4190b8
ret

Function at 0x4190d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xe], 0
je 0x4190e2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xf
jb 0x4190d8
ret

Function at 0x419130
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x13], 0
je 0x41915a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x14
jb 0x419150
ret

Function at 0x419160
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1c], 0
je 0x41918a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1d
jb 0x419180
ret

Function at 0x4191c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xa], 0
je 0x4191d2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xb
jb 0x4191c8
ret

Function at 0x4191e0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x21], 0
je 0x41921a
movaps xmm1, xmmword [0x489100]
xor eax, eax
nop
movups xmm0, xmmword [eax + ecx]
pxor xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x4191f0
cmp eax, 0x22
jae 0x41921a
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x22
jb 0x419210
ret

Function at 0x419220
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x16], 0
je 0x41924a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x17
jb 0x419240
ret
Function at 0x419250
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1a], 0
je 0x41927a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1b
jb 0x419270
ret

Function at 0x419280
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x20], 0
je 0x4192ba
movaps xmm1, xmmword [0x489100]
xor eax, eax
nop
movups xmm0, xmmword [eax + ecx]
pxor xmm0, xmm1
movups xmmword [eax + ecx], xmm0
add eax, 0x10
cmp eax, 0x20
jb 0x419290
cmp eax, 0x21
jae 0x4192ba
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x21
jb 0x4192b0
ret

Function at 0x4192c0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x18], 0
je 0x4192ea
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x19
jb 0x4192e0
ret

Function at 0x4192f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x11], 0
je 0x41931a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x12
jb 0x419310
ret

Function at 0x419340
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x15], 0
je 0x41936a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x16
jb 0x419360
ret

Function at 0x419370
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1b], 0
je 0x41939a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1c
jb 0x419390
ret

Function at 0x4193a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x1d], 0
je 0x4193ca
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1e
jb 0x4193c0
ret

Function at 0x4193d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0xc], 0
je 0x4193e2
xor eax, eax
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0xd
jb 0x4193d8
ret

Function at 0x4193f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x19], 0
je 0x41941a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x1a
jb 0x419410
ret

Function at 0x419420
Capabilities:
Encode data using xor

Disassembly:
cmp byte [ecx + 0x14], 0
je 0x41944a
movups xmm0, xmmword [ecx]
mov eax, 0x10
movaps xmm1, xmmword [0x489100]
pxor xmm1, xmm0
movups xmmword [ecx], xmm1
nop dword [eax]
xor byte [eax + ecx], 0x2e
inc eax
cmp eax, 0x15
jb 0x419440
ret
Function at 0x421591
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jg 0x4215b5
jl 0x4215ac
test esi, esi
jne 0x4215b5
xor eax, eax
xor edx, edx
jmp 0x4216a8
cmp dword [edi + 0x38], 0
je 0x4215ca
push ebx
push esi
push dword [ebp + 8]
call fcn.004216af
jmp 0x4216a8
mov eax, dword [edi + 0x1c]
mov ecx, esi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], esi
mov ecx, dword [eax]
test ecx, ecx
je 0x42161e
mov eax, dword [edi + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x42161e
cmp eax, esi
jb 0x4215f0
mov eax, esi
mov dword [ebp - 4], esi
push eax
push ecx
push dword [ebp + 8]
call fcn.0044eeb0
mov edx, dword [ebp - 4]
mov ecx, esi
mov eax, dword [ebp + 8]
sub ecx, edx
add eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
add esp, 0xc
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0xc], ecx
sub dword [eax], edx
mov eax, dword [edi + 0x1c]
add dword [eax], edx
jmp 0x421624
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [edi + 0x4c], 0
je 0x42169c
mov ecx, edi
call fcn.00420df5
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0xc], eax
cmp eax, 0xfff
jbe 0x421678
mov ecx, dword [ebp - 4]
push dword [edi + 0x4c]
push 0xfff
push 1
push ecx
call fcn.004570e5
mov ecx, dword [ebp - 4]
add esp, 0x10
mov edx, dword [ebp - 8]
add ecx, eax
sub edx, eax
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp eax, 0xfff
jne 0x421674
cmp edx, eax
ja 0x421641
jmp 0x42167b
sub esi, edx
jmp 0x4216a1
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov ecx, eax
test eax, eax
je 0x42169f
push dword [edi + 0x4c]
push edx
push 1
push dword [ebp - 4]
call fcn.004570e5
mov ecx, dword [ebp - 0xc]
add esp, 0x10
sub ecx, eax
jmp 0x42169f
mov ecx, dword [ebp - 0xc]
sub esi, ecx
sbb ebx, 0
mov eax, esi
mov edx, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x43a66f
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 0x466f9f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00466e15
Function at 0x4306424c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x4306425b
pop dword [ebp - 0x3c]
mov eax, 0x4306425b
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x39d9e
push 0
mov eax, 0xb00f6467
sub eax, 0x6d0c533f
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0x1cf1cb00
add ecx, 0xe30e7ac5
mov edx, eax
mov ebx, 0xd7f07e7a
sub ebx, 0x94e9587a
add ebx, dword [ebp - 0x3c]
mov esi, 0xe262bac0
sub dword [ebp - 0x20], 0xcd6aaba7
mov edi, dword [ebx]
mov dword [ebp - 0x24], 0x8d91a951
add edi, esi
xor dword [ebp - 0x1c], ebx
mov dword [edx], edi
add dword [ebp - 0x20], ebx
add edx, 4
add ebx, 0xcc2c32fa
sub ebx, 0xcc2c32f6
loop 0x430642af
add eax, 0x3f3000d0
sub eax, 0x3f2ef6e9
mov ebx, eax
add eax, 0xc9126451
sub eax, 0xc912644c
mov ecx, 0x43030000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

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 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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 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 0x402b60
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0xb02064]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x402ba9
push str.SetDefaultDllDirectories
push 0xabc750
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402ba9
push 0xc00
call eax
test eax, eax
jne 0x402c47
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x402c47
cmp eax, 0x104
ja 0x402c47
cmp word [ebp + eax*2 - 0x2d6], 0x5c
je 0x402be7
mov ecx, 0x5c
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x402c46
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov al, byte [esi]
mov ecx, edi
inc esi
test al, al
je 0x402c20
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x402c10
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [ebp - 0x2d4]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
cmp byte [esi], 0
jne 0x402c07
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00a25bda
mov esp, ebp
pop ebp
ret
Function at 0x407e70
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x98
push 0
lea eax, [edi + 0x110]
push eax
call fcn.00a78e10
mov eax, dword [edi + 0x30]
add esp, 0xc
add eax, dword [edi + 0x34]
mov ecx, dword [edi + 0x28]
mov dword [edi + 0x40], eax
mov dword [edi + 0x2c], 0
mov dword [edi + 0x14], 0
lea esi, [ecx + eax]
shr ecx, 3
mov eax, 0xaaaaaaab
mul ecx
mov ecx, 0xc
shr edx, 3
imul eax, edx, 0x54
mov edx, esi
sub edx, eax
mov eax, dword [edi + 0x18]
cmp eax, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x44], edx
cmovb ecx, eax
mov dword [edi + 8], edx
not ecx
lea eax, [edx + 0x600]
mov dword [edi + 0x24], ecx
mov dword [edi + 0x20], ecx
lea ecx, [esi - 0xc]
mov dword [edi + 0x38], eax
xor eax, eax
mov dword [edi + 0x3c], ecx
mov dword [edi], ecx
mov dword [edi + 4], ecx
mov dword [ecx + 4], edx
add edx, 2
mov dword [ecx], 0x1010100
mov dword [ecx + 8], 0
mov byte [edx - 2], al
lea edx, [edx + 6]
xor ecx, ecx
mov byte [edx - 7], 1
inc eax
mov dword [edx - 6], ecx
cmp eax, 0x100
jb 0x407f07
lea eax, [edi + 0x9fc]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
nop word [eax + eax]
mov esi, eax
xor edi, edi
movzx eax, word [edi + 0xabc780]
lea ecx, [ebx + 2]
xor edx, edx
div ecx
mov ecx, 0x4000
sub ecx, eax
xor eax, eax
movzx ecx, cx
nop
mov word [esi + eax*2], cx
add eax, 8
cmp eax, 0x40
jb 0x407f50
add edi, 2
add esi, 2
cmp edi, 0x10
jb 0x407f34
mov eax, dword [ebp - 4]
inc ebx
sub eax, 0xffffff80
mov dword [ebp - 4], eax
cmp ebx, 0x80
jb 0x407f30
mov edi, dword [ebp + 8]
mov edx, 0x50
pop ebx
lea esi, [edi + 0x3bc]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0x10
nop word [eax + eax]
mov word [eax], dx
lea eax, [eax + 4]
mov word [eax - 2], 0x403
sub ecx, 1
jne 0x407fa0
add edx, 0x28
add esi, 0x40
cmp edx, 0x438
jb 0x407f90
mov dword [edi + 0x3b8], 0x40070000
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x408f70
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x408fb9
cmp edx, 0x40
je 0x408fab
mov ecx, 0x40
lea edi, [esi + 0x40]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
lea edx, [esi + 0x40]
push 1
lea ecx, [esi + 0x20]
call eax
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.00a78e10
mov ecx, dword [esi + 8]
lea edx, [esi + 0x40]
mov eax, dword [esi + 0xc]
add esp, 0xc
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
lea ecx, [esi + 0x20]
push 1
call eax
mov edi, dword [ebp + 0xc]
lea edx, [esi + 0x20]
mov ebx, 4
nop
mov ecx, dword [edx + 4]
lea edi, [edi + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [edi - 8], eax
bswap ecx
mov dword [edi - 4], ecx
sub ebx, 1
jne 0x409000
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebx
pop ebp
ret 8

Function at 0x409060
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [section..data]
mov dword [ecx], eax
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
pop ebp
ret 4

Function at 0x409810
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0
push 0
call fcn.00a7d374
mov ecx, dword [ebp + 8]
add esp, 0x18
mov dword [ecx], eax
test eax, eax
je 0x40983d
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 0xc