joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003e20e
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
test eax, eax
push edi
mov edi, dword [esp + 0x10]
jle 0x1003e239
mov edx, dword [esp + 8]
push ebx
push esi
mov esi, dword [esp + 0x14]
sub edx, edi
mov ecx, edi
sub esi, edi
mov bl, byte [esi + ecx]
xor bl, byte [edx + ecx]
mov byte [ecx], bl
inc ecx
dec eax
jne 0x1003e22b
pop esi
pop ebx
mov eax, edi
pop edi
ret

Function at 0x1003f1a0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push 0x40
lea eax, [esi + 4]
push 0
push eax
mov dword [esi], 0x1005daa4
call fcn.10048f50
and dword [esi + 0x48], 0
and dword [esi + 0x44], 0
add esp, 0xc
mov dword [esi + 0x4c], 0x67452301
mov dword [esi + 0x50], 0xefcdab89
mov dword [esi + 0x54], 0x98badcfe
mov dword [esi + 0x58], 0x10325476
mov eax, esi
pop esi
ret

Function at 0x10040239
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov al, byte [ebp - 1]
push esi
push edi
xor esi, esi
push esi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x2c], al
call fcn.10026566
mov edi, 0x1006b710
push edi
call fcn.100492e5
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.100275d3
mov al, byte [ebp - 1]
push esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call fcn.10026566
mov edi, str.urlAfterUninstall
push edi
call fcn.100492e5
pop ecx
push eax
push edi
lea ecx, [ebp - 0x1c]
call fcn.100275d3
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.10003c07
add esp, 0xc
push 1
lea ecx, [ebp - 0x1c]
call fcn.10026566
push 1
lea ecx, [ebp - 0x2c]
call fcn.10026566
lea eax, [ebp - 0x3c]
push eax
call fcn.1001e238
push 1
call fcn.100215c3
pop ecx
pop ecx
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareMicrosoftInternet_ExplorerToolbarWebBrowser_
push SysReAllocStringLen
xor edi, edi
mov dword [ebp - 8], esi
call dword [0x10073ce4]
cmp eax, esi
jne 0x100402f4
mov edi, dword [ebp - 8]
push str.ITBarLayout
push edi
call dword [0x10073cec]
cmp edi, esi
je 0x1004030d
push edi
call dword [0x10073cd8]
xor edi, edi
mov eax, dword [ebp - 0x38]
cmp eax, esi
jne 0x10040319
mov eax, 0x1005c508
push 5
push esi
push eax
push str.iexplore.exe
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push esi
push 1
push 0x100850e0
call fcn.1000cbcd
cmp edi, esi
mov dword [ebp - 8], eax
je 0x10040349
push edi
call dword [0x10073cd8]
push 1
lea ecx, [ebp - 0x3c]
call fcn.10026566
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret
Function at 0x100405c1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
push ebx
push esi
push edi
push 2
push 0
push dword [ebp + 8]
mov dword [ebp - 4], ecx
call fcn.100406e2
mov edi, eax
test edi, edi
mov dword [ebp + 8], edi
jne 0x1004060f
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x100405fa
call esi
mov esi, eax
jmp 0x100406d6
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100406d6
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x10040643
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jle 0x10040653
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100406cd
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x10040657
jmp 0x10040622
call esi
jmp 0x100406cb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
cmp byte [esi + ebx], 0
mov edi, ebx
je 0x1004068b
lea eax, [esi + 1]
add eax, 3
and eax, 0xfffffffc
call fcn.100499d0
mov edi, esp
lea eax, [esi + 1]
push eax
push ebx
push edi
call fcn.10048fb0
add esp, 0xc
and byte [edi + esi], 0
test edi, edi
jne 0x10040693
xor ebx, ebx
jmp 0x100406bf
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and eax, 0xfffffffc
call fcn.100499d0
mov ebx, esp
push esi
push ebx
push 0xffffffffffffffff
xor eax, eax
push edi
push eax
push eax
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
push ebx
call fcn.100407b4
mov esi, eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10043a0f
Capabilities:
Terminate thread

Disassembly:
mov eax, 0x1005a8de
call fcn.10048e6c
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 0x12b8]
test eax, eax
lea edi, [esi + 0x12b8]
mov dword [ebp - 4], 7
je 0x10043a41
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
and dword [edi], 0
mov eax, dword [0x10087804]
test eax, eax
je 0x10043a54
push eax
call dword [sym.imp.USER32.dll_DestroyCursor]
lea ecx, [esi + 0x13a0]
call fcn.10043824
push 1
lea ecx, [esi + 0x1380]
call fcn.10026566
lea ecx, [esi + 0x12bc]
mov byte [ebp - 4], 6
call fcn.100439c6
mov eax, dword [esi + 0x12ac]
test eax, eax
mov byte [ebp - 4], 5
je 0x10043a8f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x12a8]
test eax, eax
mov byte [ebp - 4], 4
je 0x10043aa3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x128c]
test eax, eax
mov byte [ebp - 4], 3
je 0x10043ab7
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x1288]
test eax, eax
mov byte [ebp - 4], 2
je 0x10043acb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esi + 0x98]
mov byte [ebp - 4], 1
call fcn.100213ce
and byte [ebp - 4], 0
push 1
lea ecx, [esi + 0x88]
call fcn.10026566
or dword [ebp - 4], 0xffffffff
mov eax, esi
add esi, 8
neg eax
sbb eax, eax
and eax, esi
add eax, 4
mov eax, dword [eax]
test eax, eax
pop edi
pop esi
je 0x10043b0b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x10050f78
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10073750
cmp edx, dword [eax]
je 0x10050f9a
add eax, 8
inc ecx
cmp eax, 0x100737e0
jl 0x10050f8b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10073750]
jne 0x100510c8
mov eax, dword [0x100851fc]
cmp eax, 1
je 0x100510a2
test eax, eax
jne 0x10050fcb
cmp dword [0x10085200], 1
je 0x100510a2
cmp edx, 0xfc
je 0x100510c8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10051002
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100497b0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10049700
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10051045
lea eax, [ebp - 0x1a4]
push eax
call fcn.10049700
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1005ed00
push edi
call fcn.10051bf0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100497b0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100497c0
lea eax, [ebp - 0xa0]
push 0x1005ece0
push eax
call fcn.100497c0
push dword [esi + 0x10073754]
lea eax, [ebp - 0xa0]
push eax
call fcn.100497c0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10053807
add esp, 0x2c
pop edi
jmp 0x100510c8
lea eax, [ebp + 8]
lea esi, [esi + 0x10073754]
push 0
push eax
push dword [esi]
call fcn.10049700
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x402458
cmp byte [esi + ebx - 1], 0xa
je 0x40242c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x404100], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret

Function at 0x4032c0
Capabilities:
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
nop
nop
nop
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.10050e80
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.10050e80
add esp, 0xc
mov word [0x100fddb8], bx
jmp 0x10018722
push str.OS_WINSERV_2008_n
push 0
push 3
call fcn.10050e80
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.10050e80
add esp, 0xc
mov eax, 0x20
jmp 0x1001871c
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call fcn.10050e80
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.10050e80
mov edx, 8
add esp, 0xc
mov word [0x100fddb8], dx
jmp 0x10018722
push str.OS_WINSERV_2003_n
push 0
push 3
call fcn.10050e80
add esp, 0xc
mov eax, 0x10
jmp 0x1001871c
cmp eax, ebx
jne 0x100186d0
push str.OS_WINXP
push 0
push 3
call fcn.10050e80
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.10050e80
add esp, 0xc
jmp 0x10018722
push str.Pro_n
push 0
push 3
call fcn.10050e80
add esp, 0xc
jmp 0x10018722
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call fcn.10050e80
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.10050e80
add esp, 0x14
jmp 0x10018717
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call fcn.10050e80
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.10050e80
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.10050e80
mov ebx, 4
jmp 0x10018964
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call fcn.10050e80
add esp, 0x10
jmp 0x10018967
push str.hal_rasterizer_selected
push 0
push 2
call fcn.10050e80
jmp 0x10018964
push str.ref_rasterizer_selected
push 0
push 2
call fcn.10050e80
mov ebx, 2
add esp, 0xc
push 0x100c9da4
push 0
push 2
call fcn.10050e80
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.10050e80
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.10050e80
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.10050e80
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.10050e80
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.10050e80
add esp, 0xc
xor al, al
jmp 0x1004b4a0
mov al, bl
pop edi
pop esi
pop ebx
ret
Function at 0x10050e80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x10050e8f
pop dword [ebp - 0x38]
mov eax, 0x709f3fbf
add eax, 0x9f65ced0
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x230ed16f
add dword [ebp - 0x48], 0x2b4373dc
mov dword [ebp - 0x44], 0x51cf82bd
add dword [ebp - 0x44], 0xe063c988
mov dword [ebp - 0x40], 0x213d8163
add dword [ebp - 0x40], 0x2b0ec2cb
mov dword [ebp - 0x3c], 0xc5f98b4d
sub dword [ebp - 0x3c], 0xc5f98b4d
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_LoadLibraryA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x5eefb6a0
sub dword [ebp - 0x48], 0xea7d4d4a
mov dword [ebp - 0x44], 0x1e23e0b1
add dword [ebp - 0x44], 0x234880c4
mov dword [ebp - 0x40], 0x67099e59
add dword [ebp - 0x40], 0xfc65ce13
mov dword [ebp - 0x3c], 0x96ba8d04
sub dword [ebp - 0x3c], 0x96ba8d04
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xc8dd0058
sub eax, 0xb8d1602c
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3f2ce
push 0
call eax
mov ecx, 0x4eab
mov edx, eax
mov edi, 0xc8564f46
add edi, 0x47be14ba
add edi, dword [ebp - 0x38]
mov esi, 0x816293d2
add esi, 0xdcb3aa36
add dword [ebp - 0x18], esi
mov ebx, dword [edi]
mov dword [ebp - 4], 0x773227b8
xor ebx, esi
xor dword [ebp - 0x28], 0x38095a1f
mov dword [edx], ebx
sub dword [ebp - 4], edx
add edx, 0x6aab2c5
add edx, 0xf9554d3f
add edi, 0xca350ce1
sub edi, 0xca350cdd
loop 0x10050fa6
add eax, 0x12d7f
mov ebx, eax
add eax, 0x64cfc496
sub eax, 0x64cfc491
mov ecx, 0x10000000
add ecx, dword [ebp - 0x38]
call ebx
leave
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.10050e80
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.10050e80
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.10050e80
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.10050e80
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.10050e80
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.10050e80
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.10050e80
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.10050e80
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.10050e80
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.10050e80
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.10050e80
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.10050e80
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.10050e80
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.10050e80
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.10050e80
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.10050e80
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.10050e80
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.10050e80
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.10050e80
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.10050e80
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.10050e80
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.10050e80
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.10050e80
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.10050e80
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.10050e80
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.10050e80
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.10050e80
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.10050e80
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.10050e80
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.10050e80
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.10050e80
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.10050e80
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.10050e80
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.10050e80
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.10050e80
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.10050e80
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.10050e80
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.10050e80
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.10050e80
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.10050e80
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.10050e80
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.10050e80
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.10050e80
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.10050e80
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.10050e80
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.10050e80
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.10050e80
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