joyce8/EMBER2024-capa huggingface dataset:
Function at 0x51aff0
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov ebx, eax
lea eax, [esp + 0x10]
push eax
lea edi, [ebp + 0x50]
call fcn.0051bd30
test al, al
je 0x51b012
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x51b027
push ebx
push str.Context_expected__but_not_found_for_0x_x
mov eax, 2
call fcn.0051a740
add esp, 8
xor edi, edi
test edi, edi
mov dword [esp + 0x10], edi
jne 0x51b04a
push ebx
push str.Attempt_to_start_loading_non_existant_context__context0x_x_.
mov eax, 2
call fcn.0051a740
add esp, 8
pop edi
pop ebp
xor al, al
pop ebx
ret 4
mov eax, dword [0x728c28]
cmp eax, 0xffffffff
push esi
mov esi, dword [edi + 0x38]
je 0x51b06e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51b06e
xor edx, edx
mov ecx, esi
call fcn.004fc390
jmp 0x51b077
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x51b0db
cmp byte [edi], 0
jne 0x51b0d1
mov al, byte [edi + 1]
test al, al
jne 0x51b0d1
lea eax, [ebp + 0x34]
call fcn.004fc510
lea ecx, [esp + 0x14]
mov byte [edi], 1
push ecx
lea esi, [ebp + 0x3c]
mov byte [edi + 1], 0
call fcn.0051bcf0
mov edx, dword [ebp + 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edx
call esi
push ebx
push str.Starting_to_load_context_files__context0x_x_
mov eax, 3
call fcn.0051a740
mov eax, dword [edi + 0x38]
add esp, 8
push eax
call esi
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
ret 4
mov ecx, dword [edi + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop esi
pop edi
pop ebp
mov al, 1
pop ebx
ret 4
Function at 0x51b160
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebx
push edi
mov edi, dword [esp + 0x10]
mov ebx, eax
lea eax, [esp + 8]
push eax
add edi, 0x50
call fcn.0051bd30
test al, al
je 0x51b20a
mov edi, dword [esp + 8]
test edi, edi
je 0x51b20a
lea eax, [edi + 0x34]
call fcn.004fc510
mov al, byte [edi + 1]
test al, al
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
jne 0x51b274
mov ecx, dword [edi + 0x38]
push ecx
call ebp
push ebx
push str.Blocked_on_context_0x_x_n
mov eax, 2
call fcn.0051a740
mov eax, dword [0x728c28]
add esp, 8
cmp eax, 0xffffffff
je 0x51b232
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x51b232
mov eax, dword [esi + 0x14]
test eax, eax
je 0x51b232
cmp eax, 3
je 0x51b232
mov edx, dword [esi + 0x20]
push 0x23
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x51b23c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 0x30], eax
jne 0x51b23c
mov dword [esi + 0x14], 3
call fcn.004fc230
jmp 0x51b23c
push ebx
push str.Context_expected__but_not_found_for_0x_x
mov eax, 2
call fcn.0051a740
push ebx
push str.Attempt_to_copy_buffer_from_non_existant_context__context0x_x_.
xor eax, eax
call fcn.0051a740
add esp, 0x10
pop edi
xor al, al
pop ebx
pop ecx
ret 0xc
push 0
push 0x23
call dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [0x728c28]
cmp eax, 0xffffffff
mov esi, dword [edi + 0x38]
je 0x51b260
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51b260
or edx, 0xffffffff
mov ecx, esi
call fcn.004fc390
jmp 0x51b269
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov al, byte [edi + 1]
test al, al
je 0x51b1a5
mov esi, dword [esp + 0x1c]
cmp dword [edi + 0x10], esi
jb 0x51b2d3
mov eax, dword [edi + 8]
cmp dword [eax + esi*4], 0
je 0x51b2d3
push esi
push ebx
push str.Copying_pointer__context0x_x__index_d_
mov eax, 3
call fcn.0051a740
mov ecx, dword [edi + 8]
mov esi, dword [ecx + esi*4]
mov edx, dword [esi]
add esp, 0xc
mov ecx, esi
call dword [edx + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [ebx], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x10]
mov esi, dword [esp + 0x18]
mov ebx, dword [ebx]
push eax
add esi, 0x60
call fcn.005197c0
mov ecx, dword [edi + 0x38]
push ecx
call ebp
pop esi
pop ebp
pop edi
mov al, 1
pop ebx
pop ecx
ret 0xc
push esi
push ebx
push str.Attempt_to_copy_non_existant_buffer_from_FFileBackgroundLoader__context0x_x__index_d_.
xor eax, eax
call fcn.0051a740
mov edx, dword [edi + 0x38]
add esp, 0xc
push edx
call ebp
pop esi
pop ebp
pop edi
xor al, al
pop ebx
pop ecx
ret 0xc
Function at 0x51b350
Capabilities:
Get thread local storage value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, eax
lea eax, [esp + 0xc]
push eax
add edi, 0x50
call fcn.0051bd30
test al, al
je 0x51b417
mov esi, dword [esp + 0xc]
test esi, esi
je 0x51b417
lea eax, [esi + 0x34]
call fcn.004fc510
push ebx
push str.Destroying_loaders__context0x_x_.
mov eax, 3
call fcn.0051a740
mov eax, dword [esi + 0x10]
add esp, 8
xor edi, edi
test eax, eax
jbe 0x51b3b8
nop
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x51b3b0
mov edx, dword [ecx]
push 1
call dword [edx]
mov eax, dword [esi + 0x10]
inc edi
cmp edi, eax
jb 0x51b3a0
mov ecx, dword [esi + 0x10]
xor eax, eax
test ecx, ecx
jbe 0x51b3d3
mov ecx, dword [esi + 8]
mov dword [ecx + eax*4], 0
mov ecx, dword [esi + 0x10]
inc eax
cmp eax, ecx
jb 0x51b3c1
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov edx, dword [esi + 0x38]
push edx
mov byte [esi + 1], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x728c28]
cmp eax, 0xffffffff
mov ebx, dword [esp + 0x14]
mov edi, dword [ebx + 0x38]
je 0x51b441
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x51b441
or edx, 0xffffffff
mov ecx, edi
call fcn.004fc390
jmp 0x51b44a
push ebx
push str.Context_expected__but_not_found_for_0x_x
mov eax, 2
call fcn.0051a740
push ebx
push str.Attempt_destroy_loaders_for_non_existant_context__context0x_x_.
mov eax, 2
call fcn.0051a740
add esp, 0x10
pop edi
pop esi
pop ebx
pop ecx
ret 4
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebx + 0x40]
test eax, eax
je 0x51b463
mov edi, dword [eax + 8]
cmp esi, edi
lea ecx, [eax + 8]
mov edx, eax
mov eax, dword [eax]
je 0x51b465
test eax, eax
jne 0x51b451
xor edx, edx
test edx, edx
mov dword [esp + 0x14], edx
je 0x51b479
lea esi, [ebx + 0x3c]
lea ecx, [esp + 0x14]
call fcn.00507ce0
mov eax, dword [ebx + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x51fe30
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x729078]
sub esp, 0x404
push esi
xor esi, esi
test eax, eax
je 0x51fe91
cmp esi, dword [0x729074]
jb 0x51fe4e
xor ecx, ecx
jmp 0x51fe76
mov eax, dword [0x72906c]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov dword [eax + esi*4], 0
je 0x51fe67
dec dword [0x729078]
mov eax, dword [0x729074]
dec eax
cmp esi, eax
jne 0x51fe76
mov dword [0x729074], eax
lea eax, [esp + 4]
push eax
mov dword [esp + 8], ecx
call fcn.0051fd70
mov eax, dword [0x729078]
add esp, 4
inc esi
test eax, eax
jne 0x51fe42
mov ecx, dword [0x8ccd60]
test ecx, ecx
je 0x51ff4f
mov esi, dword [ecx + 4]
push ebx
xor eax, eax
test esi, esi
push edi
jbe 0x51fec1
mov edi, dword [ecx + 8]
mov edx, edi
nop
cmp dword [edx], 0
jne 0x51ff57
inc eax
add edx, 4
cmp eax, esi
jb 0x51feb0
xor eax, eax
test eax, eax
mov esi, eax
je 0x51ff39
push ebp
lea ebx, [ebx]
mov ebx, dword [esi + 4]
mov ebp, dword [esi + 8]
mov esi, dword [esi]
test esi, esi
mov edi, ecx
jne 0x51ff02
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov edx, dword [edi + 4]
inc eax
cmp eax, edx
jae 0x51ff00
mov ecx, dword [edi + 8]
lea ecx, [ecx + eax*4]
mov esi, dword [ecx]
test esi, esi
jne 0x51ff02
inc eax
add ecx, 4
cmp eax, edx
jb 0x51fef2
xor esi, esi
mov edx, dword [ebp + 4]
push edx
push ebx
lea eax, [esp + 0x1c]
push str._nERROR:__s_still_in_mesh_map__cnt_d_n
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push ebp
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
mov ecx, dword [0x8ccd60]
add esp, 4
test esi, esi
jne 0x51fed0
pop ebp
test ecx, ecx
pop edi
pop ebx
je 0x51ff4f
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [0x8ccd60], 0
pop esi
add esp, 0x404
ret
mov eax, dword [edi + eax*4]
jmp 0x51fec3

Function at 0x5229c0
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [sym.imp.MSVCR71.dll_fwrite]
push edi
push esi
push 1
mov edi, eax
push 1
push edi
call ebx
push esi
push 1
lea eax, [edi + 1]
push 1
push eax
call ebx
push esi
push 1
lea ecx, [edi + 2]
push 1
push ecx
call ebx
push esi
push 1
lea edx, [edi + 4]
push 2
push edx
call ebx
add esp, 0x40
push esi
push 1
lea eax, [edi + 6]
push 2
push eax
call ebx
push esi
push 1
lea ecx, [edi + 8]
push 1
push ecx
call ebx
push esi
push 1
lea edx, [edi + 0xa]
push 2
push edx
call ebx
push esi
push 1
lea eax, [edi + 0xc]
push 2
push eax
call ebx
add esp, 0x40
push esi
push 1
lea ecx, [edi + 0xe]
push 2
push ecx
call ebx
push esi
push 1
lea edx, [edi + 0x10]
push 2
push edx
call ebx
push esi
push 1
lea eax, [edi + 0x12]
push 1
push eax
call ebx
push esi
push 1
push 1
add edi, 0x13
push edi
call ebx
add esp, 0x40
dec eax
neg eax
sbb eax, eax
pop edi
and eax, 0xd
pop ebx
ret
Function at 0x523490
Capabilities:
Log keystrokes

Disassembly:
push ecx
cmp eax, 0x92
jne 0x5234a0
mov al, 0x3d
mov byte [esp + 3], al
jmp 0x5234ad
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov byte [esp + 3], al
push ebx
movsx ebx, al
cmp ebx, 0xffffff80
jl 0x52352e
cmp ebx, 0x100
jge 0x52352e
movzx eax, bl
push eax
call dword [sym.imp.MSVCR71.dll_isalnum]
add esp, 4
test eax, eax
je 0x52352a
cmp ebx, 0xffffff80
jl 0x523503
cmp ebx, 0x100
jge 0x523503
movzx ecx, bl
push ecx
call dword [sym.imp.MSVCR71.dll_isdigit]
add esp, 4
test eax, eax
je 0x523503
mov al, byte [esp + 0xc]
test al, al
mov al, byte [esp + 7]
je 0x523544
call fcn.005233e0
pop ebx
pop ecx
ret 4
mov al, byte [esp + 0xc]
test al, al
jne 0x523540
cmp ebx, 0xffffff80
jl 0x523523
cmp ebx, 0x100
jge 0x523523
movzx eax, bl
add eax, 0x20
pop ebx
pop ecx
ret 4
xor eax, eax
pop ebx
pop ecx
ret 4
mov al, byte [esp + 7]
mov cl, byte [esp + 0xc]
test cl, cl
je 0x523544
call fcn.00523380
pop ebx
pop ecx
ret 4
mov al, byte [esp + 7]
pop ebx
pop ecx
ret 4

Function at 0x552b40
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 4
mov esi, ecx
push esi
push 0x552af0
push 0
push 0
mov dword [esi + 0x1a0], 0xffffffff
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
push 0xffffffffffffffff
push eax
mov dword [esi + 0x1ac], eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x198], 1
pop esi
pop ecx
ret

Function at 0x552c20
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [ecx + 0x1ac]
push eax
mov dword [ecx + 0x198], 4
call dword [sym.imp.KERNEL32.dll_SuspendThread]
ret

Function at 0x552c40
Capabilities:
Resume thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x198], 4
jne 0x552c64
mov eax, dword [esi + 0x1ac]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [esi + 0x198], 1
mov eax, dword [esi + 0x198]
cmp eax, 1
je 0x552c74
cmp eax, 2
jne 0x552cc6
mov ecx, dword [esi + 0x1ac]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x198]
cmp eax, 1
je 0x552c93
cmp eax, 2
jne 0x552cc6
mov eax, dword [esi + 0x1ac]
lea edx, [esp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
cmp dword [esp + 4], 0x103
je 0x552cc6
mov ecx, dword [esi + 0x1ac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x198], 0
mov al, byte [esi + 0x19c]
pop esi
pop ecx
ret
Function at 0x5694c0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov edx, dword [esi + 0x100]
test edx, edx
je 0x56950b
push ebx
push edi
mov edi, dword [esp + 0x10]
mov eax, edi
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5694d8
push edx
sub eax, ebx
push eax
push 1
push edi
call dword [sym.imp.MSVCR71.dll_fwrite]
mov al, byte [esi + 0x104]
add esp, 0x10
test al, al
pop edi
pop ebx
je 0x56950b
mov eax, dword [esi + 0x100]
push eax
call dword [sym.imp.MSVCR71.dll_fflush]
add esp, 4
pop esi
ret 4
Function at 0x57b110
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xb8
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x34]
mov ecx, dword [esp + 0xc4]
push esi
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x57b31d
push ebp
mov ebp, dword [esi + 0x34]
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
mov dword [esp + 0x10], VariantInit
je 0x57b17c
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 4]
test eax, eax
je 0x57b15e
mov edi, edi
cmp eax, 0x72aa3c
je 0x57b194
mov eax, dword [eax + 4]
test eax, eax
jne 0x57b150
xor al, al
neg al
sbb eax, eax
and eax, edi
je 0x57b175
mov eax, dword [eax + 0x3c]
cmp eax, dword [esp + 0x10]
jle 0x57b175
mov dword [esp + 0x10], eax
mov edi, dword [edi + 0x38]
test edi, edi
jne 0x57b143
mov eax, dword [esp + 0x10]
cmp dword [esi + 0x3c], eax
jge 0x57b198
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0xb8
ret 8
mov al, 1
jmp 0x57b160
mov edi, dword [esp + 0xcc]
mov edx, dword [esi]
or byte [esi + 0xc], 8
push edi
mov ecx, esi
mov byte [esi + 0x40], 1
call dword [edx + 0x3c]
and byte [esi + 0xc], 0xf7
mov al, byte [ebx + 0x8c]
test al, al
je 0x57b30e
mov eax, dword [esp + 0xd0]
cmp eax, dword [ebx + 0x74]
jne 0x57b30e
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x4c]
fstp dword [esp + 0xcc]
mov al, byte [ebx + 0x8d]
test al, al
je 0x57b25c
fld dword [ebp + 0x68]
push ecx
fld dword [0x6c263c]
lea eax, [esp + 0x60]
fdiv st(1)
lea ecx, [esp + 0xa8]
fstp dword [esp]
push eax
push ecx
lea ecx, [ebp + 0x38]
fstp st(0)
call fcn.0053e410
mov ecx, eax
call fcn.0053e1d0
fld dword [ebp + 0x5c]
fchs
lea edx, [esp + 0x14]
fstp dword [esp + 0x14]
push edx
fld dword [ebp + 0x60]
lea eax, [esp + 0x30]
fchs
push eax
fstp dword [esp + 0x20]
lea ecx, [esp + 0x64]
fld dword [ebp + 0x64]
fchs
fstp dword [esp + 0x24]
call fcn.0053e250
push eax
lea ecx, [esp + 0x60]
push ecx
mov ecx, dword [ebx + 0x78]
call fcn.00580630
mov byte [ebx + 0x8d], 0
jmp 0x57b286
fld dword [esp + 0xcc]
fcomp dword [ebx + 0x90]
fnstsw ax
test ah, 5
jp 0x57b286
mov ecx, dword [ebx + 0x78]
lea edx, [ebx + 0xbc]
push edx
lea eax, [ebx + 0x98]
push eax
call fcn.00580630
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x3c]
mov dword [ebx + 0x90], ecx
mov ecx, dword [ebx + 0x78]
push eax
call fcn.00580250
lea edi, [ebp + 0x38]
push edi
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x40]
call fcn.0053e0c0
lea esi, [ebp + 0x5c]
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x40]
call fcn.0053e250
fld dword [esp + 0x20]
fadd dword [eax]
fstp dword [esp + 0x14]
fld dword [esp + 0x24]
fadd dword [eax + 4]
fstp dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
fld dword [esp + 0x28]
fadd dword [eax + 8]
mov eax, dword [esp + 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
fstp dword [esp + 0x1c]
mov edx, dword [esp + 0x1c]
mov dword [esi + 8], edx
mov ecx, 9
lea esi, [esp + 0x80]
rep movsd dword es:[edi], dword [esi]
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0xb8
ret 8
pop esi
xor al, al
pop ebx
add esp, 0xb8
ret 8
Function at 0x5e2340
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6bace3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
push str.NiD3DXEffectShaderLib
mov dword [esp + 0xc], esi
call fcn.005cb610
xor eax, eax
mov dword [esi], 0x6cb460
mov dword [esp + 0x14], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x18], 0x6cb454
push 0x94
mov byte [esp + 0x18], 1
mov dword [esi + 0x28], 0x6cb400
mov dword [esi + 0x2c], 0x25
mov dword [esi + 0x34], eax
call fcn.005354dd
mov ecx, dword [esi + 0x2c]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [esi + 0x30], edi
xor eax, eax
rep stosd dword es:[edi], eax
add esp, 4
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0xc]
mov byte [esi + 0x38], 1
mov dword [esi + 0x28], 0x6cb494
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x5e3a10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6bae86
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
push edi
push 0x94
mov dword [esp + 0x10], esi
mov dword [esi + 8], 0x6cb63c
mov dword [esi + 0xc], 0x25
mov dword [esi + 0x14], ebx
call fcn.005354dd
mov ecx, dword [esi + 0xc]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
xor eax, eax
mov dword [esi + 0x10], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, 1
add esp, 4
mov byte [esi + 0x18], al
mov dword [esi + 8], 0x6cb69c
mov dword [esp + 0x18], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x1c], 0x6cb690
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], al
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
call fcn.005e7cb0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x50], bl
mov byte [esi + 0x51], bl
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5e9790
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x6bb21b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6cba5c
push str.Releasing_Binary_Shaders__n
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.006b4e20
mov dword [esp + 0xc], edi
mov dword [edi], 0x6cba34
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.006b4e20
mov ecx, esi
mov dword [edi], 0x6cba28
mov dword [esp + 0x18], 0xffffffff
call fcn.005cb640
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x5e97a8
Capabilities:
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x6bb21b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x6cba5c
push str.Releasing_Binary_Shaders__n
mov dword [esp + 0x1c], 1
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edi, [esi + 0x18]
mov ecx, edi
call fcn.006b4e20
mov dword [esp + 0xc], edi
mov dword [edi], 0x6cba34
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.006b4e20
mov ecx, esi
mov dword [edi], 0x6cba28
mov dword [esp + 0x18], 0xffffffff
call fcn.005cb640
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5eb780
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6bb3f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esi], 0x6ff148
mov dword [esi + 4], ebp
mov edi, dword [0x729444]
inc edi
mov dword [esp + 0x10], esi
mov dword [0x729444], edi
or eax, 0xffffffff
mov dword [esi], 0x6cbba0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov dword [esi + 0x10], ebp
mov dword [esi + 0x14], ebp
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebp
mov dword [esi + 0x28], ebp
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebp
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], ebp
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebp
mov dword [esi + 0x44], ebp
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x48], ebp
lea ecx, [esi + 0x4c]
mov byte [esp + 0x1c], 1
call fcn.005eeb30
lea ecx, [esi + 0x60]
mov byte [esp + 0x1c], 2
call fcn.005eeb30
lea ebx, [esi + 0x74]
push 0x94
mov byte [esp + 0x20], 3
mov dword [ebx], 0x6cbb34
mov dword [ebx + 4], 0x25
mov dword [ebx + 0xc], ebp
call fcn.005354dd
mov ecx, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
mov edi, eax
shr ecx, 2
mov dword [ebx + 8], edi
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
add esp, 4
mov byte [ebx + 0x10], 1
mov dword [ebx], 0x6cbbdc
mov dword [esi + 0x88], 0x6cbb18
mov dword [esi + 0x90], ebp
mov dword [esi + 0x9c], 1
mov dword [esi + 0x94], ebp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x8c], ebp
mov dword [esi + 0xa0], ebp
mov ecx, ebx
mov byte [esp + 0x1c], 6
call fcn.005c9df0
mov ecx, dword [esi + 0x94]
xor eax, eax
cmp ecx, ebp
jbe 0x5eb8c4
jmp 0x5eb8b0
mov ecx, dword [esi + 0x8c]
mov dword [ecx + eax*4], ebp
mov ecx, dword [esi + 0x94]
inc eax
cmp eax, ecx
jb 0x5eb8b0
mov ecx, dword [esp + 0x14]
pop edi
mov dword [esi + 0x94], ebp
mov dword [esi + 0x98], ebp
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x5eebd0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6bb78b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax], ecx
push esi
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov byte [eax + 0x3c], cl
mov esi, ecx
xor edx, edx
cmp esi, ecx
mov dword [eax + 0x40], 0x6cbfcc
mov dword [eax + 0x48], ecx
mov dword [eax + 0x54], 1
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov dword [eax + 0x44], ecx
jbe 0x5eec4e
lea esp, [esp]
mov esi, dword [eax + 0x44]
mov dword [esi + edx*4], ecx
mov esi, dword [eax + 0x4c]
inc edx
cmp edx, esi
jb 0x5eec40
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x50], ecx
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret