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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a9fd
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100b8560]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.100608e2
mov edi, eax
add esp, 4
test edi, edi
je 0x1002ac9d
push 1
mov dword [ebp - 4], 0
call fcn.1005fad5
add esp, 4
mov dword [edi + 4], eax
jmp 0x1002ac9f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
call fcn.10010320
add esp, 4
mov ecx, dword [eax]
push 0x20
mov edx, dword [ecx + 0x20]
mov ecx, eax
call edx
mov dword [ebp - 4], 0xffffffff
mov bl, al
test edi, edi
je 0x1002acfa
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x1002acfa
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov byte [esi + 0x40], bl
jne 0x1002ad16
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x1002ad39
cmp byte [ebp + 0xc], 0
je 0x1002ad25
push esi
call fcn.1005ff6a
add esp, 4
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
test cl, 4
je 0x1002ad45
mov esi, str.ios_base::badbit_set
jmp 0x1002ad55
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.1002ade0
add esp, 8
lea ecx, [ebp - 0x28]
push eax
push esi
call fcn.10011290
push 0x100b2f20
lea eax, [ebp - 0x28]
push eax
call fcn.1006241c
int3
Function at 0x1003c0f0
Capabilities:
Allocate or change rwx memory
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x100b8560]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100ca9fd], 0
jne 0x1003c294
mov byte [0x100ca9fd], 1
xor ecx, ecx
mov byte [ebp - 0x18], 0x6a
mov byte [ebp - 0x17], 0x6b
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x7b
mov byte [ebp - 0x14], 0x6d
mov byte [ebp - 0x13], 0x40
mov byte [ebp - 0x12], 0x40
mov byte [ebp - 0x11], 0x79
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0xf], 0x67
mov byte [ebp - 0xe], 0x38
mov byte [ebp - 0xd], 0x40
mov byte [ebp - 0xc], 0x40
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x6f
mov byte [ebp - 8], 0x7a
mov byte [ebp - 7], 0
mov al, byte [ebp - 0x18]
mov al, byte [ebp + ecx - 0x18]
sub al, 6
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, 0x11
jb 0x1003c161
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.10044ed0
add esp, 4
push 0x100ca8f8
push 0x105
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x1008fc10
push 0x1008d9ec
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp byte [0x100ca9fe], 0
mov esi, eax
mov dword [0x100caa00], esi
jne 0x1003c1f9
lea eax, [ebp - 0x3c]
mov byte [0x100ca9fe], 1
push eax
push 0x40
push 5
push esi
mov byte [0x100ca9ff], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [0x100caa08], eax
mov eax, 0x1003b6e0
sub eax, esi
mov byte [esi], 0xe9
sub eax, 5
mov dword [0x100caa0c], ecx
mov dword [esi + 1], eax
mov esi, dword [0x100caa00]
mov byte [ebp - 0x38], 0x6e
xor ecx, ecx
mov byte [ebp - 0x37], 0x6f
mov byte [ebp - 0x36], 0x6c
mov byte [ebp - 0x35], 0x7f
mov byte [ebp - 0x34], 0x71
mov byte [ebp - 0x33], 0x44
mov byte [ebp - 0x32], 0x44
mov byte [ebp - 0x31], 0x7d
mov byte [ebp - 0x30], 0x6b
mov byte [ebp - 0x2f], 0x6b
mov byte [ebp - 0x2e], 0x3c
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x44
mov byte [ebp - 0x2b], 0x73
mov byte [ebp - 0x2a], 0x78
mov byte [ebp - 0x29], 0x73
mov byte [ebp - 0x28], 0x7e
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x44
mov byte [ebp - 0x25], 0x70
mov byte [ebp - 0x24], 0x73
mov byte [ebp - 0x23], 0x78
mov byte [ebp - 0x22], 0x73
mov byte [ebp - 0x21], 0x7d
mov byte [ebp - 0x20], 0x72
mov byte [ebp - 0x1f], 0x44
mov byte [ebp - 0x1e], 0x44
mov byte [ebp - 0x1d], 0x2f
mov byte [ebp - 0x1c], 0x82
mov byte [ebp - 0x1b], 0
mov al, byte [ebp - 0x38]
mov al, byte [ebp + ecx - 0x38]
sub al, 0xa
mov byte [ebp + ecx - 0x38], al
inc ecx
cmp ecx, 0x1d
jb 0x1003c276
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.10044ed0
add esp, 8
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100608cb
mov esp, ebp
pop ebp
ret
Function at 0x1003c2b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100b8560]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x100ca9fd], 0
je 0x1003c3f5
cmp byte [0x100ca9ff], 0
mov byte [0x100ca9fd], 0
jne 0x1003c301
mov eax, dword [0x100caa00]
mov ecx, dword [0x100caa08]
mov edx, dword [0x100caa0c]
mov byte [0x100ca9ff], 1
mov byte [0x100ca9fe], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [ebp - 0x1c], 0xc
mov eax, dword [ebp - 0x1c]
xor al, 0x64
mov byte [ebp - 0x18], al
mov eax, dword [ebp - 0x1c]
inc al
xor al, 0x65
mov byte [ebp - 0x17], al
mov eax, dword [ebp - 0x1c]
add al, 2
xor al, 0x62
mov byte [ebp - 0x16], al
mov eax, dword [ebp - 0x1c]
add al, 3
xor al, 0x75
mov byte [ebp - 0x15], al
mov eax, dword [ebp - 0x1c]
add al, 4
xor al, 0x67
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x1c]
add al, 5
xor al, 0x3a
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x1c]
add al, 6
xor al, 0x3a
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x1c]
add al, 7
xor al, 0x73
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x1c]
add al, 8
xor al, 0x61
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x1c]
add al, 9
xor al, 0x61
mov byte [ebp - 0xf], al
mov eax, dword [ebp - 0x1c]
add al, 0xa
xor al, 0x32
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0x1c]
add al, 0xb
xor al, 0x3a
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0x1c]
add al, 0xc
xor al, 0x3a
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x1c]
add al, 0xd
xor al, 0x75
mov byte [ebp - 0xb], al
mov eax, dword [ebp - 0x1c]
add al, 0xe
xor al, 0x6e
mov byte [ebp - 0xa], al
mov eax, dword [ebp - 0x1c]
add al, 0xf
xor al, 0x6c
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x1c]
add al, 0x10
xor al, 0x6f
mov byte [ebp - 8], al
mov eax, dword [ebp - 0x1c]
add al, 0x11
xor al, 0x61
mov byte [ebp - 7], al
mov eax, dword [ebp - 0x1c]
add al, 0x12
mov byte [ebp - 5], 0
xor al, 0x64
mov byte [ebp - 6], al
mov al, byte [ebp - 0x18]
xor eax, eax
nop dword [eax]
mov cl, byte [ebp + eax - 0x18]
mov edx, dword [ebp - 0x1c]
add dl, al
xor dl, cl
mov byte [ebp + eax - 0x18], dl
inc eax
cmp eax, 0x13
jb 0x1003c3d0
lea eax, [ebp - 0x18]
mov byte [ebp - 5], 0
push eax
call fcn.10044ed0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100608cb
mov esp, ebp
pop ebp
ret
Function at 0x1003c6a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b8560]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
call fcn.1003ca30
cmp eax, 1
je 0x1003c6df
cmp eax, 4
je 0x1003c6df
push 0
push 0x1008d9b0
push str.Unsupported_GTA:SA_n
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
mov dword [ebp - 0xc], 0
xorps xmm0, xmm0
mov dword [ebp - 8], 0
movups xmmword [ebp - 0x1c], xmm0
lea edx, [eax + 1]
nop dword [eax]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1003c700
push ebx
push edi
sub eax, edx
lea ecx, [ebp - 0x1c]
push eax
push esi
call fcn.10004860
mov ecx, 0x100b7e0c
call fcn.10004e40
mov esi, dword [0x1018a5f0]
mov ebx, 0x1003c810
movups xmm0, xmmword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub ebx, esi
sub ebx, 0xf
mov dword [ebp - 0x14], 0xd8964
mov eax, ebx
mov dword [ebp - 0x10], 0x83000000
sar eax, 8
movups xmmword [0x100b7e0c], xmm0
movq xmm0, qword [ebp - 0xc]
mov byte [ebp - 8], al
mov eax, ebx
sar eax, 0x10
mov byte [ebp - 7], al
lea eax, [ebp - 0x24]
push eax
push 0x40
push 0xf
mov byte [ebp - 9], bl
push esi
movq qword [0x100b7e1c], xmm0
mov word [ebp - 0xc], 0x10c4
mov byte [ebp - 0xa], 0xe9
sar ebx, 0x18
call edi
movq xmm0, qword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
movq qword [esi], xmm0
mov dword [esi + 8], eax
mov ax, word [ebp - 8]
mov word [esi + 0xc], ax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x24]
mov byte [esi + 0xe], bl
push 0xf
push esi
call edi
mov esi, dword [0x1018a5f4]
lea eax, [ebp - 0x24]
push eax
push 0x40
push 5
push esi
call edi
mov dword [esi], 0x90909090
mov byte [esi + 4], 0x90
mov eax, dword [0x1018a5f8]
mov dword [eax], 0x100da970
lea eax, [ebp - 0x24]
mov esi, dword [0x1018a5fc]
push eax
push 0x40
push 5
push esi
call edi
mov ecx, dword [ebp - 4]
mov dword [esi], 0x90909090
xor ecx, ebp
mov byte [esi + 4], 0x90
mov eax, dword [0x1018a600]
pop edi
pop ebx
pop esi
mov dword [eax], 0x100da970
call fcn.100608cb
mov esp, ebp
pop ebp
ret

Function at 0x1003caf0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003cb00

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1003cd90
Function at 0x1003fe50
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008abfb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x100b8560]
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.100608e2
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.10046810
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x1004001b
cmp dword [esi + 0x1c], 0x10
lea ebx, [esi + 8]
mov edx, ebx
jb 0x1003ff04
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [ebx + 0x10], ecx
jbe 0x1003ff22
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [ebx + 0x10]
jb 0x1003ff10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x24]
push edi
push ebx
push eax
call fcn.100409d0
cmp dword [ebp - 0x20], 0
jne 0x1004000d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 0x71c71c7
je 0x10040031
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push 0x24
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], 0
call fcn.100608e2
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.10004c70
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 + 0x1008d680]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
seta al
test al, al
je 0x1003fff1
mov ecx, ebx
call fcn.10046c10
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
call fcn.100409d0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x1003fff4
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x18]
mov dword [ebp - 0x28], 0
push ecx
push edi
mov ecx, ebx
call fcn.10046bb0
mov byte [ebp - 4], 1
jmp 0x10040010
mov ebx, dword [ebp - 0x10]
mov esi, dword [esi]
cmp esi, dword [ebp - 0x1c]
jne 0x1003fef7
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.1005f7a5
int3
Function at 0x10041100
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 0x1004111e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10041144
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10041130
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 8]
push ecx
mov ecx, eax
call fcn.100409d0
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 0x10041230
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 0x1004124e
mov edi, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x10041274
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x10041260
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.100409d0
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10041294
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x10042d80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008b065
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x100b8560]
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 0x10042db7
mov edx, dword [edi]
xor ecx, ecx
mov esi, 0x811c9dc5
cmp dword [edi + 0x10], ecx
jbe 0x10042dd5
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, dword [edi + 0x10]
jb 0x10042dc3
push esi
push edi
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call fcn.100409d0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10042ea1
cmp dword [ebx + 8], 0x71c71c7
je 0x10042eb8
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], eax
push 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
call fcn.100608e2
add esp, 4
mov dword [ebp - 0x18], eax
add eax, 8
mov ecx, eax
mov dword [ebp + 8], eax
push edi
call fcn.10004c70
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 + 0x1008d680]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1008d680]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, dword [ebx]
jbe 0x10042e92
mov ecx, ebx
call fcn.10046c10
push esi
push edi
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.100409d0
mov ecx, dword [eax]
jmp 0x10042e95
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x18]
push ecx
push esi
mov ecx, ebx
call fcn.10046bb0
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.1005f7a5
int3
Function at 0x10044200
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 [0x1018a650]
cmp eax, 8
jg case.0x1004422e.8
dec eax
cmp eax, 7
ja case.0x1004422e.3
jmp dword [eax*4 + 0x10044264]
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 0x100442c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x100b8560]
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.10071ab2
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [eax + 0x128000]
cmp eax, ecx
jae 0x1004433c
mov esi, 0x6c7
mov edx, 0x8689
inc eax
cmp word [eax], si
jne 0x10044332
cmp word [eax + 6], dx
jne 0x10044332
cmp word [eax + 0xc], dx
je 0x10044356
lea ecx, [eax + 0x128000]
cmp eax, ecx
jb 0x10044320
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.100608cb
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [eax + 2]
jmp 0x1004433f
Function at 0x10044ca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x1018a638], 1
je 0x10044ecc
mov dword [0x1018a638], 1
cmp dword [0xb6f5f0], 0
push esi
jne 0x10044cdb
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, 0xb6f5f0
push 5
call esi
cmp dword [edi], 0
je 0x10044cd1
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 0x10044f80
push 0x522f74
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x51d5ab
call esi
movq xmm0, qword [0x10093398]
mov ecx, 0x51d5ab
movq qword [ecx], xmm0
movzx eax, word [0x100933a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x52c159
call esi
push 6
push 0x10043110
push 0x52c159
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 7
push 0x52167a
call esi
push 7
push 0x10046800
push 0x52167a
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x5108aa
call esi
push 6
push 0x10045af0
push 0x5108aa
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f47
call esi
mov eax, dword [0x100933a4]
mov ecx, 0x522f47
mov dword [ecx], eax
movzx eax, word [0x100933a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 0xa
push 0x524bde
call esi
movq xmm0, qword [0x10093398]
mov ecx, 0x524bde
movq qword [ecx], xmm0
movzx eax, word [0x100933a0]
mov word [ecx + 8], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x509bc6
call esi
mov eax, dword [0x100933ac]
mov ecx, 0x509bc6
mov dword [ecx], eax
movzx eax, word [0x100933b0]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 5
push 0x50e490
call esi
push 5
push 0x100430e0
push 0x50e490
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f32
call esi
push 6
push 0x10044fa0
push 0x522f32
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x523f61
call esi
push 6
push 0x10044fb0
push 0x523f61
call fcn.1005ab10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f51
call esi
mov eax, dword [0x100933a4]
mov ecx, 0x522f51
mov dword [ecx], eax
movzx eax, word [0x100933a8]
mov word [ecx + 4], ax
lea eax, [ebp - 4]
push eax
push 0x40
push 6
push 0x522f6a
call esi
mov eax, dword [0x100933a4]
mov ecx, 0x522f6a
pop esi
mov dword [ecx], eax
movzx eax, word [0x100933a8]
mov word [ecx + 4], ax
mov esp, ebp
pop ebp
ret
Function at 0x1004b200
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, 8
jb 0x1004b204
pop ebx
mov byte [ecx + 0xc], 0
lea eax, [ecx + 4]
pop esi
ret

Function at 0x1004b230
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, 0x17
jb 0x1004b234
pop ebx
mov byte [ecx + 0x1b], 0
lea eax, [ecx + 4]
pop esi
ret
Function at 0x10052cd0
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 + 0x1018a930], 0
je 0x10052daf
push 0
push dword [esi + 0x1018aa47]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1018aa47]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp + 0xc], 0
jne 0x10052d54
push edi
push dword [0x1018e2c0]
push dword [0x1018e2bc]
call fcn.10060490
mov edx, dword [0x1018e2c0]
cmp eax, edx
je 0x10052d3e
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.10061cc0
add esp, 0xc
sub dword [0x1018e2c0], 4
push dword [esi + 0x1018a936]
call sub.bass.dll_BASS_ChannelStop
push dword [esi + 0x1018a936]
call sub.bass.dll_BASS_MusicFree
xor eax, eax
mov dword [esi + 0x1018a936], 0
push 0x100
push eax
mov word [esi + 0x1018aa53], ax
lea eax, [esi + 0x1018a93a]
push eax
mov byte [esi + 0x1018a931], 0
mov byte [esi + 0x1018aa46], 0
mov dword [esi + 0x1018a932], 0
mov dword [esi + 0x1018aa4b], 0
mov dword [esi + 0x1018aa4f], 0xffffffff
call fcn.10062240
add esp, 0xc
mov byte [esi + 0x1018a930], 0
pop edi
pop esi
pop ebp
ret

Function at 0x10052dc0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x1018e2bc]
mov ecx, dword [0x1018e2c0]
cmp eax, ecx
je 0x10052ec9
mov dx, word [ebp + 8]
push esi
push edi
nop dword [eax]
mov edi, dword [eax]
imul esi, edi, 0x125
cmp word [esi + 0x1018aa53], dx
je 0x10052dfc
add eax, 4
cmp eax, ecx
jne 0x10052de0
pop edi
pop esi
pop ebp
ret
cmp byte [esi + 0x1018a930], 0
je 0x10052ec7
push 0
push dword [esi + 0x1018aa47]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x1018aa47]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push dword [0x1018e2c0]
push dword [0x1018e2bc]
call fcn.10060490
mov edx, dword [0x1018e2c0]
cmp eax, edx
je 0x10052e56
lea ecx, [eax + 4]
sub edx, ecx
push edx
push ecx
push eax
call fcn.10061cc0
add esp, 0xc
sub dword [0x1018e2c0], 4
push dword [esi + 0x1018a936]
call sub.bass.dll_BASS_ChannelStop
push dword [esi + 0x1018a936]
call sub.bass.dll_BASS_MusicFree
xor eax, eax
mov dword [esi + 0x1018a936], 0
push 0x100
push eax
mov word [esi + 0x1018aa53], ax
lea eax, [esi + 0x1018a93a]
push eax
mov byte [esi + 0x1018a931], 0
mov byte [esi + 0x1018aa46], 0
mov dword [esi + 0x1018a932], 0
mov dword [esi + 0x1018aa4b], 0
mov dword [esi + 0x1018aa4f], 0xffffffff
call fcn.10062240
add esp, 0xc
mov byte [esi + 0x1018a930], 0
pop edi
pop esi
pop ebp
ret