joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d0184e0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x6d0fb630]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp word [0x6d0fbd98], 0
push ebx
jne 0x6d018702
push esi
push 0x11c
lea eax, [esp + 0xc]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push str._I__OS_Version_
push 0
push 3
mov esi, eax
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
test esi, esi
pop esi
je 0x6d0186e6
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
cmp eax, 2
jne 0x6d0186d1
cmp ecx, 4
jbe 0x6d0186d1
mov eax, dword [esp + 0xc]
mov ebx, 1
cmp ecx, 6
jb 0x6d018608
test eax, eax
jne 0x6d0185be
cmp byte [esp + 0x11e], bl
jne 0x6d01859c
push str.OS_VISTA_n
push eax
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
mov word [0x6d0fbd98], bx
jmp 0x6d018702
push str.OS_WINSERV_2008_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
mov edx, 2
add esp, 0xc
mov word [0x6d0fbd98], dx
jmp 0x6d018702
cmp eax, ebx
jb 0x6d018608
cmp byte [esp + 0x11e], bl
jne 0x6d0185e6
push str.OS_WINDOWS7_or_newer_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
mov eax, 0x20
jmp 0x6d0186fc
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
mov ecx, 0x40
add esp, 0xc
mov word [0x6d0fbd98], cx
jmp 0x6d018702
cmp ecx, 5
jne 0x6d0186b0
cmp eax, 2
jne 0x6d01865c
cmp byte [esp + 0x11e], bl
jne 0x6d018641
push str.OS_WINXP_64_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
mov edx, 8
add esp, 0xc
mov word [0x6d0fbd98], dx
jmp 0x6d018702
push str.OS_WINSERV_2003_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
mov eax, 0x10
jmp 0x6d0186fc
cmp eax, ebx
jne 0x6d0186b0
push str.OS_WINXP
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
test dword [esp + 0x11c], 0x200
mov ecx, 4
mov word [0x6d0fbd98], cx
je 0x6d01869d
push str.Home_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
jmp 0x6d018702
push str.Pro_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
jmp 0x6d018702
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
mov edx, 0xff80
add esp, 0x14
mov word [0x6d0fbd98], dx
jmp 0x6d018702
push ecx
push eax
push str.OS_UNKNOWN:_dwPlatformId_d_dwMajorVersion_d_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0x14
jmp 0x6d0186f7
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
mov eax, 0xff80
mov word [0x6d0fbd98], ax
movzx ecx, word [esp + 0x128]
movzx eax, word [0x6d0fbd98]
and eax, ecx
mov ecx, dword [esp + 0x120]
pop ebx
xor ecx, esp
call fcn.6d0b3eb2
add esp, 0x120
ret
Function at 0x6d018870
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push str.J2D_D3D_RASTERIZER
call dword [sym.imp.MSVCR100.dll_getenv]
mov esi, eax
add esp, 4
mov ebx, 1
test esi, esi
je 0x6d018959
push edi
push str._W__D3DPPLM::SelectDeviceType:
push 0
push 2
call sym.awt.dll_J2dTraceImpl
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x6d0c9a04
push esi
call edi
add esp, 0x18
test eax, eax
je 0x6d018931
push 3
push 0x6d0b9484
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d018931
push 3
push 0x6d0c9a00
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d018921
push 3
push 0x6d0c99fc
push esi
call edi
add esp, 0xc
test eax, eax
je 0x6d018921
push 3
push 0x6d0c99f8
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x6d01890d
push str.nullref_rasterizer_selected
push eax
push 2
call sym.awt.dll_J2dTraceImpl
mov ebx, 4
jmp 0x6d018944
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call sym.awt.dll_J2dTraceImpl
add esp, 0x10
jmp 0x6d018947
push str.hal_rasterizer_selected
push 0
push 2
call sym.awt.dll_J2dTraceImpl
jmp 0x6d018944
push str.ref_rasterizer_selected
push 0
push 2
call sym.awt.dll_J2dTraceImpl
mov ebx, 2
add esp, 0xc
push 0x6d0c8dbc
push 0
push 2
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x6d019250
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
call esi
cmp al, 5
ja 0x6d01926c
call esi
cmp al, 5
jne 0x6d01927a
call esi
shr eax, 8
cmp al, 1
jb 0x6d01927a
push 0x52
call fcn.6d0184e0
add esp, 4
test eax, eax
je 0x6d0192a5
push str.D3DPPLM::CheckOSVersion:_Windows_2000_or_earlier__or_a_server__OS_detected__failed
push 1
push 1
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
cmp dword [0x6d0fbd94], 0
je 0x6d0192a9
push str.__OS_check_overridden_via_J2D_D3D_NO_HWCHECK
push 1
push 2
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
xor eax, eax
pop esi
ret
mov eax, 0x80004005
pop esi
ret
Function at 0x6d04b257
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push str.OGLFuncs_InitPlatformFuncs
inc ebx
push ebx
push 3
call sym.awt.dll_J2dTraceImpl
mov eax, dword [0x6d0fbf38]
add esp, 0xc
test eax, eax
jne 0x6d04b287
push str.OGLFuncs_InitPlatformFuncs:_library_not_yet_initialized
push ebx
push ebx
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
xor al, al
pop ebx
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
mov edi, str.wglCreateContext
push edi
push eax
call esi
mov dword [0x6d0fefa4], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglDeleteContext
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0fef44], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglMakeCurrent
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0ff078], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglGetCurrentContext
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0ff0a0], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglGetCurrentDC
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0ff09c], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglGetProcAddress
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0ff0b4], eax
test eax, eax
je 0x6d04b32f
mov edi, str.wglShareLists
push edi
push dword [0x6d0fbf38]
call esi
mov dword [0x6d0fef28], eax
test eax, eax
jne 0x6d04b33e
push edi
push ebx
push ebx
call sym.awt.dll_J2dTraceImpl
add esp, 0xc
xor al, al
jmp 0x6d04b340
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x6d05a501
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x1fd0]
mov eax, 0x2050
call fcn.6d0b43d0
mov eax, dword [0x6d0fb630]
xor eax, ebp
mov dword [ebp + 0x1fcc], eax
mov ecx, dword [ebp + 0x1fe4]
mov eax, dword [ebp + 0x1fd8]
push ebx
mov dword [ebp - 0x64], ecx
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1fe0]
push ecx
push eax
xor ebx, ebx
call dword [0x6d0fc0cc]
test eax, eax
je 0x6d05a66a
push esi
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0x64], eax
cmp eax, ebx
je 0x6d05a659
push edi
push 0x2c
lea eax, [ebp - 0x60]
push ebx
push eax
call sub.MSVCR100.dll_memset
mov edi, dword [ebp + 0x1fe8]
add esp, 0xc
mov eax, edi
neg eax
mov dword [ebp - 0x58], eax
push 0x20
xor eax, eax
inc eax
mov word [ebp - 0x54], ax
pop eax
push ebx
mov word [ebp - 0x52], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
push ebx
push dword [ebp - 0x70]
mov esi, edi
push dword [ebp - 0x64]
imul esi, edi
mov dword [ebp - 0x60], 0x28
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
call ebx
cmp al, 5
jb 0x6d05a5ca
call ebx
shr eax, 8
cmp al, 1
jae 0x6d05a5d0
call ebx
cmp al, 5
jbe 0x6d05a5e5
xor eax, eax
test esi, esi
jle 0x6d05a5e5
test dword [ebp + eax*4 - 0x34], 0xff000000
jne 0x6d05a620
inc eax
cmp eax, esi
jl 0x6d05a5d6
push 0
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp + 0xfcc]
push eax
push edi
push 0
push dword [ebp - 0x74]
push dword [ebp - 0x64]
call dword [sym.imp.GDI32.dll_GetDIBits]
xor ecx, ecx
test esi, esi
jle 0x6d05a620
cmp dword [ebp + ecx*4 + 0xfcc], 0
jne 0x6d05a61b
lea eax, [ebp + ecx*4 - 0x34]
or dword [eax], 0xff000000
inc ecx
cmp ecx, esi
jl 0x6d05a607
push dword [ebp - 0x64]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [ebp - 0x6c]
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x2cc]
mov ebx, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x390]
test al, al
jne 0x6d05a658
mov eax, dword [edi]
lea ecx, [ebp - 0x34]
push ecx
push esi
push 0
push ebx
push edi
call dword [eax + 0x34c]
pop edi
push dword [ebp - 0x70]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [ebp - 0x74]
call esi
pop esi
mov ecx, dword [ebp + 0x1fcc]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.6d0b3eb2
add ebp, 0x1fd0
leave
ret 0x14
Function at 0x6d05e9c4
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.MSVCR100.dll_getenv]
push str.J2D_TRACE_LEVEL
call esi
and dword [0x6d0f9180], 0
pop ecx
test eax, eax
je 0x6d05ea0a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 4]
push ecx
push 0x6d0ce054
push eax
call dword [sym.imp.MSVCR100.dll_sscanf]
add esp, 0xc
test eax, eax
jle 0x6d05ea0a
mov eax, dword [ebp - 4]
cmp eax, 5
ja 0x6d05ea0a
mov dword [0x6d0f9180], eax
push str.J2D_TRACE_FILE
call esi
mov esi, eax
pop ecx
test esi, esi
je 0x6d05ea3d
push 0x6d0ce040
push esi
call dword [sym.imp.MSVCR100.dll_fopen]
pop ecx
pop ecx
mov dword [0x6d0fc188], eax
test eax, eax
jne 0x6d05ea54
push esi
push str._E_:_Error_opening_trace_file__s_n
call dword [sym.imp.MSVCR100.dll_printf]
pop ecx
pop ecx
cmp dword [0x6d0fc188], 0
jne 0x6d05ea54
call dword [sym.imp.MSVCR100.dll___iob_func]
add eax, 0x20
mov dword [0x6d0fc188], eax
pop esi
leave
ret
Function at 0x6d06f6ef
Capabilities:
Check os version
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
push dword [0x6d0fc9a4]
mov edi, dword [ebp + 0xc]
push edi
push esi
call dword [eax + 0x248]
push dword [0x6d0fc9b4]
mov byte [ebp + 0xb], al
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x248]
mov bl, al
test bl, bl
jne 0x6d06f777
push str.J2D_D3D
call dword [sym.imp.MSVCR100.dll_getenv]
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x6d06f777
push str.false
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d06f751
push 1
mov byte [ebp + 0xb], al
push eax
jmp 0x6d06f76c
push str.true
push dword [ebp - 4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d06f777
push 1
mov byte [ebp + 0xb], 1
push 1
push esi
mov bl, 1
call fcn.6d06f67e
add esp, 0xc
movzx eax, byte [ebp + 0xb]
mov dword [0x6d0fa498], eax
push str.offscreenSharingEnabled
movzx eax, bl
push edi
push esi
mov dword [0x6d0fc9a0], eax
call fcn.6d06f64a
add esp, 0xc
mov byte [0x6d0fc9ac], al
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d06f849
push str.accelReset
push edi
push esi
call fcn.6d06f64a
add esp, 0xc
mov dword [0x6d0fc9bc], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d06f849
push str.checkRegistry
push edi
push esi
call fcn.6d06f64a
add esp, 0xc
mov dword [0x6d0fc9b8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d06f849
push str.disableRegistry
push edi
push esi
call fcn.6d06f64a
add esp, 0xc
mov dword [0x6d0fc9a8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
test al, al
jne 0x6d06f849
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 6
jb 0x6d06f839
push str.setHighDPIAware
push edi
push esi
call fcn.6d06f64a
add esp, 0xc
test eax, eax
je 0x6d06f839
mov dword [0x6d0fc9b0], 1
jmp 0x6d06f840
and dword [0x6d0fc9b0], 0
mov eax, dword [esi]
push esi
call dword [eax + 0x390]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d0743ba
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push edi
movzx edi, byte [esp + 0x14]
push 0
push 0xa0
call esi
push 0
push 0xa1
mov ebx, eax
call esi
cmp edi, ebx
jne 0x6d0743e5
push 2
pop eax
jmp 0x6d0743ef
xor ecx, ecx
cmp edi, eax
sete cl
lea eax, [ecx + 2]
pop edi
pop esi
pop ebx
ret

Function at 0x6d0743f3
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x11
xor edi, edi
call esi
shr eax, 8
test al, al
je 0x6d07440d
mov edi, 0x80
push 0x10
call esi
shr eax, 8
test al, al
je 0x6d07441b
or edi, 0x40
push 0x12
call esi
shr eax, 8
test al, al
je 0x6d07442c
or edi, 0x200
push 4
call esi
shr eax, 8
test al, al
je 0x6d07443d
or edi, 0x800
push 2
call esi
shr eax, 8
test al, al
je 0x6d07444e
or edi, 0x1000
push 1
call esi
shr eax, 8
test al, al
je 0x6d07445f
or edi, 0x400
push 5
call esi
shr eax, 8
test al, al
je 0x6d074472
mov eax, dword [0x6d0fca60]
or edi, dword [eax + 0xc]
push 6
call esi
shr eax, 8
test al, al
je 0x6d074485
mov eax, dword [0x6d0fca60]
or edi, dword [eax + 0x10]
mov eax, edi
pop edi
pop esi
ret

Function at 0x6d0748ab
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x6d0fb630]
xor eax, ebp
mov dword [ebp + 0x84], eax
mov eax, dword [ebp + 0x90]
push ebx
push 4
push eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.MSVCR100.dll_memmove]
xor ebx, ebx
add esp, 0xc
push ebx
mov word [ebp - 0x6c], bx
mov byte [ebp - 0x6a], bl
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push ebx
push 2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0x20
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push 0x20
call dword [sym.imp.USER32.dll_ToUnicodeEx]
mov ecx, dword [ebp + 0x84]
xor ecx, ebp
pop ebx
call fcn.6d0b3eb2
add ebp, 0x88
leave
ret
Function at 0x6d074921
Capabilities:
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x6d0fb630]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 0x10002
push dword [0x6d0fe4b4]
call sub.java.dll__JNU_GetEnv_8
mov esi, eax
mov eax, dword [0x6d0fdb34]
push 0x100
mov dword [ebp - 0x80], eax
xor ebx, ebx
lea eax, [ebp - 0x78]
push ebx
push eax
mov dword [ebp - 0x7c], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [0x6d0fdb3c], ebx
jne 0x6d0749a0
mov eax, dword [esi]
push str.sun_awt_ExtendedKeyCodes
push esi
call dword [eax + 0x18]
mov edi, eax
cmp edi, ebx
je 0x6d074aac
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x54]
push edi
mov dword [0x6d0fdb3c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
cmp dword [0x6d0fdb38], ebx
jne 0x6d0749ce
mov eax, dword [esi]
push str._I_I
push str.getExtendedKeyCodeForChar
push dword [0x6d0fdb3c]
push esi
call dword [eax + 0x1c4]
mov dword [0x6d0fdb38], eax
cmp eax, ebx
je 0x6d074aac
xor edi, edi
mov esi, 0x6d0fca74
push ebx
xor eax, eax
push edi
mov dword [esi - 0xc], edi
mov dword [esi - 4], ebx
mov word [esi], ax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp eax, ebx
jne 0x6d0749f4
mov dword [esi - 8], ebx
jmp 0x6d074a9c
push dword [ebp - 0x80]
lea ecx, [ebp + 0x88]
push 0
push 0x10
push ecx
lea ecx, [ebp - 0x78]
push ecx
push eax
lea ebx, [ebp + edi - 0x78]
push edi
mov dword [esi - 8], eax
mov byte [ebx], 0x80
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 1
jne 0x6d074a4a
cmp dword [esi - 4], 0
mov ax, word [ebp + 0x88]
mov word [esi], ax
jne 0x6d074a97
movzx eax, ax
push eax
push dword [0x6d0fdb38]
push dword [0x6d0fdb3c]
push dword [ebp - 0x7c]
call fcn.6d073b4b
add esp, 0x10
jmp 0x6d074a84
cmp eax, 0xffffffff
jne 0x6d074a89
mov ax, word [ebp + 0x88]
mov word [esi], ax
lea eax, [ebp - 0x78]
push eax
call fcn.6d0748ab
pop ecx
push 0x60
mov eax, 0x6d0cfb70
pop ecx
cmp word [ebp + 0x88], cx
je 0x6d074a81
add eax, 8
movzx ecx, word [eax]
test cx, cx
jne 0x6d074a6b
jmp 0x6d074a97
mov eax, dword [eax + 4]
mov dword [esi - 4], eax
jmp 0x6d074a97
test eax, eax
jne 0x6d074a97
lea eax, [ebp - 0x78]
push eax
call fcn.6d0748ab
pop ecx
mov byte [ebx], 0
xor ebx, ebx
inc edi
add esi, 0x10
cmp edi, 0x100
jb 0x6d0749d5
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d0b3eb2
add ebp, 0xac
leave
ret
Function at 0x6d07829d
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push edi
push 0x10002
push dword [0x6d0fe4b4]
call sub.java.dll__JNU_GetEnv_8
mov edi, eax
mov eax, dword [edi]
push 1
push edi
mov dword [ebp - 8], edi
call dword [eax + 0x68]
test eax, eax
jns 0x6d0782cc
xor eax, eax
jmp 0x6d078370
xor eax, eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov ebx, 0x84
cmp dword [ebp + 8], eax
je 0x6d078329
cmp dword [0x6d0fda90], eax
je 0x6d07836c
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [0x6d0fda90]
call fcn.6d077ee6
pop ecx
mov dword [ebp - 4], eax
test eax, eax
je 0x6d078329
movzx eax, word [ebp - 0xc]
movzx ecx, word [ebp - 0x10]
shl eax, 0x10
or eax, ecx
push eax
push 0
push ebx
push dword [0x6d0fda90]
call esi
cmp eax, 1
je 0x6d0783a6
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WindowFromPoint]
jmp 0x6d078366
push edi
call fcn.6d077ee6
pop ecx
mov dword [ebp - 4], eax
test eax, eax
jne 0x6d078373
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x6d07836c
push edi
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
jne 0x6d078341
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
movzx eax, word [ebp - 0xc]
movzx ecx, word [ebp - 0x10]
shl eax, 0x10
or eax, ecx
push eax
push 0
push ebx
push edi
call esi
cmp eax, 1
je 0x6d07839d
movzx eax, ax
or eax, 0x2000000
push eax
push edi
push 0x20
push edi
call esi
jmp 0x6d07836c
mov dword [0x6d0fda90], edi
mov edi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
push edi
call fcn.6d0710b3
mov esi, eax
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0x54]
push esi
mov ebx, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x5c]
mov eax, ebx
jmp 0x6d07836e
Function at 0x6d07d251
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
xor ebx, ebx
push ebx
push dword [ebp + 0x10]
push esi
call dword [eax + 0x294]
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x6d07d295
mov eax, dword [esi]
push ebx
push dword [ebp + 0x14]
push esi
call dword [eax + 0x294]
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x6d07d29d
push dword [ebp + 8]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x298]
xor eax, eax
pop esi
pop ebx
leave
ret 0x10
push edi
mov edi, dword [sym.imp.MSVCR100.dll__control87]
push ebx
push ebx
call edi
pop ecx
pop ecx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xffffffffffffffff
push dword [ebp - 8]
mov dword [ebp - 0x10], eax
call edi
mov eax, dword [esi]
pop ecx
pop ecx
push dword [ebp + 8]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x298]
push dword [ebp - 4]
mov eax, dword [esi]
push dword [ebp + 0x14]
push esi
call dword [eax + 0x298]
cmp dword [ebp - 0xc], 0x20
pop edi
jg 0x6d07d295
push ebx
push ebx
lea eax, [ebp + 0x10]
push eax
push 0x400
push dword [ebp - 0x10]
mov dword [ebp + 0x10], ebx
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
cmp dword [ebp + 0x10], ebx
je 0x6d07d295
push dword [ebp + 0x10]
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
mov ecx, dword [esi]
push eax
push dword [ebp + 0x10]
push esi
call dword [ecx + 0x28c]
push dword [ebp + 0x10]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
jmp 0x6d07d297
Function at 0x6d07d450
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push 0x20019
xor ebx, ebx
push ebx
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x6d07d47f
xor eax, eax
jmp 0x6d07d55c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x10]
push eax
push ebx
push edi
push ebx
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x6d07d4a7
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x6d07d559
push dword [ebp - 0x10]
call fcn.6d0af480
pop ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push edi
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x6d07d4d2
push dword [ebp - 8]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
jmp 0x6d07d499
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, dword [edi]
cmp edi, 2
jne 0x6d07d540
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push ebx
push ebx
push dword [ebp - 8]
call esi
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
ja 0x6d07d526
cmp edi, ebx
je 0x6d07d505
xor edx, edx
div edi
cmp eax, 2
jb 0x6d07d526
lea eax, [edi + edi]
push eax
call fcn.6d0af480
pop ecx
push edi
mov ebx, eax
push ebx
push dword [ebp - 8]
call esi
push dword [ebp - 8]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov eax, ebx
jmp 0x6d07d55b
xor eax, eax
lea edi, [ebp - 1]
stosb byte es:[edi], al
mov al, byte [ebp - 1]
mov byte [ebp - 1], al
push 0x6d0d93c8
lea eax, [ebp - 1]
push eax
call sub.MSVCR100.dll__CxxThrowException
cmp edi, 1
je 0x6d07d54a
cmp edi, 4
jne 0x6d07d54f
mov eax, dword [ebp - 8]
jmp 0x6d07d55b
push dword [ebp - 8]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
leave
ret

Function at 0x6d07d5a1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [0x6d0faa7c]
mov dword [ebp - 8], 0x63
push SysReAllocString
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x6d07d5da
xor eax, eax
inc eax
leave
ret
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.FontSmoothingOrientation
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x6d07d5d5
mov eax, dword [ebp - 8]
leave
ret