joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013ea
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x100bd8f4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 4
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100014c2
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
jmp 0x100014b3
cmp dword [ebp - 0x20], 0x10
jb 0x100014a1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x100014a1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100014a1
mov edx, dword [esi]
test edx, edx
jne 0x1000146f
push 0x200
push edx
push dword [0x100bfab4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100014bb
jmp 0x10001495
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10001495
shl eax, 3
push eax
push edx
push 0
push dword [0x100bfab4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100014bb
shl dword [esi + 4], 1
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 0x1000142a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1004d7a7
leave
ret

Function at 0x100014d0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.100013ea
cmp dword [esi], ebx
je 0x10001530
push edi
mov edi, ebx
cmp dword [esi + 8], ebx
jbe 0x1000152f
mov eax, dword [esi]
push dword [eax + edi*4]
push ebx
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10001526
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.1000128b
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
push 0
pop ebx
cmp edi, dword [esi + 8]
jb 0x100014f6
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10001534
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
test eax, eax
je 0x10001582
push edi
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10001572
push ebx
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 0x10001569
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10001546
mov eax, dword [esi]
pop ebx
push eax
push 0
push dword [0x100bfab4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
ret
Function at 0x10001584
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
imul esi, ecx, 0x28
push edi
mov edi, edx
mov dword [ebp - 0x10], edi
add esi, dword [0x100bfad0]
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x14]
mov ebx, dword [esi]
shl eax, 0x1f
sar eax, 0x1f
test eax, eax
je 0x100015b0
sub ebx, 5
xor ecx, ecx
test eax, eax
lea eax, [ebp - 4]
setne cl
push eax
push 0x40
lea ecx, [ecx*2 + 5]
push ecx
push ebx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100015d8
push 0xa
pop eax
jmp 0x10001657
test edi, edi
je 0x100015f9
mov byte [ebx], 0xe9
mov eax, dword [esi + 4]
sub eax, ebx
sub eax, 5
mov dword [ebx + 1], eax
test byte [esi + 0x14], 1
je 0x10001618
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10001618
test byte [esi + 0x14], 1
je 0x1000160d
lea esi, [esi + 0xc]
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
jmp 0x10001618
mov eax, dword [esi + 0xc]
mov dword [ebx], eax
mov al, byte [esi + 0x10]
mov byte [ebx + 4], al
mov edi, dword [ebp - 0xc]
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp - 0x10]
and eax, 1
mov ecx, eax
add eax, eax
and ecx, 0xfffffffd
or ecx, eax
mov eax, dword [esi + 0x14]
add ecx, ecx
and eax, 0xfffffff9
or ecx, eax
xor eax, eax
mov dword [esi + 0x14], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002014
Capabilities:
Allocate or change rwx memory

Disassembly:
mov edx, dword [0x100bfacc]
push esi
xor esi, esi
jmp 0x10002026
cmp dword [edx + 4], esi
jne 0x10002072
mov edx, dword [edx]
test edx, edx
jne 0x1000201f
push 0x40
push 0x3000
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, eax
test edx, edx
je 0x10002083
push 0x20
mov dword [edx + 4], esi
lea ecx, [edx + 0x20]
mov dword [edx + 8], esi
pop esi
mov eax, dword [edx + 4]
add esi, 0x20
mov dword [ecx], eax
mov dword [edx + 4], ecx
add ecx, 0x20
cmp esi, 0xfe0
jbe 0x1000204f
mov eax, dword [0x100bfacc]
mov dword [edx], eax
mov dword [0x100bfacc], edx
test edx, edx
je 0x10002083
mov eax, dword [edx + 4]
pop esi
mov ecx, dword [eax]
inc dword [edx + 8]
mov dword [edx + 4], ecx
ret
xor eax, eax
pop esi
ret
Function at 0x100026b0
Capabilities:
Create process memory minidump
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push str.Writing_minidump_r_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x1826
cmp dword [ebp + 0xc], 0
je 0x100026ec
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ecx
jmp 0x100026f3
mov dword [ebp - 4], 0
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x1826
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.dbghelp.dll_MiniDumpWriteDump
mov esp, ebp
pop ebp
ret
Function at 0x10002950
Capabilities:
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x27c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0xc]
call fcn.100034b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000298f
mov eax, dword [ebp - 4]
jmp 0x10002b12
push 0x20000
call fcn.1004d31e
add esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], eax
push 0x44
push 0
lea ecx, [ebp - 0x74]
push ecx
call fcn.10050730
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x74], 0x44
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x100703c8
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edx, 2
imul eax, edx, 0
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx + eax]
test edx, edx
jne 0x10002a22
push 0x104
lea eax, [ebp - 0x27c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.100056a0
add esp, 0xc
jmp 0x10002a33
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov ecx, 1
test ecx, ecx
je 0x10002afd
mov edx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], edx
cmp dword [0x100bec70], 0
je 0x10002a6f
mov ecx, dword [0x100bec70]
call fcn.1000eaf0
test eax, eax
je 0x10002a6f
mov ecx, dword [0x100bec70]
call fcn.1000eaf0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
push ecx
lea edx, [ebp - 0x27c]
push edx
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0
call dword [ebp - 0x10]
test eax, eax
jne 0x10002aad
mov dword [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x90], eax
jmp 0x10002afd
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.10002890
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002ad6
mov edx, dword [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10002ae2
push 0
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10002afd
mov eax, dword [ebp - 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.1004d327
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100058e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 1
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005961
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10005957
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x10005970
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x100059c2
push 4
lea eax, [ebp + 0x14]
push eax
push 4
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x100059b1
xor eax, eax
jmp 0x100059c4
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x100059c4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x100059d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x10005a4f
mov ecx, dword [ebp + 0x14]
call fcn.10004ae0
push eax
call fcn.10053bdf
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov ecx, dword [ebp + 0x14]
call fcn.10004ae0
push eax
push 1
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x10005a45
mov dword [ebp - 8], 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10005a60
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
push 4
call fcn.1004d31e
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 4
lea ecx, [ebp - 8]
push ecx
push 1
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005b71
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005ae8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.10004210
mov dword [ebp - 0x10], 1
jmp 0x10005b67
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.1004d327
add esp, 4
mov eax, dword [ebp - 0xc]
add eax, 1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1004d31e
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
lea eax, [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005b55
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.10004210
mov dword [ebp - 0x10], 1
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.1004d327
add esp, 4
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x10011d10
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006d221
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push 0
mov ecx, dword [ebp + 8]
call fcn.10004ae0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10011ec5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xb7
je 0x10011ec5
mov eax, dword [ebp - 0x10]
push eax
push 0x1008a33c
push 0x80
lea ecx, [ebp - 0x1e8]
push ecx
call fcn.10004d20
add esp, 0x10
lea ecx, [ebp - 0x58]
call fcn.10004090
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1e8]
push edx
lea ecx, [ebp - 0xe8]
call fcn.10004030
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
push ecx
push 0x1008a34c
lea ecx, [ebp - 0xd0]
call fcn.10004030
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x24], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x1008a35c
lea ecx, [ebp - 0xb8]
call fcn.10004030
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.10011fd0
add esp, 0xc
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10011f20
add esp, 0xc
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x70]
push ecx
call fcn.10011f20
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
lea ecx, [ebp - 0x58]
call fcn.10004190
lea ecx, [ebp - 0x70]
call fcn.10004130
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.10004130
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xa0]
call fcn.10004130
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xb8]
call fcn.10004130
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.10004130
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xe8]
call fcn.10004130
lea ecx, [ebp - 0x58]
call fcn.10004ae0
push eax
call fcn.1003ff70
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.10004130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100202a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov dword [ebp - 0xc], ecx
push 0x1008d55c
mov eax, dword [0x100beafc]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov edx, dword [0x100beafc]
add edx, 0x20
push edx
push 3
push 0x10020510
mov eax, dword [ebp - 4]
push eax
push str.D3D11CreateDeviceAndSwapChain
call fcn.10011a30
add esp, 0x14
push 0x1008d59c
mov ecx, dword [0x100beafc]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
mov eax, dword [0x100beafc]
add eax, 0x24
push eax
push 3
push 0x10020690
mov ecx, dword [ebp - 4]
push ecx
push str.D3D11CreateDevice
call fcn.10011a30
add esp, 0x14
push 0x104
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x1008d5c4
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
lea ecx, [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10020372
cmp dword [0x100beb80], 0
jne 0x10020372
mov edx, dword [ebp - 8]
push edx
call fcn.1003fed0
add esp, 4
mov dword [0x100beb80], eax
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [0x100beb80]
push ecx
call fcn.1003ff10
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x100268e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006da18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0x800
lea ecx, [ebp - 0x10]
call fcn.10010ef0
mov dword [ebp - 4], 0
push 0
mov eax, dword [ebp + 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 0
push 0
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x18]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x10026994
lea ecx, [ebp - 0x10]
call fcn.1000de70
test eax, eax
je 0x1002697a
lea ecx, [ebp - 0x10]
call fcn.1000de70
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 0xc]
call edx
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10011080
mov eax, dword [ebp - 0x24]
jmp 0x100269ad
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10011080
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10034b70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 0
jne 0x10034b86
mov eax, 0x80001000
jmp 0x10034c0d
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.10035b50
add esp, 8
mov dword [ebp - 4], 0
push 0x100912b8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
call fcn.10057648
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10034bcf
mov dword [ebp - 0xc], 0x80000000
lea ecx, [ebp - 0x28]
call fcn.1000fe60
mov eax, dword [ebp - 0xc]
jmp 0x10034c0d
mov ecx, dword [ebp - 4]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10004ca0
push eax
push 1
lea ecx, [ebp - 0x28]
call fcn.10010070
push eax
call fcn.10057999
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.10057706
add esp, 4
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x28]
call fcn.1000fe60
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x1003ff70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [str.Resident]
push eax
lea ecx, [ebp - 0x18]
push ecx
call fcn.100116d0
add esp, 8
push 0x40010
lea ecx, [ebp - 0x18]
call fcn.10004ae0
push eax
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10046900
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push esi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.100466a0
mov ecx, dword [ebp - 4]
call fcn.10047880
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x198], 0
jne 0x100469c1
cmp dword [ebp - 8], 0
je 0x100469c1
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x1c0]
push eax
push str.Frame_Start..._02d_n
mov ecx, dword [0x100beb90]
push ecx
call fcn.1000e6e0
add esp, 0xc
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 4]
call fcn.100478a0
lea ecx, [ebp - 0x38]
call fcn.10004130
mov eax, dword [ebp - 4]
mov dword [eax + 0x198], 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c4], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c8], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 4]
call eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 4]
add ecx, 0x1e4
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x10046aa5
mov edx, dword [ebp - 4]
cmp dword [edx + 0x198], 0
je 0x10046aa5
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x20]
sub edx, dword [ecx + 0x1e4]
mov eax, dword [ebp - 0x1c]
sbb eax, dword [ecx + 0x1e8]
push 0
push 0xf4240
push eax
push edx
call fcn.1004d430
mov ecx, dword [ebp - 4]
mov esi, dword [ecx + 0x1e0]
push esi
mov ecx, dword [ecx + 0x1dc]
push ecx
push edx
push eax
call fcn.1004d380
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
cmp dword [edx + 0xc4], 0
je 0x10046a4b
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc4]
xor edx, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jl 0x10046aa5
jg 0x10046a4b
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x18]
jbe 0x10046aa5
mov edx, dword [ebp - 0x10]
push edx
push str.Frame_len:__dus_n
mov eax, dword [0x100beb90]
push eax
call fcn.1000e6e0
add esp, 0xc
push str.Frame_End..._n_n_n
mov ecx, dword [0x100beb90]
push ecx
call fcn.1000e6e0
add esp, 8
mov edx, dword [ebp - 4]
mov dword [edx + 0x198], 0
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x1c0]
add edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c0], edx
pop esi
mov esp, ebp
pop ebp
ret 4