joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003740
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1007b7a0
add esp, 0xc
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
lea eax, [ebp - 0x404]
push 0x400
push eax
call fcn.10002c00
push dword [eax + 4]
push dword [eax]
call fcn.10085b71
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
jle 0x100037e2
inc eax
push eax
lea eax, [ebp - 0x404]
push eax
push 0x100ea984
call fcn.1000dba0
add esp, 0xc
test al, al
jne 0x100037c3
push 0x100ea984
call fcn.1000dab0
add esp, 4
push esi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str._OBS_
call esi
lea eax, [ebp - 0x404]
push eax
call esi
push 0x100a89c8
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077d23
mov esp, ebp
pop ebp
ret

Function at 0x100038e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.MedalCaptureHook_Pipe
lea eax, [ebp - 0x44]
push str._s_lu
push eax
call fcn.10003ca0
lea eax, [ebp - 0x44]
push eax
push 0x100ea984
call fcn.1000dae0
mov bl, al
add esp, 0x18
test bl, bl
jne 0x1000392d
push str._OBS__Failed_to_open_pipe_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.10077d23
mov esp, ebp
pop ebp
ret

Function at 0x10003d10
Capabilities:
Check mutex on windows

Disassembly:
xor al, al
cmp byte [0x100eaaac], al
je 0x10003d96
push ebx
push esi
push edi
call fcn.10003b60
mov esi, eax
mov edi, edx
mov ecx, esi
mov eax, edi
sub ecx, dword [0x100ead78]
mov bl, 1
sbb eax, dword [0x100ead7c]
cmp eax, 1
jb 0x10003d75
ja 0x10003d47
cmp ecx, 0x2a05f200
jbe 0x10003d75
push 0x100eabb8
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
setne bl
test eax, eax
je 0x10003d69
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x100ead78], esi
mov dword [0x100ead7c], edi
push 0
push dword [0x100ea98c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10003d91
test bl, bl
je 0x10003d91
pop edi
pop esi
xor al, al
pop ebx
ret
pop edi
pop esi
mov al, 1
pop ebx
ret
Function at 0x10005640
Capabilities:
Link many functions at runtime

Disassembly:
push esi
push str.wglDXSetResourceShareHandleNV
call dword [0x100ead08]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10005663
push str.wglDXSetResourceShareHandleNV
push dword [0x100eae64]
call esi
push str.wglDXOpenDeviceNV
mov dword [0x100ead50], eax
call dword [0x100ead08]
test eax, eax
jne 0x10005684
push str.wglDXOpenDeviceNV
push dword [0x100eae64]
call esi
push str.wglDXCloseDeviceNV
mov dword [0x100ead54], eax
call dword [0x100ead08]
test eax, eax
jne 0x100056a5
push str.wglDXCloseDeviceNV
push dword [0x100eae64]
call esi
push str.wglDXRegisterObjectNV
mov dword [0x100ead58], eax
call dword [0x100ead08]
test eax, eax
jne 0x100056c6
push str.wglDXRegisterObjectNV
push dword [0x100eae64]
call esi
push str.wglDXUnregisterObjectNV
mov dword [0x100ead5c], eax
call dword [0x100ead08]
test eax, eax
jne 0x100056e7
push str.wglDXUnregisterObjectNV
push dword [0x100eae64]
call esi
push str.wglDXObjectAccessNV
mov dword [0x100ead60], eax
call dword [0x100ead08]
test eax, eax
jne 0x10005708
push str.wglDXObjectAccessNV
push dword [0x100eae64]
call esi
push str.wglDXLockObjectsNV
mov dword [0x100ead64], eax
call dword [0x100ead08]
test eax, eax
jne 0x10005729
push str.wglDXLockObjectsNV
push dword [0x100eae64]
call esi
push str.wglDXUnlockObjectsNV
mov dword [0x100ead68], eax
call dword [0x100ead08]
test eax, eax
jne 0x1000574a
push str.wglDXUnlockObjectsNV
push dword [0x100eae64]
call esi
cmp dword [0x100ead50], 0
mov dword [0x100ead6c], eax
pop esi
je 0x100057a8
cmp dword [0x100ead54], 0
je 0x100057a8
cmp dword [0x100ead58], 0
je 0x100057a8
cmp dword [0x100ead5c], 0
je 0x100057a8
cmp dword [0x100ead60], 0
je 0x100057a8
cmp dword [0x100ead64], 0
je 0x100057a8
cmp dword [0x100ead68], 0
je 0x100057a8
test eax, eax
je 0x100057a8
push str.Shared_texture_OpenGL_capture_available
mov byte [0x100eae62], 1
call fcn.10003740
add esp, 4
ret
mov byte [0x100eae62], 0
ret
Function at 0x10009a00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
test al, al
jne 0x10009a19
cmp byte [esi + 0x19], 0
jne 0x10009b7c
cmp byte [esi + 0x1a], 0
je 0x10009a59
test al, al
jne 0x10009a59
cmp dword [esi + 0x14], 2
mov eax, 5
mov ecx, dword [esi + 4]
jne 0x10009a36
add ecx, 0xfffffffb
jmp 0x10009a42
cmp byte [esi + 0x18], 0
mov edx, 0xe
cmovne eax, edx
push eax
lea eax, [esi + 0x2a]
push eax
push ecx
call fcn.1007b220
add esp, 0xc
mov byte [esi + 0x19], 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
lea ecx, [ebp - 4]
push ebx
mov ebx, dword [esi + 8]
push ecx
push 0x40
sub ebx, eax
add eax, 0xfffffffb
push 0xa
push eax
sub ebx, 5
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp byte [ebp + 0xc], 0
jne 0x10009a87
cmp byte [esi + 0x1a], 0
jne 0x10009b5f
xor ecx, ecx
push edi
mov edi, dword [esi + 4]
mov al, byte [edi - 5]
cmp al, 0x90
mov byte [ebp + 0xf], al
sete cl
cmp byte [edi - 4], 0x90
lea eax, [ecx + 1]
cmovne eax, ecx
cmp byte [edi - 3], 0x90
lea ecx, [eax + 1]
cmovne ecx, eax
cmp byte [edi - 2], 0x90
lea edx, [ecx + 1]
cmovne edx, ecx
cmp byte [edi - 1], 0x90
lea eax, [edx + 1]
cmovne eax, edx
cmp eax, 5
jne 0x10009af7
cmp byte [edi], 0x8b
jne 0x10009af7
cmp byte [edi + 1], 0xff
jne 0x10009af7
lea eax, [edi + 2]
mov dword [esi + 0x14], 2
mov dword [esi], eax
mov byte [esi + 0x19], 1
mov byte [edi - 5], 0xe9
mov eax, dword [esi + 8]
sub eax, dword [esi + 4]
mov dword [edi - 4], eax
mov eax, 0xf9eb
mov word [edi], ax
jmp 0x10009b5a
cmp byte [ebp + 0xf], 0xe9
jne 0x10009b29
mov eax, 0xf9eb
cmp word [edi], ax
jne 0x10009b29
cmp dword [esi + 0x14], 0
jne 0x10009b5a
mov eax, dword [edi - 4]
add eax, edi
mov dword [esi + 0x14], 2
mov dword [esi], eax
mov eax, dword [esi + 8]
sub eax, edi
mov byte [esi + 0x19], 1
mov dword [edi - 4], eax
jmp 0x10009b5a
cmp byte [edi], 0xe9
mov eax, dword [esi + 0x14]
jne 0x10009b4f
test eax, eax
jne 0x10009b5a
mov eax, dword [edi + 1]
add eax, 5
mov dword [esi + 0x14], 1
add eax, edi
mov byte [esi + 0x19], 1
mov dword [esi], eax
mov dword [edi + 1], ebx
jmp 0x10009b5a
test eax, eax
je 0x10009b5a
mov dword [esi + 0x14], 0
mov byte [esi + 0x1a], 1
pop edi
cmp dword [esi + 0x14], 0
jne 0x10009b7b
mov eax, dword [esi + 4]
mov dword [esi], eax
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], 1
mov byte [eax], 0xe9
mov dword [eax + 1], ebx
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10009b90
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
push 0x38
push 0
push edi
call fcn.1007b7a0
mov eax, dword [ebp + 0x10]
add esp, 0xc
mov esi, dword [ebp + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x10], eax
lea eax, [ebp + 8]
push eax
push 0x40
push 0x13
lea eax, [esi - 5]
mov dword [edi + 4], esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
movq xmm0, qword [esi]
movq qword [edi + 0x1c], xmm0
mov eax, dword [esi + 8]
mov dword [edi + 0x24], eax
mov ax, word [esi + 0xc]
mov word [edi + 0x28], ax
pop edi
pop esi
pop ebp
ret
Function at 0x10009bf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
cmp byte [esi + 0x19], 0
je 0x10009c56
cmp dword [esi + 0x14], 2
push ebx
mov ebx, dword [esi + 4]
push edi
mov edi, 5
jne 0x10009c12
add ebx, 0xfffffffb
jmp 0x10009c1e
cmp byte [esi + 0x18], 0
mov eax, 0xe
cmovne edi, eax
lea eax, [ebp + 8]
push eax
push 0x40
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea eax, [esi + 0x2a]
push ebx
push eax
call fcn.1007b220
add esp, 0xc
cmp dword [esi + 0x14], 0
jne 0x10009c50
push edi
lea eax, [esi + 0x1c]
push eax
push dword [esi + 4]
call fcn.1007b220
add esp, 0xc
pop edi
mov byte [esi + 0x19], 0
pop ebx
pop esi
pop ebp
ret
Function at 0x1000dce0
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.1000de90
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000ddad
mov edx, dword [ebp - 4]
cmp edx, dword [0x100e4010]
jb 0x1000dd2a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100e4014]
ja 0x1000dd2a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000dcfa
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007b7a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000dd50
jmp 0x1000ddad
cmp dword [ebp - 0x14], 0x10000
jne 0x1000dd93
cmp dword [ebp - 0x18], 0x10000
jb 0x1000dd93
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000dd86
mov eax, dword [ebp - 8]
jmp 0x1000ddaf
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000dda8
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000de90
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000dcfa
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000ddc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000dec0
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000de85
mov edx, dword [ebp - 4]
cmp edx, dword [0x100e4010]
jb 0x1000de05
mov eax, dword [ebp - 4]
cmp eax, dword [0x100e4014]
ja 0x1000de05
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000ddd5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.1007b7a0
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000de2b
jmp 0x1000de85
cmp dword [ebp - 0x14], 0x10000
jne 0x1000de6e
cmp dword [ebp - 0x18], 0x10000
jb 0x1000de6e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000de61
mov eax, dword [ebp - 8]
jmp 0x1000de87
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000de80
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000dec0
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000ddd5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1001b7b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 1
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x20c]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b7f6
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.1001b930
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10077d23
mov esp, ebp
pop ebp
ret
Function at 0x10022f30
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2910
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10019b50
test eax, eax
je 0x10022f69
mov al, 1
jmp 0x10023111
call fcn.10019b70
mov esi, eax
test esi, esi
je 0x10022feb
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
push 0x200
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.100106a0
mov dword [ebp - 0x20], str.n_overlay
mov dword [ebp - 0x1c], str.d:documentsgelectron_privategame_overlay_n_overlayoverlayhookapp.cc
mov dword [ebp - 0x18], str.HookApp::findGameWindow
mov dword [ebp - 0x14], 0xf3
push str.setGraphicsWindow_by_injectWindow:
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 1
call fcn.10022480
push esi
mov ecx, eax
call fcn.10022540
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d480
push esi
jmp 0x1002308f
xorps xmm0, xmm0
movlpd qword [ebp - 0x68], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x68]
push eax
push 0x10023130
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 0x64], 0
je 0x10023097
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x4c], 7
mov word [ebp - 0x60], ax
push 0x200
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 2
call fcn.100106a0
mov dword [ebp - 0x48], str.n_overlay
mov dword [ebp - 0x44], str.d:documentsgelectron_privategame_overlay_n_overlayoverlayhookapp.cc
mov dword [ebp - 0x40], str.HookApp::findGameWindow
mov dword [ebp - 0x3c], 0xff
push str.setGraphicsWindow_by_enum:
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 3
call fcn.10022480
push dword [ebp - 0x64]
mov ecx, eax
call fcn.10022540
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d480
push dword [ebp - 0x64]
call fcn.10019db0
add esp, 4
push str.__injectWindow:
push str.HookApp::findGameWindow
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
add esp, 8
mov esi, eax
call fcn.10019b70
push eax
mov ecx, esi
call fcn.10013d60
push eax
call fcn.10011fa0
add esp, 4
push str.__graphicsWindow:
push str.HookApp::findGameWindow
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
add esp, 8
mov esi, eax
call fcn.10019b50
push eax
mov ecx, esi
call fcn.10013d60
push eax
call fcn.10011fa0
add esp, 4
call fcn.10019b50
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10077d23
mov esp, ebp
pop ebp
ret
Function at 0x10023f80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2b88
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x24], 7
mov word [ebp - 0x38], ax
push 0x200
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.100106a0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], str.n_overlay
mov dword [ebp - 0x1c], str.d:documentsgelectron_privategame_overlay_n_overlayoverlayhookapp.cc
mov dword [ebp - 0x18], str.HookApp::startHook
mov dword [ebp - 0x14], 0x75
call fcn.1001d480
mov al, byte [esi + 0x30]
lea ecx, [esi + 0x30]
test al, al
jne 0x1002401f
mov al, 1
xchg byte [ecx], al
push 0
push 0
push 0
push 0x10023410
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x7c], 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.10077d23
mov esp, ebp
pop ebp
ret

Function at 0x1003ba50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a2e60
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x100e5dd4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.100464a0
mov ecx, dword [ebp + 0xc]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov ecx, dword [ecx]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
push 0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
mov byte [esi + 0x28], 0
call fcn.10044030
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1005f590
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a5d66
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x100e5dd4]
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 ebx, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x250]
push 0x200
push 0
push eax
call fcn.1007b7a0
add esp, 0xc
lea eax, [ebp - 0x250]
push 0x100
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x278]
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x27c], eax
xor eax, eax
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
push 0x200
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], eax
call fcn.100106a0
mov dword [ebp - 0x260], str.n_overlay
mov dword [ebp - 0x25c], str.d:documentsgelectron_privategame_overlay_n_overlayoverlayuiapp.cc
mov dword [ebp - 0x258], str.UiApp::trySetupGraphicsWindow
mov dword [ebp - 0x254], 0x27
push str.window:
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 1
call fcn.10022480
push 0x40
mov edi, eax
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.1007b7a0
push esi
push str.0x_08X
push 0xffffffffffffffff
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.10010810
lea ecx, [ebp - 0x50]
add esp, 0x20
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005f692
sub ecx, edx
lea eax, [ebp - 0x50]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.10010520
push str.__title:
mov ecx, edi
call fcn.10022480
lea ecx, [ebp - 0x250]
mov edx, eax
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005f6c4
sub ecx, edi
lea eax, [ebp - 0x250]
sar ecx, 1
push ecx
push eax
mov ecx, edx
call fcn.10010520
lea ecx, [ebp - 0x278]
mov dword [ebp - 4], 0xffffffff
call fcn.1001d480
call fcn.10019b50
test eax, eax
je 0x1005f73b
call fcn.10019b50
cmp esi, eax
je 0x1005f73b
push str.__graphicsWindow___session_gwindow
push str.UiApp::trySetupGraphicsWindow
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
add esp, 8
mov ecx, eax
push esi
call fcn.10013d60
push eax
call fcn.10011fa0
add esp, 4
xor al, al
jmp 0x1005f793
mov eax, dword [ebx + 0x50]
lea edi, [ebx + 0x50]
cmp eax, esi
jne 0x1005f77a
push str.__gwindow__window
push str.UiApp::trySetupGraphicsWindow
push 0x100f3238
call fcn.10010a20
add esp, 8
push eax
call fcn.10010a20
add esp, 8
mov ecx, eax
push esi
call fcn.10013d60
push eax
call fcn.10011fa0
add esp, 4
mov al, 1
jmp 0x1005f793
mov eax, dword [edi]
test eax, eax
je 0x1005f78b
mov ecx, ebx
call fcn.1005f820
xor eax, eax
xchg dword [edi], eax
push esi
mov ecx, ebx
call fcn.1005efa0
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.10077d23
mov esp, ebp
pop ebp
ret 4
Function at 0x10066090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x100e5dd4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x420], ecx
mov ecx, ebx
mov eax, dword [ebx]
push edi
mov edi, dword [ebp + 0x10]
call dword [eax + 0x18]
test eax, eax
je 0x100660d5
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10077d23
mov esp, ebp
pop ebp
ret 0x10
cmp byte [ebp + 0x14], 0
je 0x1006622b
lea ecx, [ebx + 0x34]
cmp ecx, esi
je 0x100660f9
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x100660f0
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.10017610
lea ecx, [ebx + 0x4c]
cmp ecx, edi
je 0x10066113
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1006610a
mov eax, dword [edi]
push dword [edi + 0x10]
push eax
call fcn.10017610
lea eax, [ebx + 0x1c]
push eax
lea ecx, [ebp - 0x41c]
call fcn.10012510
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.1007b7a0
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x10066140
mov edi, dword [edi]
cmp dword [esi + 0x14], 0x10
jb 0x10066148
mov esi, dword [esi]
push edi
push esi
lea eax, [ebp - 0x404]
push str.__s___s
push eax
call fcn.10065450
add esp, 0x10
mov dword [ebp - 0x474], 0x44
lea eax, [ebp - 0x430]
xorps xmm0, xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x468], xmm0
push eax
lea eax, [ebp - 0x474]
movlpd qword [ebp - 0x460], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x404]
movlpd qword [ebp - 0x458], xmm0
push eax
push 0
movlpd qword [ebp - 0x450], xmm0
movlpd qword [ebp - 0x448], xmm0
movlpd qword [ebp - 0x440], xmm0
movlpd qword [ebp - 0x438], xmm0
movups xmmword [ebp - 0x430], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1006621c
push dword [ebp - 0x430]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x42c]
call esi
mov esi, dword [ebp - 0x420]
push 0
push 0x1f4
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [ebp - 0x41c]
mov bl, 1
call fcn.100135b0
jmp 0x10066251
lea ecx, [ebp - 0x41c]
xor bl, bl
call fcn.100135b0
jmp 0x10066251
mov esi, dword [ebp - 0x420]
mov ecx, esi
push ebx
call fcn.10065830
mov bl, al
test bl, bl
jne 0x10066251
push 0
push 0x3e8
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10077d23
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10066720
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
lea ecx, [edi + 4]
cmp ecx, eax
je 0x10066742
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x1006673b
mov eax, dword [eax]
push edx
push eax
call fcn.10017610
push 0
push 0
push 0
push 0xfffffffffffffffd
push 0
push 0
push 0
push 0
push 0x80000000
push str.IpcLogic
push 0x100c8580
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 0x1c], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x100667d0
push 0xfffffffffffffffc
push dword [edi + 0x1c]
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push edi
push 0x10066810
push 0
push 0
mov dword [edi + 0x28], eax
call fcn.1008b84f
add esp, 0x18
mov dword [edi + 0x24], eax
push 0xffffffffffffffff
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x28], 0
pop edi
pop ebp
ret 4