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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
movaps xmm0, xmmword [0x10042160]
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0xe143802
push edi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0xc], 0x13061213
xor ecx, ecx
mov dword [ebp - 8], 0x9080e
nop dword [eax]
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0x1a
jb 0x10015e50
sub esp, 0x18
mov byte [ebp - 5], 0
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebp - 0x1f], 0
jne 0x10015e81
xor ecx, ecx
jmp 0x10015e90
lea ecx, [ebp - 0x1f]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10015e87
sub ecx, edi
push ecx
lea eax, [ebp - 0x1f]
mov ecx, edx
push eax
call fcn.10004e40
mov ecx, dword [esi]
call fcn.1000db70
add esp, 0x18
mov dword [esi + 4], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100270d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003f5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [0x1004a55c], eax
mov ebx, dword [edi]
push 4
push ebx
call esi
test eax, eax
jne 0x10027287
push 4
add ebx, 0xe5
push ebx
call esi
test eax, eax
jne 0x10027287
mov al, byte [ebx]
test al, al
je 0x10027287
cmp byte [ebp + 8], 0
jne 0x10027287
movaps xmm0, xmmword [str.0uDUB]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
nop dword [eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xe
jb 0x10027150
lea eax, [ebp - 0x53]
mov byte [ebp - 0x45], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.10004510
lea eax, [ebp - 0x2b]
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 0x7b
lea ecx, [ebp - 0x44]
push eax
mov byte [ebp - 0x2b], 0
call fcn.10004510
mov byte [ebp - 4], 1
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x100271aa
push 4
push ebx
call esi
test eax, eax
jne 0x100271aa
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10041b40]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x100271c0
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100055b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x44]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.10004510
mov byte [ebp - 4], 2
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x100271f4
push 4
push ebx
call esi
test eax, eax
jne 0x100271f4
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10041b84]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1002720a
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100055b0
mov ebx, dword [edi + 0x10]
test ebx, ebx
je 0x10027222
push 4
push ebx
call esi
test eax, eax
jne 0x10027222
mov ecx, ebx
call dword [0x10041b48]
lea eax, [ebp - 0x2b]
mov word [ebp - 0x2c], 0x49
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 0x2b], 0
call fcn.10004510
mov byte [ebp - 4], 3
mov ebx, dword [edi + 0x20]
test ebx, ebx
je 0x10027258
push 4
push ebx
call esi
test eax, eax
jne 0x10027258
lea eax, [ebp - 0x44]
mov ecx, ebx
push eax
call dword [0x10041b88]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x1002726e
inc eax
push eax
push dword [ebp - 0x44]
call fcn.100055b0
mov ecx, edi
call fcn.10028800
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x10027287
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100055b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003c800
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10038860
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10040078
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x10048018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x84], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x7c]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x7c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
call fcn.100385f0
lea ecx, [ebp - 0x7c]
call fcn.100386a0
push esi
lea ecx, [ebp - 0x7c]
call fcn.10038790
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x10038907
inc ecx
push ecx
push dword [ebp + 8]
call fcn.100055b0
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.1003c800
mov esp, ebp
pop ebp
ret
Function at 0x10039760
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004017e
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10048018]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [section..data]
cmp eax, 0xffffffff
jne 0x10039796
xor ebx, ebx
jmp 0x1003979f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
test ebx, ebx
je 0x100397e1
nop dword [eax]
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x10039820
test esi, esi
jne 0x10039824
push 0x10038fe0
push 0x10049af8
call fcn.10038cd0
mov eax, dword [section..data]
add esp, 8
cmp eax, 0xffffffff
je 0x100397e1
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 4], 1
test ebx, ebx
je 0x1003980e
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003980e
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10039866
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1003984f
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x10039824
cmp dword [ebx + 0x18], 0
je 0x100397b0
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1003988d
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x1003988d
push eax
mov eax, dword [esi + 0x14]
push ecx
call eax
add esp, 8
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebx + 0x14]
call fcn.10039000
cmp dword [ebx + 0x18], 0
jne 0x10039870
jmp 0x100397b0
Function at 0x10039b30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10039d00
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10039c0d
mov edx, dword [ebp - 4]
cmp edx, dword [0x10048004]
jb 0x10039b7a
mov eax, dword [ebp - 4]
cmp eax, dword [0x10048008]
ja 0x10039b7a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039b4a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039b9f
jmp 0x10039c0d
cmp dword [ebp - 0x14], 0x10000
jne 0x10039bf3
cmp dword [ebp - 0x18], 0x10000
jb 0x10039bf3
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039bd6
mov eax, dword [ebp - 8]
jmp 0x10039c0f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039be6
xor eax, eax
jmp 0x10039c0f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039c08
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10039d00
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039b4a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10039c20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10039d30
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10039cf5
mov edx, dword [ebp - 4]
cmp edx, dword [0x10048004]
jb 0x10039c65
mov eax, dword [ebp - 4]
cmp eax, dword [0x10048008]
ja 0x10039c65
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10039c35
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x10039c8a
jmp 0x10039cf5
cmp dword [ebp - 0x14], 0x10000
jne 0x10039cde
cmp dword [ebp - 0x18], 0x10000
jb 0x10039cde
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10039cc1
mov eax, dword [ebp - 8]
jmp 0x10039cf7
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x10039cd1
xor eax, eax
jmp 0x10039cf7
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10039cf0
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10039d30
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10039c35
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10039d60
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1003a150
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10049b0c], 0
jne 0x10039d9d
cmp dword [0x10049b08], 0
je 0x10039d9d
mov eax, dword [0x10049b08]
mov dword [0x10049b0c], eax
cmp dword [0x10049b0c], 0
je 0x10039e1a
mov ecx, dword [0x10049b0c]
cmp dword [ecx + 8], 0
je 0x10039e1a
mov edx, dword [0x10049b0c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10039e1a
mov ecx, dword [0x10049b0c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10039e1a
mov eax, dword [0x10049b0c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x10039de9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10039df0
xor eax, eax
jmp 0x10039f39
mov ecx, dword [0x10049b0c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10039f39
mov edx, dword [0x10049b08]
mov dword [0x10049b0c], edx
jmp 0x10039e36
mov eax, dword [0x10049b0c]
mov ecx, dword [eax + 4]
mov dword [0x10049b0c], ecx
cmp dword [0x10049b0c], 0
je 0x10039e76
cmp dword [0x10049b0c], 0
je 0x10039e74
mov edx, dword [0x10049b0c]
cmp dword [edx + 8], 0
je 0x10039e74
mov eax, dword [0x10049b0c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10039e74
mov edx, dword [0x10049b0c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10039e74
jmp 0x10039dce
jmp 0x10039e28
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10039f40
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10039f37
mov eax, dword [ebp - 0x18]
mov dword [0x10049b0c], eax
mov ecx, dword [0x10049b0c]
mov dword [ecx], 0x52727464
mov edx, dword [0x10049b0c]
mov dword [edx + 8], 0
mov eax, dword [0x10049b0c]
mov ecx, dword [0x10049b08]
mov dword [eax + 4], ecx
mov edx, dword [0x10049b0c]
mov dword [0x10049b08], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10049b0c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10039f07
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10039f27
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10039efe
mov eax, dword [0x10049b0c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x10039dce
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003ac80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10049b08]
mov dword [ebp - 4], eax
jmp 0x1003ac99
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1003acc0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003acbe
call sub.KERNEL32.dll_GetLastError
jmp 0x1003acc2
jmp 0x1003ac90
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1003b160
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10049b18], eax
je 0x1003b184
mov eax, 0x10dd
jmp 0x1003b32c
cmp dword [0x10049b1c], 0
je 0x1003b197
mov eax, dword [0x10049b1c]
jmp 0x1003b32c
cmp dword [ebp + 0xc], 0
jne 0x1003b1a7
mov eax, 0x57
jmp 0x1003b32c
cmp dword [ebp + 8], 0
jne 0x1003b1b7
mov eax, 6
jmp 0x1003b32c
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1003b1e0
mov dword [ebp - 8], 6
mov ecx, dword [ebp - 8]
mov dword [0x10049b1c], ecx
mov edx, dword [ebp + 8]
mov dword [0x10049b20], edx
mov eax, dword [ebp - 8]
jmp 0x1003b32c
push 0x18
call fcn.1003ca66
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b23b
mov dword [ebp - 8], 8
mov ecx, dword [ebp - 8]
mov dword [0x10049b1c], ecx
cmp dword [ebp - 4], 0
je 0x1003b22a
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
push 0x18
mov eax, dword [ebp - 0x20]
push eax
call fcn.1003cdce
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
mov dword [0x10049b20], ecx
mov eax, dword [ebp - 8]
jmp 0x1003b32c
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1003b140
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1003b140
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 0xc]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0xc], 0
je 0x1003b27b
cmp dword [ebp - 0xc], 0x1e
jbe 0x1003b297
mov dword [ebp - 8], 9
cmp dword [0x10049b10], 0
je 0x1003b292
jmp 0x1003b209
jmp 0x1003b200
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1003b2be
mov dword [ebp - 8], 9
cmp dword [0x10049b10], 0
je 0x1003b2b9
jmp 0x1003b209
jmp 0x1003b200
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x40
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1003b2e9
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b200
mov edx, dword [ebp - 4]
mov dword [edx + 4], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [0x10049b28]
mov dword [edx], eax
mov ecx, dword [ebp - 4]
mov dword [0x10049b28], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x1003b340
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x10049b18], eax
je 0x1003b35d
mov eax, 0x10dd
jmp 0x1003b440
mov eax, dword [0x10049b28]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1003b3dc
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1003b3b8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1003b3b8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1003a1e0
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1003cdce
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1003b365
mov dword [0x10049b28], 0
call fcn.1003aac0
mov ecx, dword [0x10049b24]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1003b42a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1003cdce
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1003b3f4
mov dword [0x10049b24], 0
mov dword [0x10049b18], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1003b920
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x10049b1c], 0
je 0x1003b939
mov eax, dword [0x10049b1c]
jmp 0x1003b9d8
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1003b94a
xor eax, eax
jmp 0x1003b9d8
push 8
call fcn.1003ca66
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1003b9a2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1003b98b
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1003cdce
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x10049b1c], eax
mov dword [0x10049b20], 0
mov eax, dword [ebp - 8]
jmp 0x1003b9d8
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1003b9ba
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1003b96a
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x10049b24]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x10049b24], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x9c8058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9c81a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9c807e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c806a
add dl, dl
jne 0x9c8089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c80dc
xor eax, eax
add dl, dl
jne 0x9c8096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9c817d
add dl, dl
jne 0x9c80a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c80b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c80bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c80c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9c80d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9c8075
mov eax, 1
add dl, dl
jne 0x9c80ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9c80f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c80e1
sub eax, ebx
mov ebx, 1
jne 0x9c8128
mov ecx, 1
add dl, dl
jne 0x9c810e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c8119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c8105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c8075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9c813f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9c814a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9c8136
cmp eax, 0x7d00
jae 0x9c816d
cmp eax, 0x500
jb 0x9c8168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c8075
cmp eax, 0x7f
ja 0x9c8170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9c8075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9c819e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9c8075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x41b250
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x41b2b1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x41b294
cmp edi, 2
jb 0x41b294
cmp byte [esi], cl
jne 0x41b294
cmp byte [esi + 1], cl
jne 0x41b294
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b09b8]
jmp 0x41b265
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4b09b8]
test edi, edi
jne 0x41b265
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x41b2e0
cmp cl, 0x23
jne 0x41b2c7
cmp byte [esi], cl
jne 0x41b2c7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x4b09b8]
test cl, cl
jne 0x41b2b8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x41b480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
jne 0x41b4a5
push 0x621
push str.D:2022UNITY_CHEAT_2.2imgui_dockingimgui.cpp
push str.filename__mode
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov edi, dword [ebp + 8]
test edi, edi
je 0x41b4b2
mov dword [edi], 0
mov edx, 0x543b00
mov ecx, esi
call fcn.0041b2f0
mov esi, eax
test esi, esi
je 0x41b5a2
mov ebx, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call ebx
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x41b598
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41b598
push esi
call ebx
mov ebx, eax
add esp, 4
mov dword [ebp + 8], ebx
cmp ebx, 0xffffffff
je 0x41b598
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x41b598
mov eax, dword [0x7378d8]
test eax, eax
je 0x41b52c
inc dword [eax + 0x370]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41b598
push esi
push dword [ebp + 8]
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x41b57d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x7378d8]
add esp, 4
test eax, eax
je 0x41b56a
dec dword [eax + 0x370]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test edi, edi
je 0x41b58f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret