joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10053e30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x100f326b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
lea eax, [esp + 0x20]
push edi
push eax
push 0x104
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x10053eca
mov cl, byte [esp + 0xf]
push ebp
mov ebp, dword [esp + 0x13c]
push eax
mov byte [ebp], cl
mov ecx, ebp
call fcn.10002043
mov edi, 0x10115c8c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
mov ecx, ebp
push ebx
call fcn.1000234e
test al, al
je 0x10053ec2
mov edi, dword [ebp + 4]
mov ecx, ebx
mov edx, ecx
mov esi, 0x10115c8c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 4]
mov dword [ebp + 8], ebx
mov byte [ebx + eax], 0
mov eax, ebp
pop ebp
jmp 0x10054015
mov cl, byte [esp + 0xf]
push 0
mov byte [esp + 0x14], cl
lea ecx, [esp + 0x14]
call fcn.10002043
lea edi, [esp + 0x24]
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x14]
push ebx
call fcn.1000234e
test al, al
je 0x10053f1f
mov edi, dword [esp + 0x14]
mov ecx, ebx
mov edx, ecx
lea esi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.100044f0
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x130], 0
test ecx, ecx
je 0x10053fc4
lea esi, [ecx - 1]
cmp ecx, esi
jb 0x10053f79
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10053f79
mov dl, byte [eax - 1]
test dl, dl
je 0x10053f65
cmp dl, 0xff
je 0x10053f65
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.1000234e
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10053f75
mov byte [eax - 1], 0xff
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
add eax, esi
jmp 0x10053f7e
mov eax, 0x100f7364
cmp byte [eax], 0x5c
je 0x10053fc4
mov eax, dword [0x100f7360]
sub eax, ecx
cmp eax, 1
ja 0x10053f98
call fcn.100d0305
mov ecx, dword [esp + 0x18]
lea esi, [ecx + 1]
push 0
push esi
lea ecx, [esp + 0x18]
call fcn.1000234e
test al, al
je 0x10053fc4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add edx, ecx
mov byte [edx], 0x5c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], esi
mov byte [eax + esi], 0
mov esi, dword [esp + 0x138]
mov cl, byte [esp + 0x10]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.10002043
mov edx, dword [0x100f7360]
lea eax, [esp + 0x10]
push edx
push 0
push eax
mov ecx, esi
call fcn.10001ec7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x10054013
mov al, byte [ecx - 1]
test al, al
je 0x10054009
cmp al, 0xff
je 0x10054009
dec al
mov byte [ecx - 1], al
jmp 0x10054013
dec ecx
push ecx
call fcn.100d02fa
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x128]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 4
Function at 0x10054090
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
test eax, eax
jne 0x100540a0
mov eax, 0x100f7364
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100540b1
xor eax, eax
ret 4
and al, 0x10
neg al
sbb eax, eax
neg eax
inc eax
ret 4
Function at 0x1005e9a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f3910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.10069190
mov edi, eax
mov eax, dword [esp + 0x44]
mov edx, dword [0x100f7360]
xor ebx, ebx
push edx
mov cl, byte [eax]
push ebx
mov byte [esp + 0x28], cl
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.10001ec7
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 1
call fcn.1007b7c0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x44], 2
call fcn.1005f370
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 3
call fcn.10069570
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1005ea57
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1005ea4e
cmp al, 0xff
je 0x1005ea4e
dec al
mov byte [ecx], al
jmp 0x1005ea57
push ecx
call fcn.100d02fa
add esp, 4
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x3c], 0xffffffff
call fcn.10069570
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 4
Function at 0x10061760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100f3be0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov eax, dword [0x10117018]
push ebp
push esi
push eax
push 1
lea ecx, [esp + 0x10]
push 4
push ecx
call fcn.100dfd98
mov edx, dword [0x10117018]
mov esi, dword [0x10116ff8]
or ebp, 0xffffffff
push edx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
call fcn.100e0027
mov ecx, dword [esi - 4]
add esp, 0x14
sub ecx, eax
mov dword [esp + 0x18], ecx
je 0x1006197b
mov edx, dword [esp + 8]
push ebx
push edi
xor ebx, ebx
lea eax, [edx*4]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.10061650
mov edx, dword [0x10117018]
lea eax, [esp + 0x30]
push edx
push 1
push 0x10
push eax
mov dword [esp + 0x88], ebx
call fcn.100dfd98
mov ecx, dword [0x10117018]
lea edx, [esp + 0x28]
push ecx
push 1
push 4
push edx
call fcn.100dfd98
mov eax, dword [0x10117018]
lea ecx, [esp + 0x3c]
push eax
push 1
push 4
push ecx
call fcn.100dfd98
mov edx, dword [0x10117018]
lea eax, [esp + 0x50]
push edx
push 1
push 4
push eax
call fcn.100dfd98
mov ecx, dword [0x10117018]
mov edx, dword [esp + 0x54]
add esp, 0x40
lea eax, [esp + 0x50]
push ecx
push 1
push edx
push eax
call fcn.100dfd98
add esp, 0x10
lea ecx, [esp + 0x10]
call fcn.10069190
fld dword [esp + 0x30]
fstp dword [esp + 0x24]
fld dword [esp + 0x34]
fstp dword [esp + 0x28]
fld dword [esp + 0x38]
lea ecx, [esp + 0x24]
mov byte [esp + 0x78], 1
push ecx
lea ecx, [esp + 0x14]
fstp dword [esp + 0x30]
call fcn.10069780
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x3c]
push edx
call fcn.100697a0
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x18]
push eax
call fcn.10069800
mov ecx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10069810
lea ecx, [esp + 0x10]
mov edx, dword [esp + 0x20]
push edx
call fcn.10069830
xor esi, esi
lea edi, [esp + 0x50]
mov eax, dword [edi]
cmp eax, ebx
jl 0x100618f7
mov ecx, dword [0x1011700c]
push ebx
lea edx, [ecx + eax*4]
lea ecx, [esp + 0x14]
push edx
push esi
call fcn.10069850
inc esi
add edi, 4
cmp esi, 8
jl 0x100618dc
mov ecx, dword [0x10116fe8]
lea eax, [esp + 0x10]
push eax
push 1
push ecx
mov ecx, 0x10116fe0
call fcn.1005a930
lea ecx, [esp + 0x10]
mov byte [esp + 0x78], bl
call fcn.10069570
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x78], ebp
cmp ecx, ebx
je 0x1006194d
mov al, byte [ecx - 1]
cmp al, bl
je 0x10061943
cmp al, 0xff
je 0x10061943
dec al
mov byte [ecx - 1], al
jmp 0x1006194d
dec ecx
push ecx
call fcn.100d02fa
add esp, 4
mov edx, dword [0x10117018]
mov esi, dword [0x10116ff8]
push edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.100e0027
mov ecx, dword [esi - 4]
add esp, 4
sub ecx, eax
jne 0x100617e8
pop edi
pop ebx
mov ecx, dword [esp + 0x68]
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x10071790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100f44b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x30]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, ecx
sub eax, edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push ecx
push 1
push eax
mov ecx, ebp
mov dword [esp + 0x30], ebp
call fcn.100918f0
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 0x24]
test eax, eax
je 0x10071989
mov edx, dword [ebp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x10]
sar edx, 2
cmp eax, edx
jae 0x10071989
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esi + eax + 4]
push edx
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x40]
push ecx
push eax
lea ecx, [esp + 0x34]
call fcn.1007b7d0
mov ebx, eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x34], 0
add esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi + 0xc]
sub edx, eax
mov edi, eax
sar edx, 2
cmp edx, 1
jae 0x100718f8
mov edx, dword [esi + 4]
test edx, edx
je 0x10071855
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x1007185a
mov ecx, 1
test edx, edx
jne 0x10071862
xor eax, eax
jmp 0x10071867
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [esp + 0x20], eax
jge 0x10071873
xor eax, eax
shl eax, 2
push eax
call fcn.100ddb85
mov ecx, dword [esi + 4]
add esp, 4
mov dword [esp + 0x1c], eax
push eax
push edi
push ecx
mov ecx, esi
call fcn.10072550
mov ebp, eax
push ebx
push 1
push ebp
mov ecx, esi
call fcn.10072cb0
mov edx, dword [esi + 8]
add ebp, 4
push ebp
push edx
push edi
mov ecx, esi
call fcn.10072550
mov ebx, dword [esi + 8]
mov edi, dword [esi + 4]
cmp edi, ebx
je 0x100718c7
push 0
mov ecx, edi
call fcn.10073190
add edi, 4
cmp edi, ebx
jne 0x100718b7
mov eax, dword [esi + 4]
push eax
call fcn.100d02fa
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add esp, 4
lea ecx, [edi + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.1002c950
mov ebp, dword [esp + 0x24]
lea edx, [edi + eax*4 + 4]
mov dword [esi + 8], edx
mov dword [esi + 4], edi
jmp 0x1007195d
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x10071933
lea edx, [edi + 4]
mov ecx, esi
push edx
push eax
push edi
call fcn.10072550
mov eax, dword [esi + 8]
mov edx, 1
mov ecx, eax
push ebx
sub ecx, edi
sar ecx, 2
sub edx, ecx
mov ecx, esi
push edx
push eax
call fcn.10072cb0
mov eax, dword [esi + 8]
push ebx
push eax
jmp 0x10071953
push eax
push eax
add eax, 0xfffffffc
mov ecx, esi
push eax
call fcn.10072550
mov eax, dword [esi + 8]
push eax
add eax, 0xfffffffc
push eax
push edi
call fcn.10072d10
lea ecx, [edi + 4]
push ebx
push ecx
push edi
call fcn.10072ce0
add dword [esi + 8], 4
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], 0xffffffff
call fcn.1007ba80
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0x64
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov esi, eax
jmp 0x100717dc
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 0xc
Function at 0x10082740
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100f5069
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esi + 0x20]
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x1c], 2
mov dword [esp + 0x10], edi
je 0x100827b6
mov ecx, dword [edi + 0x18]
mov byte [esp + 0x1c], 3
cmp ecx, ebx
je 0x10082789
push 1
call fcn.10082810
mov ecx, dword [edi + 0x1c]
cmp ecx, ebx
je 0x10082797
push 1
call fcn.10082810
mov eax, dword [edi + 0x24]
push eax
mov dword [esp + 0x14], eax
call fcn.100d02fa
push edi
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.100d02fa
add esp, 8
mov eax, dword [esi + 0x28]
push eax
mov dword [esp + 0x14], eax
call fcn.100d02fa
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x14]
push eax
mov dword [esp + 0x18], eax
call fcn.100d02fa
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
push eax
mov dword [esp + 0x1c], eax
call fcn.100d02fa
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x1009ee00
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x1009eeba
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x1009eeba
cmp byte [eax + 1], 0x64
jne 0x1009eeba
cmp byte [eax + 2], 0x6f
jne 0x1009eeba
cmp byte [eax + 3], 0x62
jne 0x1009eeba
cmp byte [eax + 4], 0x65
jne 0x1009eeba
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret
Function at 0x100a0690
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x100a06c0
push esi
call fcn.100a5c30
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x100a06b9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x100a0743
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x100a072f
mov eax, dword [esi + 8]
test eax, eax
je 0x100a06e4
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x100a072b
cmp eax, 2
je 0x100a072f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x100a06d7
cmp eax, 3
je 0x100a070a
cmp eax, 1
jne 0x100a06d7
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x100a06d7
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x100a06d7
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.100a0770
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x100a0763
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.100a0770
add esp, 4
pop esi
ret

Function at 0x100a0770
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xcc
je 0x100a0798
mov eax, dword [esi + 0x180]
push esi
call dword [eax]
add esp, 4
mov dword [esi + 0x78], 0
mov dword [esi + 0x14], 0xcc
mov ecx, dword [esi + 0x180]
mov al, byte [ecx + 8]
test al, al
je 0x100a07c3
mov edx, dword [esi]
push esi
mov dword [edx + 0x14], 0x30
mov eax, dword [esi]
call dword [eax]
mov ecx, dword [esi + 0x180]
add esp, 4
mov al, byte [ecx + 8]
test al, al
jne 0x100a07a5
mov cl, byte [esi + 0x41]
xor edx, edx
test cl, cl
setne dl
add edx, 0xcd
mov al, 1
mov dword [esi + 0x14], edx
pop esi
ret
Function at 0x100a46c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x100a46cb
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x100a47ce
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100f7ee8]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100f7ee8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100f7ee8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100f7ee8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100f7ee8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100f7ee8]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100f7ee8]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100f7ee8]
xor eax, edx
inc ecx
dec edi
jne 0x100a46e6
pop edi
test esi, esi
je 0x100a47f0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100f7ee8]
xor eax, edx
inc ecx
dec esi
jne 0x100a47d2
pop esi
pop ebx
not eax
ret
Function at 0x100b1930
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push esi
mov esi, ecx
call fcn.100b4990
mov ecx, esi
call fcn.100b49f0
mov al, byte [esi + 8]
test al, al
je 0x100b1980
push str._mInsideAudioThreadMutex
push 0xc4
push str.C:_blitz3d_v1.110_soloud_srccore_soloud.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov ecx, esi
call fcn.100b06a0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100b1994
push esi
call eax
add esp, 4
mov eax, dword [esi + 4]
mov dword [esi + 0xc], 0
test eax, eax
je 0x100b19ab
push eax
call fcn.100ce5a0
add esp, 4
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100b4990
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x100b49ac
push eax
call fcn.100ce5c0
add esp, 4
mov al, byte [esi + 8]
test al, al
je 0x100b49e4
push str._mInsideAudioThreadMutex
push 0x8f5
push str.C:_blitz3d_v1.110_soloud_srccore_soloud.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov byte [esi + 8], 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100b49f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push esi
mov esi, ecx
mov al, byte [esi + 8]
test al, al
jne 0x100b4a34
push str.mInsideAudioThreadMutex
push 0x8fb
push str.C:_blitz3d_v1.110_soloud_srccore_soloud.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
int3
mov byte [esi + 8], 0
mov esi, dword [esi + 4]
test esi, esi
je 0x100b4a48
push esi
call fcn.100ce5d0
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100cbfe0
Capabilities:
Encode data using xor
Hash data using crc32b

Disassembly:
push esi
push edi
xor esi, esi
mov edx, 0x1011dfdc
mov eax, esi
mov ecx, 8
shl eax, 0x18
cmp eax, 0x80000000
sbb edi, edi
add eax, eax
and edi, 0xfb3ee249
add edi, 0x4c11db7
xor eax, edi
dec ecx
jne 0x100cbff3
mov dword [edx], eax
add edx, 4
inc esi
cmp edx, 0x1011e3dc
jl 0x100cbfe9
pop edi
pop esi
ret
Function at 0x100cd080
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x100cd21e
push edi
call fcn.100c7420
add esp, 4
cmp al, 0x4f
jne 0x100cd213
push edi
call fcn.100cc9e0
mov ecx, dword [edi + 0x38]
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
lea eax, [ebx - 0x19]
cmp eax, ecx
ja 0x100cd21e
mov esi, 1
push edi
call fcn.100c7420
mov cl, byte [esi + str.OggS_]
add esp, 4
cmp al, cl
jne 0x100cd0e2
inc esi
cmp esi, 4
jl 0x100cd0c9
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x100cd21e
cmp esi, 4
jne 0x100cd209
mov ecx, dword [str.OggS_]
mov dword [esp + 0x14], ecx
push edi
call fcn.100c7420
add esp, 4
mov byte [esp + esi + 0x14], al
inc esi
cmp esi, 0x1b
jb 0x100cd100
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x100cd21e
mov al, byte [esp + 0x18]
test al, al
jne 0x100cd209
mov ebp, dword [esp + 0x2d]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x2b]
and ebp, 0xff
mov ecx, dword [esp + 0x2a]
and edx, 0xff
shl ebp, 8
add ebp, edx
and eax, 0xff
shl ebp, 8
add ebp, eax
and ecx, 0xff
shl ebp, 8
xor ebx, ebx
add ebp, ecx
xor esi, esi
mov dword [esp + 0x2a], ebx
xor eax, eax
xor edx, edx
mov ecx, esi
mov dl, byte [esp + eax + 0x14]
shr ecx, 0x18
xor edx, ecx
shl esi, 8
mov edx, dword [edx*4 + 0x1011dfdc]
xor esi, edx
inc eax
cmp eax, 0x1b
jb 0x100cd16a
mov eax, dword [esp + 0x2e]
and eax, 0xff
jbe 0x100cd201
mov dword [esp + 0x38], eax
push edi
call fcn.100c7420
and eax, 0xff
mov ecx, esi
mov edx, eax
add ebx, eax
mov eax, dword [esp + 0x3c]
and edx, 0xff
shr ecx, 0x18
xor ecx, edx
add esp, 4
shl esi, 8
mov ecx, dword [ecx*4 + 0x1011dfdc]
xor esi, ecx
dec eax
mov dword [esp + 0x38], eax
jne 0x100cd198
test ebx, ebx
je 0x100cd201
mov eax, dword [edi + 0x6c]
test eax, eax
jne 0x100cd21e
test ebx, ebx
jbe 0x100cd201
push edi
call fcn.100c7420
mov edx, esi
and eax, 0xff
shr edx, 0x18
xor eax, edx
add esp, 4
shl esi, 8
mov eax, dword [eax*4 + 0x1011dfdc]
xor esi, eax
dec ebx
jne 0x100cd1dd
cmp esi, ebp
je 0x100cd228
mov ebx, dword [esp + 0x10]
push ebx
push edi
call fcn.100ccfd0
add esp, 8
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x100cd096
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x24
ret
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x100cd23b
push edi
call fcn.100cc9e0
add esp, 4
mov dword [esi], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x100cd255
mov ecx, dword [esp + 0x19]
and ecx, 0xff
shr ecx, 2
and ecx, 1
mov dword [eax], ecx
mov edx, dword [esp + 0x10]
dec edx
push edx
push edi
call fcn.100ccfd0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret