joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebp
lea eax, [esp + 8]
push esi
xor ebp, ebp
push eax
push 1
push ebp
push str.SOFTWAREHewlett_Packardmstrmon
push 0x80000002
mov dword [esp + 0x1c], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001265
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0xc]
push edi
mov edi, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push ebp
push edx
push ebp
push edi
push eax
call ebx
test eax, eax
jne 0x10001248
cmp dword [esp + 0x18], 1
jne 0x10001248
mov ecx, dword [esp + 0x10]
push ecx
call fcn.10001e40
mov esi, eax
add esp, 4
test esi, esi
je 0x1000124c
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push ebp
push edi
push ecx
call ebx
test eax, eax
jne 0x10001238
mov ebp, 1
jmp 0x1000124c
mov edx, dword [esp + 0x10]
push edx
push esi
call fcn.10001000
add esp, 8
jmp 0x1000124c
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
test ebp, ebp
je 0x10001265
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.10001e80
add esp, 4
pop esi
pop ebp
add esp, 0xc
ret

Function at 0x10001290
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push ebx
lea eax, [esp + 4]
push esi
xor ebx, ebx
push eax
push 1
push ebx
push 0x10007178
push 0x80000002
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0x800
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001359
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edi
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001345
cmp edi, ebx
je 0x10001306
push 0x10007170
push edi
call fcn.10002307
add esp, 8
mov esi, eax
push 0x1000716c
push esi
call fcn.10002260
push 0x1000716c
push ebx
call fcn.10002260
mov esi, dword [esp + 0x38]
push 0x1000716c
push ebx
mov dword [esi], eax
call fcn.10002260
mov edx, dword [esp + 0x3c]
add esp, 0x18
mov dword [edx], eax
mov ecx, dword [esi]
cmp ecx, ebx
je 0x10001345
cmp eax, ebx
je 0x10001345
mov ebx, 1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0xc
ret
mov eax, ebx
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x10001370
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x850
push ebx
push ebp
push esi
push edi
mov ecx, 0xf
mov esi, str.Dot4_LPT_USB_Network_Default_
lea edi, [esp + 0x24]
lea eax, [esp + 0x24]
xor ebx, ebx
xor ebp, ebp
push 0x1000716c
push eax
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x28], 0x800
mov dword [esp + 0x24], ebx
jmp loc.100277d4
Function at 0x406b00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c148]
jne 0x406b0a
repz ret
jmp fcn.0040704e

Function at 0x406fbe
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x40ada0
call fcn.00406fd0
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.kernel32.dll_GetStartupInfoW]
cmp dword [0x40c630], ebx
jne 0x406d61
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x40c62c
push ebx
push esi
push edi
call dword [sym.imp.kernel32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x406d9b
cmp eax, esi
jne 0x406d8e
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x406d9e
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x406d75
xor esi, esi
inc esi
mov eax, dword [0x40c628]
cmp eax, esi
jne 0x406db1
push 0x1f
call sub.MSVCR100.dll__amsg_exit
pop ecx
jmp 0x406dec
mov eax, dword [0x40c628]
test eax, eax
jne 0x406de6
mov dword [0x40c628], esi
push 0x408260
push 0x408254
call sub.MSVCR100.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x406dec
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x406efe
mov dword [0x40c2a8], esi
mov eax, dword [0x40c628]
cmp eax, esi
jne 0x406e10
push 0x408250
push 0x408238
call sub.MSVCR100.dll__initterm
pop ecx
pop ecx
mov dword [0x40c628], 2
cmp dword [ebp - 0x20], ebx
jne 0x406e1d
push ebx
push edi
call dword [sym.imp.kernel32.dll_InterlockedExchange]
cmp dword [0x40c634], ebx
je 0x406e3e
push 0x40c634
call fcn.004066f7
pop ecx
test eax, eax
je 0x406e3e
push ebx
push 2
push ebx
call dword [0x40c634]
mov eax, dword [sym.imp.MSVCR100.dll__wcmdln]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp ecx, 0x20
ja 0x406e9f
cmp cx, bx
je 0x406e5a
cmp dword [ebp - 0x1c], ebx
jne 0x406e9f
movzx ecx, word [eax]
cmp cx, bx
je 0x406e6f
cmp ecx, 0x20
ja 0x406e6f
add eax, 2
mov dword [ebp - 0x24], eax
jmp 0x406e5a
test byte [ebp - 0x40], 1
je 0x406e7b
movzx ecx, word [ebp - 0x3c]
jmp 0x406e7e
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x400000
call main
mov dword [0x40c2a4], eax
cmp dword [0x40c298], ebx
jne 0x406ee4
push eax
call dword [sym.imp.MSVCR100.dll_exit]
cmp ecx, 0x22
jne 0x406eaf
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
add eax, 2
jmp 0x406e45
cmp dword [0x40c2a8], ebx
jne 0x406ef2
call dword [sym.imp.MSVCR100.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x40c2a4]
call fcn.00407015
ret
call fcn.004066f7
jmp 0x406d33
Function at 0x10018500
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x100fd640]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp word [0x100fddb8], 0
push ebx
jne 0x10018722
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 fcn.100b493e
add esp, 0xc
test esi, esi
pop esi
je 0x10018706
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
cmp eax, 2
jne 0x100186f1
cmp ecx, 4
jbe 0x100186f1
mov eax, dword [esp + 0xc]
mov ebx, 1
cmp ecx, 6
jb 0x10018628
test eax, eax
jne 0x100185de
cmp byte [esp + 0x11e], bl
jne 0x100185bc
push str.OS_VISTA_n
push eax
push 3
call fcn.100b493e
add esp, 0xc
mov word [0x100fddb8], bx
jmp 0x10018722
push str.OS_WINSERV_2008_n
push 0
push 3
call fcn.100b493e
mov edx, 2
add esp, 0xc
mov word [0x100fddb8], dx
jmp 0x10018722
cmp eax, ebx
jb 0x10018628
cmp byte [esp + 0x11e], bl
jne 0x10018606
push str.OS_WINDOWS7_or_newer_n
push 0
push 3
call fcn.100b493e
add esp, 0xc
mov eax, 0x20
jmp 0x1001871c
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call fcn.100b493e
mov ecx, 0x40
add esp, 0xc
mov word [0x100fddb8], cx
jmp 0x10018722
cmp ecx, 5
jne 0x100186d0
cmp eax, 2
jne 0x1001867c
cmp byte [esp + 0x11e], bl
jne 0x10018661
push str.OS_WINXP_64_n
push 0
push 3
call fcn.100b493e
mov edx, 8
add esp, 0xc
mov word [0x100fddb8], dx
jmp 0x10018722
push str.OS_WINSERV_2003_n
push 0
push 3
call fcn.100b493e
add esp, 0xc
mov eax, 0x10
jmp 0x1001871c
cmp eax, ebx
jne 0x100186d0
push str.OS_WINXP
push 0
push 3
call fcn.100b493e
add esp, 0xc
test dword [esp + 0x11c], 0x200
mov ecx, 4
mov word [0x100fddb8], cx
je 0x100186bd
push str.Home_n
push 0
push 3
call fcn.100b493e
add esp, 0xc
jmp 0x10018722
push str.Pro_n
push 0
push 3
call fcn.100b493e
add esp, 0xc
jmp 0x10018722
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call fcn.100b493e
mov edx, 0xff80
add esp, 0x14
mov word [0x100fddb8], dx
jmp 0x10018722
push ecx
push eax
push str.OS_UNKNOWN:_dwPlatformId_d_dwMajorVersion_d_n
push 0
push 3
call fcn.100b493e
add esp, 0x14
jmp 0x10018717
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call fcn.100b493e
add esp, 0xc
mov eax, 0xff80
mov word [0x100fddb8], ax
movzx ecx, word [esp + 0x128]
movzx eax, word [0x100fddb8]
and eax, ecx
mov ecx, dword [esp + 0x120]
pop ebx
xor ecx, esp
call fcn.100b4c22
add esp, 0x120
ret
Function at 0x10018890
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 0x10018979
push edi
push str._W__D3DPPLM::SelectDeviceType:
push 0
push 2
call fcn.100b493e
mov edi, dword [sym.imp.MSVCR100.dll_strncmp]
push 3
push 0x100ca9ec
push esi
call edi
add esp, 0x18
test eax, eax
je 0x10018951
push 3
push 0x100ba4a4
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10018951
push 3
push 0x100ca9e8
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10018941
push 3
push 0x100ca9e4
push esi
call edi
add esp, 0xc
test eax, eax
je 0x10018941
push 3
push 0x100ca9e0
push esi
call edi
add esp, 0xc
test eax, eax
jne 0x1001892d
push str.nullref_rasterizer_selected
push eax
push 2
call fcn.100b493e
mov ebx, 4
jmp 0x10018964
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call fcn.100b493e
add esp, 0x10
jmp 0x10018967
push str.hal_rasterizer_selected
push 0
push 2
call fcn.100b493e
jmp 0x10018964
push str.ref_rasterizer_selected
push 0
push 2
call fcn.100b493e
mov ebx, 2
add esp, 0xc
push 0x100c9da4
push 0
push 2
call fcn.100b493e
add esp, 0xc
pop edi
pop esi
mov eax, ebx
pop ebx
ret

Function at 0x10019290
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [sym.imp.kernel32.dll_GetVersion]
call esi
cmp al, 5
ja 0x100192ac
call esi
cmp al, 5
jne 0x100192ba
call esi
shr eax, 8
cmp al, 1
jb 0x100192ba
push 0x52
call fcn.10018500
add esp, 4
test eax, eax
je 0x100192e5
push str.D3DPPLM::CheckOSVersion:_Windows_2000_or_earlier__or_a_server__OS_detected__failed
push 1
push 1
call fcn.100b493e
add esp, 0xc
cmp dword [0x100fddb4], 0
je 0x100192e9
push str.__OS_check_overridden_via_J2D_D3D_NO_HWCHECK
push 1
push 2
call fcn.100b493e
add esp, 0xc
xor eax, eax
pop esi
ret
mov eax, 0x80004005
pop esi
ret
Function at 0x1004b3b7
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
xor ebx, ebx
push str.OGLFuncs_InitPlatformFuncs
inc ebx
push ebx
push 3
call fcn.100b493e
mov eax, dword [0x100fdf58]
add esp, 0xc
test eax, eax
jne 0x1004b3e7
push str.OGLFuncs_InitPlatformFuncs:_library_not_yet_initialized
push ebx
push ebx
call fcn.100b493e
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 [0x10100fe4], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglDeleteContext
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f84], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglMakeCurrent
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010b8], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglGetCurrentContext
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010e0], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglGetCurrentDC
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010dc], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglGetProcAddress
push edi
push dword [0x100fdf58]
call esi
mov dword [0x101010f4], eax
test eax, eax
je 0x1004b48f
mov edi, str.wglShareLists
push edi
push dword [0x100fdf58]
call esi
mov dword [0x10100f68], eax
test eax, eax
jne 0x1004b49e
push edi
push ebx
push ebx
call fcn.100b493e
add esp, 0xc
xor al, al
jmp 0x1004b4a0
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x1007e695
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1fc
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call dword [sym.imp.kernel32.dll_GetVersion]
cmp al, 6
sbb eax, eax
push 0
and eax, 0xfffffffc
lea ecx, [ebp - 0x184]
add eax, 0x1f8
push ecx
push eax
push 0x29
mov dword [ebp - 0x184], eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea eax, [ebp - 0x16c]
push eax
push str.win.frame.captionFont
mov ecx, esi
call fcn.100b493e
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.100b493e
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.100b493e
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.100b493e
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.100b493e
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.100b493e
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.100b493e
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.100b493e
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.100b493e
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.100b493e
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.100b493e
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.100b493e
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.100b493e
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.100b493e
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.100b493e
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.100b493e
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.100b493e
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.100b4c22
add ebp, 0x78
leave
ret
Function at 0x1007e88e
Capabilities:
Check os version

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetSysColor]
push edi
push 0x1b
mov edi, ecx
call esi
push eax
push str.win.frame.activeCaptionGradientColor
mov ecx, edi
call fcn.100b493e
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.100b493e
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.100b493e
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.100b493e
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.100b493e
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.100b493e
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.100b493e
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.100b493e
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.100b493e
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.100b493e
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.100b493e
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.100b493e
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.100b493e
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.100b493e
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.100b493e
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.100b493e
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.100b493e
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.100b493e
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.100b493e
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.100b493e
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.100b493e
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.100b493e
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.100b493e
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.100b493e
mov ebx, dword [sym.imp.kernel32.dll_GetVersion]
call ebx
cmp al, 5
jb 0x1007ea46
call ebx
shr eax, 8
cmp al, 1
jae 0x1007ea50
call ebx
cmp al, 5
ja 0x1007ea50
push 4
jmp 0x1007ea52
push 0x1e
pop eax
push eax
call esi
push eax
push str.win.menubar.backgroundColor
mov ecx, edi
call fcn.100b493e
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.100b493e
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.100b493e
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.100b493e
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.100b493e
pop edi
pop esi
pop ebx
ret
Function at 0x10081b1a
Capabilities:
Log keystrokes via polling

Disassembly:
push 0x2c
mov eax, 0x100b6f49
call fcn.100b4ddd
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
call fcn.100b022b
call fcn.100b493e
push 0x10002
push dword [0x101004d4]
call sub.java.dll__JNU_GetEnv_8
push dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
call fcn.10083a9c
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
pop ecx
push 1
mov dword [esi - 0x44], eax
call edi
mov ebx, 0xff00
test bx, ax
jne 0x100816fe
push 4
call edi
test bx, ax
jne 0x100816fe
push 2
call edi
push 0x10
call edi
push 0x11
call edi
push 0x12
call edi
call fcn.10074533
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_WindowFromPoint]
xor ecx, ecx
xor edi, edi
cmp dword [ebp + 0xc], edi
mov dword [esi - 0x4c], eax
sete cl
mov dword [ebp - 0x38], ecx
cmp ecx, edi
je 0x10081760
cmp dword [esi - 0x48], edi
jne 0x10081754
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [esi - 0x58]
push dword [ebp - 0x30]
call fcn.100807c9
add esp, 0x10
mov dword [esi - 0x4c], edi
mov dword [esi - 0x48], 1
jmp 0x1008178b
cmp eax, edi
je 0x1008178b
mov eax, 0x1008062e
cmp dword [esi - 0x48], edi
jne 0x10081773
mov eax, 0x100806b7
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ebx
push dword [esi - 0x44]
push dword [esi - 0x58]
push dword [ebp - 0x30]
call eax
add esp, 0x18
mov dword [esi - 0x48], edi
mov eax, dword [esi - 0x4c]
cmp eax, edi
je 0x100817e9
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
lea eax, [ebp - 0x24]
push eax
push dword [esi - 0x4c]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x30]
lea eax, [ebp - 0x24]
push dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x100817db
mov eax, dword [ebp - 0x34]
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x30]
mov dword [esi - 0x10], edi
mov dword [esi - 0x14], eax
jmp 0x100817f6
mov eax, dword [ebp - 0x2c]
mov dword [esi - 0x18], eax
mov eax, dword [ebp - 0x28]
mov dword [esi - 0x14], eax
jmp 0x100817ef
mov dword [esi - 0x18], edi
mov dword [esi - 0x14], edi
mov dword [esi - 0x10], 1
mov eax, dword [ebp - 0x38]
lea ecx, [esi - 0x60]
mov dword [esi - 0xc], eax
call fcn.100803a7
jmp 0x10081820
call fcn.100b4e39
ret 8
mov ecx, dword [esp + 4]
sub ecx, dword [ecx - 4]
mov dword [esp + 4], ecx
jmp 0x100816a1
Function at 0x10087a52
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
add eax, dword [ebp + 8]
push 0
push 0
push eax
push dword [esi + 0x18]
call dword [sym.imp.kernel32.dll_SetFilePointer]
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [esi + 0x18]
call dword [sym.imp.kernel32.dll_ReadFile]
pop esi
pop ebp
ret 0xc

Function at 0x10087c7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x100fd640]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov dword [ebp - 0x74], eax
cmp dword [0x100fcd68], ebx
je 0x10087dfd
call fcn.100b493e
cmp eax, ebx
jne 0x10087cc6
mov dword [0x100fcd68], ebx
jmp 0x10087dfd
lea ecx, [ebp - 0x7c]
push ecx
push 0xf003f
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10087cbb
push edi
push dword [esi + 4]
mov edi, dword [sym.imp.MSVCR100.dll_wcscpy]
lea eax, [ebp - 0x70]
push eax
call edi
lea eax, [ebp - 0x70]
push 0x2c
push eax
call dword [sym.imp.MSVCR100.dll_wcschr]
add esp, 0x10
cmp eax, ebx
je 0x10087d08
xor ecx, ecx
mov word [eax], cx
mov esi, 0x104
push esi
lea eax, [ebp + 0x30]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
push ebx
push ebx
push 0x50
lea eax, [ebp + 0x134]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
mov dword [ebp - 0x78], esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp + 0x134]
push eax
push dword [ebp - 0x7c]
xor esi, esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10087db5
cmp dword [0x100fcd6c], ebx
je 0x10087dfc
mov esi, 0x100fffe8
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
test eax, eax
je 0x10087d7f
push esi
push dword [ebp - 0x74]
call edi
jmp 0x10087dfa
push 5
pop ecx
mov esi, 0x100d4964
lea edi, [ebp + 0x184]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x30]
push eax
lea eax, [ebp - 0x80]
push eax
push ebx
lea eax, [ebp + 0x184]
movsw word es:[edi], word [esi]
push eax
push dword [ebp - 0x7c]
xor esi, esi
inc esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10087dc9
lea eax, [ebp + 0x30]
push str.userfont.fon
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x10087dd1
mov dword [0x100fcd6c], ebx
jmp 0x10087dfc
push dword [ebp + 0x1ac]
lea eax, [ebp + 0x30]
push dword [ebp - 0x74]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
cmp esi, ebx
je 0x10087dfc
push dword [ebp - 0x74]
push 0x100fffe8
call dword [sym.imp.MSVCR100.dll_wcscpy]
pop ecx
pop ecx
pop edi
mov ecx, dword [ebp + 0x19c]
pop esi
xor ecx, ebp
pop ebx
call fcn.100b4c22
add ebp, 0x1a0
leave
ret 8