joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5da7d0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x112c
call fcn.0057c720
mov eax, dword [0x65f810]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], 0
lea eax, [ebp - 0x1010]
push eax
push 0x1000
lea ecx, [ebp - 0x1008]
push ecx
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
jne 0x5da82a
mov dword [ebp - 0x1128], 0
lea ecx, [ebp + 8]
call fcn.00436170
mov eax, dword [ebp - 0x1128]
jmp 0x5da975
mov edx, dword [ebp - 0x1010]
shr edx, 2
mov dword [ebp - 0x1014], edx
mov dword [ebp - 0x1018], 0
jmp 0x5da854
mov eax, dword [ebp - 0x1018]
add eax, 1
mov dword [ebp - 0x1018], eax
mov ecx, dword [ebp - 0x1018]
cmp ecx, dword [ebp - 0x1014]
jae 0x5da95b
mov edx, dword [ebp - 0x1018]
cmp dword [ebp + edx*4 - 0x1008], 0
jne 0x5da878
jmp 0x5da845
mov eax, dword [ebp - 0x1018]
mov ecx, dword [ebp + eax*4 - 0x1008]
push ecx
push 0
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [ebp - 0x101c], eax
cmp dword [ebp - 0x101c], 0
jne 0x5da8a4
jmp 0x5da845
lea edx, [ebp - 0x1124]
push edx
push 4
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x101c]
push ecx
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x5da8d6
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5da845
push 0x100
lea eax, [ebp - 0x1120]
push eax
mov ecx, dword [ebp - 0x1020]
push ecx
mov edx, dword [ebp - 0x101c]
push edx
call sub.PSAPI.DLL_GetModuleBaseNameA
test eax, eax
jne 0x5da90b
mov eax, dword [ebp - 0x101c]
push eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5da845
lea ecx, [ebp + 8]
call fcn.00435d90
push eax
lea ecx, [ebp - 0x1120]
push ecx
call fcn.00586380
add esp, 8
test eax, eax
jne 0x5da949
mov edx, dword [ebp - 0x1018]
mov eax, dword [ebp + edx*4 - 0x1008]
mov dword [ebp - 0x100c], eax
mov ecx, dword [ebp - 0x101c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5da95b
mov edx, dword [ebp - 0x101c]
push edx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x5da845
mov eax, dword [ebp - 0x100c]
mov dword [ebp - 0x112c], eax
lea ecx, [ebp + 8]
call fcn.00436170
mov eax, dword [ebp - 0x112c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005792fc
mov esp, ebp
pop ebp
ret

Function at 0x5dab00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.625922BE_A44B_40a8_B944_805C674807A5
call fcn.00435be0
mov dword [ebp - 0x18], eax
call fcn.005daa80
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp + 8]
cmp ecx, 1
jne 0x5dab58
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x10], 0
je 0x5dab56
push 1
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
jmp 0x5dab71
mov dword [ebp - 0xc], 8
cmp dword [ebp - 0x10], 0
je 0x5dab71
push 0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea edx, [ebp - 0xc]
push edx
call fcn.005da1c0
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x5dac10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5edfa2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x682cd0
call fcn.00434750
cmp eax, 0xc
jae 0x5dad2f
push str.xunyou_wowbox_
lea ecx, [ebp - 0x28]
call fcn.00436a10
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.005d9680
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
mov dword [ebp - 0x8c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x8c]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00433290
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
push 0x618884
mov ecx, dword [ebp - 0x94]
push ecx
lea edx, [ebp - 0x7c]
push edx
call fcn.00433320
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x9c]
push ecx
mov ecx, 0x682cd0
call fcn.0042f7d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x7c]
call fcn.00436170
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x60]
call fcn.00436170
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00436170
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00436170
mov ecx, 0x682cd0
call fcn.00435d90
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x426a54
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x426a63
pop dword [ebp - 0x50]
mov eax, 0xb6541c38
sub eax, 0xb611b1d5
sub dword [ebp - 0x50], eax
push 0x40
push 0x1000
push 0x4ca13
push 0
mov eax, 0x19723311
sub eax, 0x192d7055
add eax, dword [ebp - 0x50]
call dword [eax]
mov ecx, 0xad75ec20
sub ecx, 0xad75b12c
mov ebx, eax
mov edi, 0xdbeed2a8
add edi, 0x245c4d58
add edi, dword [ebp - 0x50]
mov edx, 0x232aabe0
sub edx, 0x7d2601f3
add dword [ebp - 4], ecx
mov esi, dword [edi]
mov dword [ebp - 0x2c], 0x18cb10c9
add esi, edx
mov dword [ebx], esi
xor dword [ebp - 4], 0x4b5a7cca
add ebx, 0xf9877a7
add ebx, 0xf067885d
add edi, 0x822bbd9
add edi, 0xf7dd442b
loop 0x426ac2
add eax, 0xdea3
xor ebx, ebx
add ebx, eax
add eax, 0x9b9a771f
add eax, 0x646588e6
mov ecx, 0x43d2cd39
add ecx, 0xbc6d32c7
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x426c6d
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x46c004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
push esi
push edi
push 7
pop ecx
lea edi, [ebp - 0x20]
xor esi, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push 1
push edx
call dword [sym.imp.advapi32.dll_ControlService]
test eax, eax
jne 0x426cda
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x426cb6
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x426cbd
mov esi, 0x80004005
push esi
push 0x1fc
push str.c:_agent_work21_s_src_burnenginemsuengine.cpp
call fcn.004038fa
push str.Failed_to_stop_wusa_service.
push esi
call main
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.0042e0fe
mov esp, ebp
pop ebp
ret 4

Function at 0x4405d6
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46d5d8
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x440619
push str.SystemFunction040
push dword [0x46d5d8]
call edi
push str.SystemFunction041
push dword [0x46d5d8]
mov dword [0x46d5e0], eax
call edi
mov dword [0x46d5e4], eax
jmp 0x44061e
mov eax, dword [0x46d5e4]
cmp dword [0x46d5e0], 0
je 0x44062f
test eax, eax
jne 0x4406d6
push 0x46d5dc
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4406e0
push str.CryptProtectMemory
push dword [0x46d5dc]
call edi
cmp dword [0x46d5e0], 0
mov dword [0x46d5e8], eax
jne 0x440694
test eax, eax
jne 0x440694
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x44067e
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440685
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work21_s_srclibsdutilcryputil.cpp
call fcn.004038fa
jmp 0x4406e0
push str.CryptUnprotectMemory
push dword [0x46d5dc]
call edi
cmp dword [0x46d5e4], 0
mov dword [0x46d5ec], eax
jne 0x4406d6
test eax, eax
jne 0x4406d6
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4406ca
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4406d1
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x440688
mov dword [0x46d5f0], 1
pop edi
mov eax, esi
pop esi
ret
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.100b51fc
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.100b51fc
add esp, 0xc
mov word [0x100fddb8], bx
jmp 0x10018722
push str.OS_WINSERV_2008_n
push 0
push 3
call fcn.100b51fc
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.100b51fc
add esp, 0xc
mov eax, 0x20
jmp 0x1001871c
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call fcn.100b51fc
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.100b51fc
mov edx, 8
add esp, 0xc
mov word [0x100fddb8], dx
jmp 0x10018722
push str.OS_WINSERV_2003_n
push 0
push 3
call fcn.100b51fc
add esp, 0xc
mov eax, 0x10
jmp 0x1001871c
cmp eax, ebx
jne 0x100186d0
push str.OS_WINXP
push 0
push 3
call fcn.100b51fc
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.100b51fc
add esp, 0xc
jmp 0x10018722
push str.Pro_n
push 0
push 3
call fcn.100b51fc
add esp, 0xc
jmp 0x10018722
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call fcn.100b51fc
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.100b51fc
add esp, 0x14
jmp 0x10018717
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call fcn.100b51fc
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.100b51fc
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.100b51fc
mov ebx, 4
jmp 0x10018964
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call fcn.100b51fc
add esp, 0x10
jmp 0x10018967
push str.hal_rasterizer_selected
push 0
push 2
call fcn.100b51fc
jmp 0x10018964
push str.ref_rasterizer_selected
push 0
push 2
call fcn.100b51fc
mov ebx, 2
add esp, 0xc
push 0x100c9da4
push 0
push 2
call fcn.100b51fc
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.100b51fc
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.100b51fc
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.100b51fc
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.100b51fc
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.100b51fc
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.100b51fc
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.100b51fc
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.100b51fc
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.100b51fc
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.100b51fc
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.100b51fc
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.100b51fc
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.100b51fc
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.100b51fc
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.100b51fc
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.100b51fc
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.100b51fc
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.100b51fc
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.100b51fc
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.100b51fc
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.100b51fc
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.100b51fc
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.100b51fc
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.100b51fc
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.100b51fc
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.100b51fc
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.100b51fc
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.100b51fc
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.100b51fc
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.100b51fc
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.100b51fc
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.100b51fc
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.100b51fc
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.100b51fc
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.100b51fc
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.100b51fc
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.100b51fc
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.100b51fc
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.100b51fc
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.100b51fc
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.100b51fc
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.100b51fc
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.100b51fc
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.100b51fc
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.100b51fc
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.100b51fc
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