joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x4466b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x448828]
push eax
push str.___only__for_xyq__restart__game___
lea ecx, [ebp - 0x84]
push str._s__d
push ecx
call fcn.0040b990
add esp, 0x10
push 1
push 0x447828
lea edx, [ebp - 0x84]
push edx
push 0x43b5cc
push str.open
push 0
call dword [0x43a1c8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004168e6
mov esp, ebp
pop ebp
ret
Function at 0x40c1a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x40c1ab
or eax, 0xffffffff
ret
mov eax, dword [esi + 4]
test eax, eax
jne 0x40c1f9
call fcn.00418e0c
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
push eax
push 0x4000
push 1
push ecx
call fcn.00418dad
add esp, 0x10
test eax, eax
mov dword [esi + 4], eax
jne 0x40c1f4
mov edx, dword [esi + 0x40]
mov dword [esi + 0x3c], 1
mov cl, byte [edx + 0xc]
or eax, 0xffffffff
test cl, 0x20
je 0x40c206
mov dword [esi + 0x38], eax
ret
mov eax, dword [esi + 0x44]
mov dword [esi], eax
dec dword [esi + 4]
mov eax, dword [esi]
mov cl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, cl
ret

Function at 0x40c210
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push edi
mov edi, dword [esi + 4]
cmp edi, 2
jae 0x40c280
test edi, edi
je 0x40c229
mov eax, dword [esi]
mov ecx, dword [esi + 0x44]
mov dl, byte [eax]
mov byte [ecx], dl
call fcn.00418e0c
mov dword [eax], 0
mov eax, dword [esi + 0x40]
mov ecx, edi
push eax
mov eax, dword [esi + 0x44]
mov edx, 0x4000
sar edx, cl
add eax, edi
push edx
push 1
push eax
call fcn.00418dad
add esp, 0x10
test eax, eax
jne 0x40c266
mov ecx, dword [esi + 0x40]
test byte [ecx + 0xc], 0x20
je 0x40c266
mov dword [esi + 0x38], 0xffffffff
mov edx, dword [esi + 4]
add edx, eax
mov eax, edx
cmp eax, 2
mov dword [esi + 4], edx
mov edx, dword [esi + 0x44]
mov dword [esi], edx
jae 0x40c280
pop edi
mov dword [esi + 0x58], eax
pop esi
ret
mov eax, dword [esi]
cmp byte [eax], 0x1f
jne 0x40c35c
cmp byte [eax + 1], 0x8b
jne 0x40c35c
mov ecx, dword [esi + 4]
add ecx, 0xfffffffe
add eax, 2
push ebx
mov dword [esi + 4], ecx
mov dword [esi], eax
call fcn.0040c1a0
mov edi, eax
call fcn.0040c1a0
cmp edi, 8
mov ebx, eax
jne 0x40c351
test bl, 0xe0
jne 0x40c351
mov edi, 6
lea esp, [esp]
call fcn.0040c1a0
dec edi
jne 0x40c2d0
test bl, 4
je 0x40c301
call fcn.0040c1a0
mov edi, eax
call fcn.0040c1a0
shl eax, 8
add edi, eax
mov edi, edi
mov eax, edi
dec edi
test eax, eax
je 0x40c301
call fcn.0040c1a0
cmp eax, 0xffffffff
jne 0x40c2f0
test bl, 8
je 0x40c314
call fcn.0040c1a0
test eax, eax
je 0x40c314
cmp eax, 0xffffffff
jne 0x40c306
test bl, 0x10
je 0x40c32e
lea esp, [esp]
call fcn.0040c1a0
test eax, eax
je 0x40c32e
cmp eax, 0xffffffff
jne 0x40c320
test bl, 2
je 0x40c340
mov edi, 2
call fcn.0040c1a0
dec edi
jne 0x40c338
mov ecx, dword [esi + 0x3c]
neg ecx
sbb ecx, ecx
pop ebx
and ecx, 0xfffffffd
pop edi
mov dword [esi + 0x38], ecx
pop esi
ret
pop ebx
pop edi
mov dword [esi + 0x38], 0xfffffffd
pop esi
ret
pop edi
mov dword [esi + 0x58], 1
pop esi
ret
Function at 0x40c620
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
test esi, esi
je 0x40c6e1
cmp byte [esi + 0x5c], 0x77
jne 0x40c6e1
mov dword [esi + 4], ebx
push edi
lea esp, [esp]
mov eax, dword [esi + 0x10]
mov edi, 0x4000
sub edi, eax
je 0x40c670
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x48]
push eax
push edi
push 1
push ecx
call fcn.004170a3
add esp, 0x10
cmp eax, edi
jne 0x40c6d7
mov edx, dword [esi + 0x48]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], 0x4000
test ebx, ebx
jne 0x40c6c7
mov ebx, dword [esi + 0x68]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x10]
push ecx
add ebx, eax
push esi
mov dword [esi + 0x68], ebx
call fcn.0040d390
mov ebx, dword [esi + 0x68]
mov ecx, dword [esi + 0x10]
sub ebx, ecx
test edi, edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x68], ebx
jne 0x40c6a4
cmp eax, 0xfffffffb
jne 0x40c6a4
mov dword [esi + 0x38], edi
test ecx, ecx
jne 0x40c6b2
cmp dword [esi + 0x38], 1
je 0x40c6b2
xor ebx, ebx
jmp 0x40c6b7
mov ebx, 1
mov eax, dword [esi + 0x38]
test eax, eax
je 0x40c640
cmp eax, 1
je 0x40c640
mov esi, dword [esi + 0x38]
mov eax, esi
dec eax
neg eax
sbb eax, eax
pop edi
and eax, esi
pop esi
pop ebx
ret
or eax, 0xffffffff
pop edi
mov dword [esi + 0x38], eax
pop esi
pop ebx
ret
pop esi
mov eax, 0xfffffffe
pop ebx
ret
Function at 0x6dec4290
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec42f0
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4316
mov edx, 1
mov dword [eax], 1
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldvs_output.constprop.0
mov dword [esp + 0xc], str.vs_1_0_n
mov dword [esp + 8], str.create_vs10_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec42a3
test byte [0x6dede028], 2
jne 0x6dec432b
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_vs10_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec431f

Function at 0x6dec4360
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec43c0
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec43e6
mov edx, 0x101
mov dword [eax], 1
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldvs_output.constprop.0
mov dword [esp + 0xc], str.vs_1_1_n
mov dword [esp + 8], str.create_vs11_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4373
test byte [0x6dede028], 2
jne 0x6dec43fb
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_vs11_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec43ef
Function at 0x6dec4430
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4490
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec44b6
mov edx, 2
mov dword [eax], 1
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldvs_output.constprop.0
mov dword [esp + 0xc], str.vs_2_0_n
mov dword [esp + 8], str.create_vs20_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4443
test byte [0x6dede028], 2
jne 0x6dec44cb
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_vs20_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec44bf

Function at 0x6dec4500
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4560
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4586
mov edx, 0x102
mov dword [eax], 1
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldvs_output.constprop.0
mov dword [esp + 0xc], str.vs_2_x_n
mov dword [esp + 8], str.create_vs2x_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4513
test byte [0x6dede028], 2
jne 0x6dec459b
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_vs2x_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec458f

Function at 0x6dec45d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4630
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4656
mov edx, 3
mov dword [eax], 1
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.vs_3_0_n
mov dword [esp + 8], str.create_vs30_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec45e3
test byte [0x6dede028], 2
jne 0x6dec4668
mov dword [ebx + 0xc], 2
jmp 0x6dec4627
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_vs30_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec465f
Function at 0x6dec4690
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec46f8
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec471e
mov edx, 1
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 4
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_1_0_n
mov dword [esp + 8], str.create_ps10_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec46a3
test byte [0x6dede028], 2
jne 0x6dec4733
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps10_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4727

Function at 0x6dec4760
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec47c8
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec47ee
mov edx, 0x101
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 4
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_1_1_n
mov dword [esp + 8], str.create_ps11_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4773
test byte [0x6dede028], 2
jne 0x6dec4803
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps11_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec47f7
Function at 0x6dec4830
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4898
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec48be
mov edx, 0x201
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 4
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_1_2_n
mov dword [esp + 8], str.create_ps12_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4843
test byte [0x6dede028], 2
jne 0x6dec48d3
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps12_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec48c7

Function at 0x6dec4900
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4968
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec498e
mov edx, 0x301
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 4
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_1_3_n
mov dword [esp + 8], str.create_ps13_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4913
test byte [0x6dede028], 2
jne 0x6dec49a3
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps13_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4997
Function at 0x6dec49d0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4a38
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4a5e
mov edx, 0x401
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 6
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_1_4_n
mov dword [esp + 8], str.create_ps14_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec49e3
test byte [0x6dede028], 2
jne 0x6dec4a73
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps14_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4a67

Function at 0x6dec4aa0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4b08
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4b2e
mov edx, 2
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 8
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_2_0_n
mov dword [esp + 8], str.create_ps20_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4ab3
test byte [0x6dede028], 2
jne 0x6dec4b43
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps20_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4b37
Function at 0x6dec4b70
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4bd8
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4bfe
mov edx, 0x102
mov dword [eax], 2
mov word [eax + 4], dx
mov edx, 8
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
jmp sym._gen_oldps_input.constprop.0
mov dword [esp + 0xc], str.ps_2_x_n
mov dword [esp + 8], str.create_ps2x_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4b83
test byte [0x6dede028], 2
jne 0x6dec4c13
mov dword [ebx + 0xc], 2
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps2x_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4c07

Function at 0x6dec4c40
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
test byte [0x6dede018], 8
jne 0x6dec4ca0
mov dword [esp + 8], 0x4c
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebx + 4], eax
sub esp, 0xc
test eax, eax
je 0x6dec4cc6
mov edx, 3
mov dword [eax], 2
mov word [eax + 4], dx
mov dword [ebx], sym._asmparser_constF
mov ebx, dword [ebp - 4]
leave
ret
mov dword [esp + 0xc], str.ps_3_0_n
mov dword [esp + 8], str.create_ps30_parser
mov dword [esp + 4], 0x6dede018
mov dword [esp], 3
call sym._wine_dbg_log
jmp 0x6dec4c53
test byte [0x6dede028], 2
jne 0x6dec4cd8
mov dword [ebx + 0xc], 2
jmp 0x6dec4c97
mov dword [esp + 0xc], str.Failed_to_allocate_memory_for_the_shader_n
mov dword [esp + 8], str.create_ps30_parser
mov dword [esp + 4], 0x6dede028
mov dword [esp], 1
call sym._wine_dbg_log
jmp 0x6dec4ccf
Function at 0x6dec5260
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, 0xffffffff
push ecx
sub esp, 0x38
mov esi, dword [ecx]
lock xadd dword [esi + 4], ebx
dec ebx
test byte [0x6dede038], 8
jne 0x6dec52a0
test ebx, ebx
je 0x6dec52d0
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], 0x6dee1278
mov dword [esp + 8], str.d3dcompiler_blob_Release
mov dword [esp + 4], 0x6dede038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
test ebx, ebx
jne 0x6dec528e
mov eax, dword [esi + 0xc]
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x1c], edx
mov edi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
sub esp, 0xc
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 4
Function at 0x6dec56b0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x38
mov edi, dword [ecx]
mov esi, dword [ecx + 4]
test byte [0x6dede038], 8
jne 0x6dec5778
test esi, esi
je 0x6dec57e8
mov dword [esp + 8], 0x10
mov edx, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], 8
mov ecx, dword fs:[0x18]
mov eax, dword [ecx + 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
sub esp, 0xc
mov ebx, eax
test eax, eax
je 0x6dec589a
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov dword [eax], sym._d3dcompiler_blob_QueryInterface_12
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov dword [esp + 8], edi
mov dword [esp + 4], 8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edx
mov dword [ebx + 0xc], eax
sub esp, 0xc
test eax, eax
je 0x6dec5823
mov dword [esi], ebx
xor edi, edi
test byte [0x6dede038], 8
jne 0x6dec57b0
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], str.data_size__Iu__blob__p._n
mov dword [esp + 8], str.D3DCreateBlob
mov dword [esp + 4], 0x6dede038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x6dec56d6
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0x6dee13b5
mov dword [esp + 8], str.D3DCreateBlob
mov dword [esp + 4], 0x6dede038
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
lea esp, [ebp - 0x10]
mov eax, edi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov edi, 0x8876086c
test byte [0x6dede038], 4
je 0x6dec5761
mov dword [esp + 0xc], str.Invalid_blob_specified._n
mov dword [esp + 8], str.D3DCreateBlob
mov dword [esp + 4], 0x6dede038
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6dec5761
call sym._d3dcompiler_blob_init.part.0
mov edi, eax
test eax, eax
jns 0x6dec5754
test byte [0x6dede038], 4
jne 0x6dec5870
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
sub esp, 0xc
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.Failed_to_initialize_blob__hr__lx._n
mov dword [esp + 8], str.D3DCreateBlob
mov dword [esp + 4], 0x6dede038
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x6dec583b
mov edi, 0x8007000e
jmp 0x6dec5761