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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004c6c0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1007a010]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
mov dword [ebp - 4], 1
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
mov ecx, eax
call edx
mov ecx, dword [0x1007a6ec]
mov edi, eax
mov dword [ebp - 4], 2
mov edx, dword [ecx]
mov edx, dword [edx + 0x30]
call edx
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 3
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0xc]
call edx
mov dword [ebp - 4], 4
mov ecx, dword [eax]
mov edx, dword [ecx + 0x160]
mov ecx, eax
call edx
mov esi, eax
mov dword [ebp - 4], 5
mov ecx, dword [edi]
mov edx, dword [ecx + 0x160]
mov ecx, edi
call edx
mov dword [ebp - 4], 0xffffffff
cmp esi, eax
je 0x1000121f
mov dword [ebp - 4], 6
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x1e8]
call eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x1000121f
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1007a6d4]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1007a7bc]
cmp eax, dword [ecx + 4]
jle 0x10001158
push 0x1007a7bc
call fcn.1004b441
add esp, 4
cmp dword [0x1007a7bc], 0xffffffff
jne 0x10001158
mov ecx, dword [0x1007a6e0]
push 0
mov dword [ebp - 4], 7
mov eax, dword [ecx]
push 1
push 0
push str.debug_debugambientcube
mov eax, dword [eax + 0x150]
call eax
mov dword [ebp - 4], 0xffffffff
push 0x1007a7bc
mov dword [0x1007a7b8], eax
call fcn.1004b3f7
add esp, 4
mov ecx, dword [0x1007a7b8]
test ecx, ecx
je 0x1000121f
mov dword [ebp - 4], 8
mov eax, dword [ecx]
push 0
push 0x10000000
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1007a6e8]
mov dword [ebp - 4], 9
mov eax, dword [ecx]
push ecx
mov dword [esp], 0x3f800000
mov eax, dword [eax + 0x70]
call eax
test bl, bl
je 0x100011ca
mov dword [ebp - 4], 0xa
mov ecx, dword [0x1007a7b8]
push 0
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1007a6e8]
mov dword [ebp - 4], 0xb
push 0x1007a030
jmp 0x100011f7
mov dword [ebp - 4], 0xc
mov ecx, dword [0x1007a7b8]
push 1
push 0x8000
mov eax, dword [ecx]
mov eax, dword [eax + 0x74]
call eax
mov ecx, dword [0x1007a6e8]
mov dword [ebp - 4], 0xd
push 0x1007a024
mov eax, dword [ecx]
mov eax, dword [eax + 0x6c]
call eax
mov ecx, dword [0x1007a6e8]
mov dword [ebp - 4], 0xe
mov eax, dword [ecx]
push 0xffffffffffffffff
push 0
push dword [0x1007a7b8]
mov eax, dword [eax + 0x84]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
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 0x10004851
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10004834
cmp edi, 2
jb 0x10004834
cmp byte [esi], cl
jne 0x10004834
cmp byte [esi + 1], cl
jne 0x10004834
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006cda8]
jmp 0x10004805
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1006cda8]
test edi, edi
jne 0x10004805
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10004880
cmp cl, 0x23
jne 0x10004867
cmp byte [esi], cl
jne 0x10004867
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 + 0x1006cda8]
test cl, cl
jne 0x10004858
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10004990
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x100049a4
mov dword [ebx], 0
mov edx, 0x1006c9e0
call fcn.10004890
mov esi, eax
test esi, esi
je 0x10004a92
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10004a88
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 0x10004a88
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10004a88
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 0x10004a88
mov eax, dword [0x1007a700]
test eax, eax
je 0x10004a1c
inc dword [eax + 0xb0]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10004a88
push esi
push dword [ebp + 8]
push 1
push edi
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 0x10004a6d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1007a700]
add esp, 4
test eax, eax
je 0x10004a5a
dec dword [eax + 0xb0]
push edi
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 ebx, ebx
je 0x10004a7f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
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
Function at 0x10007d20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push esi
push edi
lea esi, [ebp - 0x18]
mov edi, 0x10
movss xmm1, dword [edx + 0xfc]
movss xmm0, dword [eax]
movss xmm2, dword [edx + 0x100]
subss xmm0, xmm1
mov ecx, dword [edx + 0xe0]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [eax + 8]
subss xmm0, xmm1
movss dword [ebp - 0x10], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [edx + 0xe8]
subss xmm0, xmm2
mov edx, dword [eax + ecx*4 - 4]
movss dword [ebp - 0xc], xmm0
not edx
nop dword [eax + eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1006cda8]
sub edi, 1
jne 0x10007da0
mov ecx, dword [ebp - 8]
not edx
pop edi
xor ecx, ebp
mov eax, edx
pop esi
call fcn.1004b324
mov esp, ebp
pop ebp
ret 4
Function at 0x1000b620
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1000b65d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1000b643
cmp byte [esi], bl
jne 0x1000b643
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x1006cda8]
test bl, bl
jne 0x1000b634
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1000b5c0
Function at 0x10010f90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x1007a700]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x3e28]
mov esi, 4
mov eax, dword [edi + 0xe0]
add edi, 0xe0
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1006cda8]
sub esi, 1
jne 0x10010fd1
mov eax, dword [0x1007a700]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x1001100b
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.1001aa70
add esp, 8
mov ecx, dword [edi + 4]
mov esi, dword [edi]
cmp esi, ecx
jne 0x10011036
inc esi
test ecx, ecx
je 0x10011024
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x10011029
mov eax, 8
cmp eax, esi
mov ecx, edi
cmovg esi, eax
push esi
call fcn.1001b270
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b324
mov esp, ebp
pop ebp
ret
Function at 0x10019680
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5a58], 0
lea esi, [edi + 0x5a5c]
je 0x10019702
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x100196bc
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1001b760
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10005040
mov edx, dword [esi]
mov ecx, 0x1007a6fc
push dword [edi + 0x5a58]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a64]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10005040
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10019c10
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x1007a700]
test bl, bl
je 0x10019c56
or edi, 0xffffffff
cmp bl, 0x23
jne 0x10019c37
cmp byte [esi], bl
jne 0x10019c37
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1006cda8]
test bl, bl
jne 0x10019c28
mov edi, dword [0x1007a700]
mov esi, dword [edi + 0x5a00]
xor ecx, ecx
not eax
test esi, esi
jle 0x10019c7c
mov edi, dword [edi + 0x5a08]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x10019c82
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x10019c70
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x10023640
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1002367a
mov eax, dword [0x1007a700]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1002366d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x100236ab
mov eax, dword [0x1007a700]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1002369e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x100236dc
mov eax, dword [0x1007a700]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x100236cf
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10023729
mov eax, dword [0x1007a700]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1002371c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1002375a
mov eax, dword [0x1007a700]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1002374d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1002378b
mov eax, dword [0x1007a700]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1002377e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.10026330
Function at 0x1003dc00
Capabilities:
Hash data with crc32

Disassembly:
push ecx
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x1003dc72
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x1003dc48
or edi, 0xffffffff
nop
cmp cl, 0x23
jne 0x1003dc2f
cmp byte [esi], cl
jne 0x1003dc2f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1006cda8]
test cl, cl
jne 0x1003dc20
mov ecx, dword [0x1007a700]
not eax
cmp dword [ecx + 0x3e74], eax
jne 0x1003dc5e
mov dword [ecx + 0x3e78], eax
cmp dword [ecx + 0x3e9c], eax
jne 0x1003dcb7
mov byte [ecx + 0x3ea0], 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov esi, dword [0x1007a700]
xor edx, edx
mov eax, dword [esi + 0x3e28]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.100047f0
mov ebx, eax
add esp, 4
cmp dword [esi + 0x3e5c], ebx
jne 0x1003dcb5
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.1001aa70
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10044040
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push str.CreateInterface
push str.client.dll
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VClientEntityList003
call eax
add esp, 8
mov dword [0x1007a6e4], eax
push str.CreateInterface
push str.client.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VClient018
call eax
mov dword [0x1007a790], eax
add esp, 8
mov eax, dword [eax]
push str.CreateInterface
push str.engine.dll
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + 0xa]
mov eax, dword [eax]
mov dword [0x1007a7a8], eax
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VDebugOverlay004
call eax
add esp, 8
push str.CreateInterface
push str.engine.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VModelInfoClient004
call eax
add esp, 8
mov dword [0x1007a7a0], eax
push str.CreateInterface
push str.client.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VClient017
call eax
add esp, 8
mov dword [0x1007a794], eax
push str.CreateInterface
push str.engine.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VEngineClient014
call eax
add esp, 8
mov dword [0x1007a6ec], eax
push str.CreateInterface
push str.engine.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.EngineTraceClient004
call eax
add esp, 8
mov dword [0x1007a7a4], eax
push str.CreateInterface
push str.studiorender.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VStudioRender026
call eax
add esp, 8
mov dword [0x1007a6e8], eax
push str.CreateInterface
push str.materialsystem.dll
call edi
push eax
call esi
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push str.VMaterialSystem080
call eax
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov dword [0x1007a6e0], eax
pop edi
pop esi
call fcn.1004b324
mov esp, ebp
pop ebp
ret

Function at 0x100442b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
cmp dword [ebp + 0xc], 1
jne 0x100442e3
push 0
push 0
push dword [ebp + 8]
push 0x100441f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x100442e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop ebp
ret 0xc
Function at 0x100446e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004cee0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007a010]
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 ecx, dword [0x1007a6ec]
mov dword [ebp - 4], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1007a6e4]
mov dword [ebp - 4], 1
mov edx, dword [ecx]
push eax
mov edx, dword [edx + 0xc]
call edx
mov ecx, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 2
lea edx, [ebp - 0x1c]
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x568]
call eax
mov ecx, dword [esi]
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
movss xmm0, dword [ecx + 0x14]
subss xmm2, dword [ebp - 0x1c]
subss xmm1, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x14]
unpcklps xmm2, xmm1
movss dword [ebp - 0x20], xmm0
mov eax, dword [ebp - 0x20]
movq qword [ecx + 0xc], xmm2
mov dword [ecx + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1004b324
mov esp, ebp
pop ebp
ret
Function at 0x10045f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004d020
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
mov ecx, edx
mov eax, dword [edx]
mov eax, dword [eax + 0x28]
call eax
mov dword [ebp - 4], 0xffffffff
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x20], xmm0
movss xmm5, dword [ebp - 0x1c]
movss xmm2, dword [ebp - 0x20]
movaps xmm3, xmm5
mov dword [ebp - 0x18], eax
movaps xmm0, xmm2
mov eax, dword [ebp + 8]
movaps xmm4, xmm5
movss xmm1, dword [ebp - 0x18]
mulss xmm0, dword [eax]
mulss xmm3, dword [eax + 4]
mulss xmm4, dword [eax + 0x14]
mulss xmm5, dword [eax + 0x34]
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [eax + 8]
addss xmm3, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [eax + 0x10]
mulss xmm2, dword [eax + 0x30]
addss xmm3, dword [eax + 0xc]
addss xmm4, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [eax + 0x38]
addss xmm5, xmm2
mulss xmm0, dword [eax + 0x18]
addss xmm5, xmm1
addss xmm4, xmm0
movss xmm0, dword [0x10076630]
addss xmm5, dword [eax + 0x3c]
addss xmm4, dword [eax + 0x1c]
comiss xmm0, xmm5
ja 0x100460ff
divss xmm3, xmm5
mov ecx, dword [0x1007a758]
divss xmm4, xmm5
movss xmm0, dword [0x1007a068]
movaps xmm1, xmm3
mulss xmm1, dword [0x10076770]
addss xmm3, dword [0x10076770]
addss xmm1, xmm3
movss dword [ebp - 0x28], xmm1
movaps xmm1, xmm4
addss xmm1, dword [0x10076760]
mulss xmm4, dword [0x10076760]
subss xmm1, xmm4
movss dword [ebp - 0x2c], xmm1
movss xmm1, dword [0x10076754]
mulss xmm0, xmm1
cvttss2si esi, xmm0
movss xmm0, dword [0x1007a06c]
mulss xmm0, xmm1
or esi, 0xff00
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x1007a070]
movzx eax, al
or esi, eax
mulss xmm0, xmm1
shl esi, 8
cvttss2si eax, xmm0
movzx eax, al
or esi, eax
test ecx, ecx
jne 0x10046094
push 0x1007a758
push edi
call dword [sym.imp.d3dx9_43.dll_D3DXCreateLine]
mov ecx, dword [0x1007a758]
movss xmm0, dword [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0x2c]
mov dword [ebp - 0x24], 0x44700000
mov dword [ebp - 0x20], 0x44870000
movss dword [ebp - 0x18], xmm0
mov eax, dword [ecx]
push ecx
mov dword [esp], 0x3f800000
push ecx
call dword [eax + 0x2c]
mov eax, dword [0x1007a758]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [0x1007a758]
lea edx, [ebp - 0x24]
push esi
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [0x1007a758]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [0x1007a758]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x3f800000
push eax
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1004b324
mov esp, ebp
pop ebp
ret
Function at 0x1004a440
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1007a010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x24], edx
push edi
xor ebx, ebx
push ebx
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1004a5bc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1004a557
mov ebx, 1
cmp dword [ebp - 0x20], 0x10
jb 0x1004a51a
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1004a51a
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1004a51a
mov edx, dword [esi]
test edx, edx
jne 0x1004a4e6
push 0x200
push edx
push dword [0x1007a70c]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1004a53f
jmp 0x1004a50e
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x1004a50e
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x1007a70c]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1004a53f
mov dword [esi], edx
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1004a4a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1004a557
mov eax, dword [esi]
xor ebx, ebx
test eax, eax
je 0x1004a557
push eax
push ebx
push dword [0x1007a70c]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esi], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x1004a5bc
cmp dword [esi], 0
je 0x1004a5a9
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x1004a5a9
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x1004a5a3
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov ecx, ebx
call fcn.1004a2d0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x1004a570
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1004b324
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 9
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1004b324
mov esp, ebp
pop ebp
ret