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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008e65b
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100bc570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
lea edi, [ebx + 4]
push 0x24
mov dword [ebp - 0x14], edi
mov eax, dword [esi]
mov dword [ebx], eax
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.10064a92
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
lea ecx, [ebx + 0xc]
mov dword [ebp - 4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
push dword [edi]
sar eax, 2
push eax
mov byte [ebp - 4], 1
call fcn.10045e90
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10035b5b
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov edx, ebx
jb 0x10035a44
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x10035a62
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x10035a50
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push ebx
push eax
call fcn.10036960
cmp dword [ebp - 0x20], 0
jne 0x10035b4d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x10035b71
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.10064a92
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push ebx
call fcn.10004df0
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + 0x18]
mov dword [eax + 0x18], ecx
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 8]
inc eax
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100916a0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100916a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x10035b31
mov ecx, ebx
call fcn.10046c50
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.10036960
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x10035b34
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
push ecx
push edi
mov ecx, ebx
call fcn.10046b00
mov byte [ebp - 4], 1
jmp 0x10035b50
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x10035a37
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.1006395f
int3
Function at 0x10037150
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 8]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1003716e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10037194
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10037180
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.10036960
xor ecx, ecx
pop edi
pop esi
cmp dword [eax + 4], ecx
pop ebx
setne cl
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x10037280
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 0x10
mov edi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], eax
jb 0x1003729e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100372c4
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x100372b0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.10036960
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x100372e4
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100393e0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ec05
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100bc570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov edx, edi
cmp dword [edi + 0x14], 0x10
jb 0x10039417
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x10039435
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x10039423
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.10036960
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10039501
cmp dword [ebx + 8], 0x71c71c7
je 0x10039518
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.10064a92
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push edi
call fcn.10004df0
mov edi, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov eax, dword [ebx + 8]
inc eax
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100916a0]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100916a0]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x100394f2
mov ecx, ebx
call fcn.10046c50
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10036960
mov ecx, dword [eax]
jmp 0x100394f5
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.10046b00
add eax, 0x20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.unordered_map_set_too_long
call fcn.1006395f
int3
Function at 0x1003e610
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0x40
push 4
push 0x8a5a80
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [0x1019066c]
cmp eax, 8
jg case.0x1003e63e.8
dec eax
cmp eax, 7
ja case.0x1003e63e.3
jmp dword [eax*4 + 0x1003e674]
mov byte [0x8a5a80], 0
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xff
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xfe
mov esp, ebp
pop ebp
ret
mov byte [0x8a5a80], 0xfc
mov esp, ebp
pop ebp
ret

Function at 0x1003e6d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100bc570]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push str.d3d9.dll
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.100760d0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x1003e74c
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x1003e742
cmp word [eax + 6], dx
jne 0x1003e742
cmp word [eax + 0xc], dx
je 0x1003e766
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x1003e730
mov ecx, dword [eax + 1]
mov eax, dword [ebp + 8]
pop esi
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x1003e74f
Function at 0x100405c0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x10190654], 1
je 0x100407ec
mov dword [0x10190654], 1
cmp dword [0xb6f5f0], 0
push esi
jne 0x100405fb
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, 0xb6f5f0
push 5
call esi
cmp dword [edi], 0
je 0x100405f1
pop edi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x522f74
mov dword [ebp - 4], 0
call esi
push 0xa
push 0x100408a0
push 0x522f74
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x51d5ab
call esi
movq xmm0, qword [0x10097398]
mov ecx, 0x51d5ab
movq qword [ecx], xmm0
movzx eax, word [0x100973a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x52c159
call esi
push 6
push 0x10039cb0
push 0x52c159
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x52167a
call esi
push 7
push 0x10045e80
push 0x52167a
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x5108aa
call esi
push 6
push 0x10045320
push 0x5108aa
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f47
call esi
mov eax, dword [0x100973a4]
mov ecx, 0x522f47
mov dword [ecx], eax
movzx eax, word [0x100973a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x524bde
call esi
movq xmm0, qword [0x10097398]
mov ecx, 0x524bde
movq qword [ecx], xmm0
movzx eax, word [0x100973a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x509bc6
call esi
mov eax, dword [0x100973ac]
mov ecx, 0x509bc6
mov dword [ecx], eax
movzx eax, word [0x100973b0]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x50e490
call esi
push 5
push 0x10039c80
push 0x50e490
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f32
call esi
push 6
push 0x100408c0
push 0x522f32
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x523f61
call esi
push 6
push 0x100408d0
push 0x523f61
call fcn.1005ed60
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f51
call esi
mov eax, dword [0x100973a4]
mov ecx, 0x522f51
mov dword [ecx], eax
movzx eax, word [0x100973a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f6a
call esi
mov eax, dword [0x100973a4]
mov ecx, 0x522f6a
pop esi
mov dword [ecx], eax
movzx eax, word [0x100973a8]
mov word [ecx + 4], ax
mov esp, ebp
pop ebp
ret
Function at 0x1004d1b0
Capabilities:
Encode data using xor

Disassembly:
push esi
xor edx, edx
push ebx
mov bl, byte [ecx + edx + 4]
mov eax, dword [ecx]
add al, dl
xor al, bl
mov byte [ecx + edx + 4], al
inc edx
cmp edx, 0x1c
jb 0x1004d1b4
pop ebx
mov byte [ecx + 0x20], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x1004d1e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xf
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x1004d1f0
mov byte [edi + 0x13], 0
pop edi
pop esi
pop ebx
ret

Function at 0x1004d240
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0x4a
lea eax, [edi + 4]
mov edx, eax
nop
mov bl, byte [edx]
lea edx, [edx + 1]
mov ecx, dword [edi]
xor cl, bl
mov byte [edx - 1], cl
sub esi, 1
jne 0x1004d250
mov byte [edi + 0x4e], 0
pop edi
pop esi
pop ebx
ret

Function at 0x1004d270
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008f7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x100bc570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
push 4
mov dword [ebp - 4], 1
call fcn.10064a92
add esp, 4
test eax, eax
je 0x1004d2b9
mov dword [eax], 0
jmp 0x1004d2bb
xor eax, eax
push 0x100461e0
push eax
lea ecx, [ebp - 0x70]
call fcn.10035630
lea ecx, [ebp - 0x68]
call fcn.10037be0
lea ecx, [ebp - 0x50]
call fcn.10037a90
xor eax, eax
mov byte [ebp - 4], 0
xorps xmm0, xmm0
mov dword [esi], eax
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x28], ax
mov ecx, esi
mov dword [esi + 4], eax
lea eax, [ebp - 0x70]
push eax
push 1
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
call fcn.10046020
lea ecx, [ebp - 0x70]
call fcn.100381c0
xor eax, eax
xorps xmm0, xmm0
movups xmmword [esi + 8], xmm0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 7
mov word [esi + 8], ax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x24], 0xffff
mov dword [esi + 0x2c], 0xffff
mov byte [esi + 0x30], al
mov dword [esi + 0x34], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret
Function at 0x10051c60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100bc570]
xor eax, ebp
mov dword [ebp - 4], eax
call sub.bass.dll_BASS_Free
push 0
push 0
push 6
push 0xac44
push 0xffffffffffffffff
call sub.bass.dll_BASS_Init
test eax, eax
je 0x10051d19
movzx eax, byte [0xba6798]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x10097e50]
comiss xmm0, dword [0x10091548]
movss dword [0x100bbe90], xmm0
jbe 0x10051cc0
mov dword [0x100bbe90], 0x3f800000
push 0
push 0xf
call sub.bass.dll_BASS_SetConfig
push 1
push 0x15
call sub.bass.dll_BASS_SetConfig
push 0x2710
push 5
call sub.bass.dll_BASS_SetConfig
push 0x2710
push 6
call sub.bass.dll_BASS_SetConfig
sub esp, 0xc
mov dword [esp + 8], 0xbf800000
mov dword [esp + 4], 0xbf800000
mov dword [esp], 0
push 0xffffffffffffffff
call sub.bass.dll_BASS_SetEAXParameters
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret
call sub.bass.dll_BASS_ErrorGetCode
cmp eax, 0xffffffff
jne 0x10051d2a
call fcn.10051c60
jmp 0x10051d33
cmp eax, 0xe
je 0x10051e3b
push esi
call sub.bass.dll_BASS_ErrorGetCode
mov esi, eax
cmp esi, 0xffffffff
jne 0x10051d45
call fcn.10051c60
mov dword [ebp - 0x38], 0x6a
xor edx, edx
mov byte [ebp - 0x34], 0x39
mov byte [ebp - 0x33], 0x2f
mov byte [ebp - 0x32], 0x29
mov byte [ebp - 0x31], 0x2b
mov byte [ebp - 0x30], 0x29
mov byte [ebp - 0x2f], 0x4a
mov byte [ebp - 0x2e], 0x19
mov byte [ebp - 0x2d], 0xf
mov byte [ebp - 0x2c], 0x19
mov byte [ebp - 0x2b], 0x4a
mov byte [ebp - 0x2a], 0x19
mov byte [ebp - 0x29], 0x96
mov byte [ebp - 0x28], 0x18
mov byte [ebp - 0x27], 0x96
mov byte [ebp - 0x26], 9
mov byte [ebp - 0x25], 0x96
mov byte [ebp - 0x24], 0x19
mov byte [ebp - 0x23], 0x96
mov byte [ebp - 0x22], 0x4a
mov byte [ebp - 0x21], 8
mov byte [ebp - 0x20], 0xb
mov byte [ebp - 0x1f], 0x94
mov byte [ebp - 0x1e], 6
mov byte [ebp - 0x1d], 0xb
mov byte [ebp - 0x1c], 0x1e
mov byte [ebp - 0x1b], 0x97
mov byte [ebp - 0x1a], 6
mov byte [ebp - 0x19], 0xb
mov byte [ebp - 0x18], 7
mov byte [ebp - 0x17], 0xb
mov byte [ebp - 0x16], 0xe
mov byte [ebp - 0x15], 0x97
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0x13], 0x4a
mov byte [ebp - 0x12], 0x31
mov byte [ebp - 0x11], 0xc
mov byte [ebp - 0x10], 0xb
mov byte [ebp - 0xf], 3
mov byte [ebp - 0xe], 6
mov byte [ebp - 0xd], 0xf
mov byte [ebp - 0xc], 0xe
mov byte [ebp - 0xb], 0x50
mov byte [ebp - 0xa], 0x4a
mov byte [ebp - 9], 0x49
mov byte [ebp - 8], 0x4f
mov byte [ebp - 7], 0xe
mov byte [ebp - 6], 0x37
mov al, byte [ebp - 0x34]
mov byte [ebp - 5], 0
mov al, byte [ebp + edx - 0x34]
mov ecx, dword [ebp - 0x38]
xor cl, al
mov byte [ebp + edx - 0x34], cl
inc edx
cmp edx, 0x2f
jb 0x10051e11
push esi
lea eax, [ebp - 0x34]
mov byte [ebp - 5], 0
push eax
push 0xaac4e5
call fcn.10009160
add esp, 0xc
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret
Function at 0x10056a20
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
imul esi, edi, 0x125
cmp byte [esi + 0x10190940], 0
je 0x10056aff
push 0
push dword [esi + 0x10190a57]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10190a57]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0xc], 0
jne 0x10056aa4
push edi
push dword [0x10194310]
push dword [0x1019430c]
call fcn.10064640
mov edx, dword [0x10194310]
cmp eax, edx
je 0x10056a8e
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.10065e70
add esp, 0xc
sub dword [0x10194310], 4
push dword [esi + 0x10190946]
call sub.bass.dll_BASS_ChannelStop
push dword [esi + 0x10190946]
call sub.bass.dll_BASS_MusicFree
xor eax, eax
mov dword [esi + 0x10190946], 0
push 0x100
push eax
mov word [esi + 0x10190a63], ax
lea eax, [esi + 0x1019094a]
push eax
mov byte [esi + 0x10190941], 0
mov byte [esi + 0x10190a56], 0
mov dword [esi + 0x10190942], 0
mov dword [esi + 0x10190a5b], 0
mov dword [esi + 0x10190a5f], 0xffffffff
call fcn.100663f0
add esp, 0xc
mov byte [esi + 0x10190940], 0
pop edi
pop esi
pop ebp
ret

Function at 0x10056b10
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1019430c]
mov ecx, dword [0x10194310]
cmp eax, ecx
je 0x10056c19
mov dx, word [ebp + 8]
push esi
push edi
nop dword [eax]
mov edi, dword [eax]
imul esi, edi, 0x125
cmp word [esi + 0x10190a63], dx
je 0x10056b4c
add eax, 4
cmp eax, ecx
jne 0x10056b30
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 0x10190940], 0
je 0x10056c17
push 0
push dword [esi + 0x10190a57]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10190a57]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0x10194310]
push dword [0x1019430c]
call fcn.10064640
mov edx, dword [0x10194310]
cmp eax, edx
je 0x10056ba6
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.10065e70
add esp, 0xc
sub dword [0x10194310], 4
push dword [esi + 0x10190946]
call sub.bass.dll_BASS_ChannelStop
push dword [esi + 0x10190946]
call sub.bass.dll_BASS_MusicFree
xor eax, eax
mov dword [esi + 0x10190946], 0
push 0x100
push eax
mov word [esi + 0x10190a63], ax
lea eax, [esi + 0x1019094a]
push eax
mov byte [esi + 0x10190941], 0
mov byte [esi + 0x10190a56], 0
mov dword [esi + 0x10190942], 0
mov dword [esi + 0x10190a5b], 0
mov dword [esi + 0x10190a5f], 0xffffffff
call fcn.100663f0
add esp, 0xc
mov byte [esi + 0x10190940], 0
pop edi
pop esi
pop ebp
ret
Function at 0x1005f900
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push esi
push edi
mov dword [ecx + 0x1384], 0xffffffff
lea edi, [ecx + 8]
mov dword [ecx + 4], edx
mov esi, 1
nop dword [eax]
mov eax, edx
lea edi, [edi + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi - 4], edx
cmp esi, 0x270
jb 0x1005f920
pop edi
pop esi
mov dword [ecx], 0x270
mov eax, ecx
pop ebp
ret 4

Function at 0x10060040
Capabilities:
Encode data using xor
Get file size
Hash data with crc32
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ff8d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100bc570]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x8000080
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
mov byte [ebp - 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x10060158
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov dword [ebp - 0x28], edi
xor ebx, ebx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x100600cb
lea ecx, [ebp - 0xe]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.1005f7f0
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
sub esi, edi
push esi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10060125
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x14], eax
jne 0x10060125
or ecx, 0xffffffff
test esi, esi
je 0x1006011a
mov edx, edi
nop word [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100bc0e0]
sub esi, 1
jne 0x10060100
mov eax, dword [ebp + 0xc]
not ecx
mov byte [ebp - 0xd], 1
mov dword [eax], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x10060158
sub ebx, edi
mov eax, edi
cmp ebx, 0x1000
jb 0x1006014e
mov edi, dword [eax - 4]
add ebx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006016d
push ebx
push edi
call fcn.10064ac2
add esp, 8
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10069c71
int3
Function at 0x10060ea0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009008d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100bc570]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], esi
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
push 0x288
mov dword [ebp - 4], 0
call fcn.1006991e
mov edi, eax
add esp, 4
test edi, edi
je 0x10060fd4
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10060f36
push dword [ebp - 0x2c]
call fcn.1006991e
mov edi, eax
add esp, 4
test edi, edi
je 0x10060fd4
lea eax, [ebp - 0x2c]
push eax
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10060fd4
cmp dword [edi + 0x190], eax
jbe 0x10060fa4
xor esi, esi
nop dword [eax]
nop word [eax + eax]
movzx eax, byte [edi + esi + 0x194]
push eax
push str._.2X
lea eax, [ebp - 0x30]
push 3
push eax
call fcn.10033760
lea eax, [ebp - 0x30]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10060f82
sub eax, edx
lea ecx, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.1001f500
inc esi
cmp esi, dword [edi + 0x190]
jb 0x10060f60
mov esi, dword [ebp - 0x34]
push edi
call fcn.10069903
xorps xmm0, xmm0
add esp, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
jmp 0x10061000
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 4
mov dword [esi + 0x14], 0xf
mov dword [esi], 0x656e6f6e
mov byte [esi + 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10064a7b
mov esp, ebp
pop ebp
ret

Function at 0x10061bb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10061c0b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10061c0b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10061bfa
cmp esi, edx
jae 0x10061c0b
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x10061be8
cmp esi, edx
jae 0x10061c0b
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret