joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407110
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x43edc8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4535c4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041402b
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40714f
push 0x80004005
call fcn.004017b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
test esi, esi
je 0x407178
push esi
push 0x448998
lea ecx, [esp + 0x14]
push ecx
jmp 0x407189
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x448998
lea edx, [esp + 0x14]
push edx
call fcn.00401880
add esp, 0xc
push str.HandleThreadErrorWithLastError___n
call fcn.00428db1
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x24]
add esp, 4
push ebx
push eax
lea ecx, [edi + 0x778]
push ecx
call fcn.00418286
mov edx, dword [edi + 0x8a0]
mov eax, dword [edx + 0x4c]
lea esi, [edi + 0x8a0]
mov ecx, esi
call eax
mov edx, dword [esi]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call edx
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4071fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [edi + 0x20]
push 0
push 1
push 0x8001
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
lea eax, [ebx - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407235
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x4079c0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4535c4]
xor eax, esp
mov dword [esp + 0x104], eax
push 0
push 0
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp]
lea edx, [eax + 1]
jmp 0x4079f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4079f0
sub eax, edx
push eax
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x78]
call fcn.00408910
lea edx, [esp]
push edx
push 0x3fa
mov ecx, esi
call fcn.0040e7f7
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00428549
add esp, 0x108
ret

Function at 0x408320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
movzx edx, word [esp + 4]
mov dword [esp + 4], edx
jmp fcn.00412cc7
Function at 0x4086a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4086b9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4086f4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4086f0
lea ebx, [ebx]
cmp esi, eax
jae 0x4086f4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4086e0
cmp esi, eax
jb 0x4086fa
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x40e6a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40e6e8
call fcn.0041039e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40e6e8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40e704
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040e21b
mov esi, eax
test edi, edi
je 0x40e702
test ebx, ebx
je 0x40e702
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ef19
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43d94d
call fcn.00429713
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40ef3e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40ef84
lea ecx, [ebp - 0x10]
call fcn.00401630
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040e70b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401a60
mov eax, esi
call fcn.004297eb
ret 8
Function at 0x411735
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41177d
call fcn.0041039e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41177d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4117c0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4117a9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4117a9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4117bd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x41759d
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x4175c8
call fcn.0041039e
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi + 8], eax
test eax, eax
jne 0x4175eb
push eax
push dword [esi + 4]
call fcn.00417506
push esi
push eax
mov ecx, 0x4566d8
call fcn.004171db
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x428549
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4535c4]
jne 0x428553
repz ret
jmp fcn.0042eb5c

Function at 0x439552
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042edda
and dword [ebp - 4], 0
cmp dword [0x4574b4], 0
mov ebx, eax
jne 0x439603
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4396b4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x446b5c
push edi
call esi
test eax, eax
je 0x4396b4
push eax
call fcn.0042ed68
mov dword [esp], 0x446b4c
push edi
mov dword [0x4574b4], eax
call esi
push eax
call fcn.0042ed68
mov dword [esp], 0x446b38
push edi
mov dword [0x4574b8], eax
call esi
push eax
call fcn.0042ed68
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4574bc], eax
call esi
push eax
call fcn.0042ed68
pop ecx
mov dword [0x4574c4], eax
test eax, eax
je 0x439603
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042ed68
pop ecx
mov dword [0x4574c0], eax
mov eax, dword [0x4574c0]
cmp eax, ebx
je 0x43965b
cmp dword [0x4574c4], ebx
je 0x43965b
push eax
call fcn.0042ede3
push dword [0x4574c4]
mov esi, eax
call fcn.0042ede3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43965b
test edi, edi
je 0x43965b
call esi
test eax, eax
je 0x439652
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x439652
test byte [ebp - 0xc], 1
jne 0x43965b
or dword [ebp + 0x10], 0x200000
jmp 0x439694
mov eax, dword [0x4574b8]
cmp eax, ebx
je 0x439694
push eax
call fcn.0042ede3
pop ecx
test eax, eax
je 0x439694
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x439694
mov eax, dword [0x4574bc]
cmp eax, ebx
je 0x439694
push eax
call fcn.0042ede3
pop ecx
test eax, eax
je 0x439694
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4574b4]
call fcn.0042ede3
pop ecx
test eax, eax
je 0x4396b4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4396b6
xor eax, eax
pop edi
pop esi
pop ebx
leave
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.1009e019
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.1009e019
add esp, 0xc
mov word [0x100fddb8], bx
jmp 0x10018722
push str.OS_WINSERV_2008_n
push 0
push 3
call fcn.1009e019
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.1009e019
add esp, 0xc
mov eax, 0x20
jmp 0x1001871c
push str.OS_WINSERV_2008R2_or_newer_n
push 0
push 3
call fcn.1009e019
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.1009e019
mov edx, 8
add esp, 0xc
mov word [0x100fddb8], dx
jmp 0x10018722
push str.OS_WINSERV_2003_n
push 0
push 3
call fcn.1009e019
add esp, 0xc
mov eax, 0x10
jmp 0x1001871c
cmp eax, ebx
jne 0x100186d0
push str.OS_WINXP
push 0
push 3
call fcn.1009e019
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.1009e019
add esp, 0xc
jmp 0x10018722
push str.Pro_n
push 0
push 3
call fcn.1009e019
add esp, 0xc
jmp 0x10018722
push eax
push ecx
push str.OS_UNKNOWN:_dwMajorVersion_d_dwMinorVersion_d_n
push 0
push 3
call fcn.1009e019
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.1009e019
add esp, 0x14
jmp 0x10018717
push str.OS_UNKNOWN:_GetVersionEx_failed_n
push 0
push 3
call fcn.1009e019
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.1009e019
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.1009e019
mov ebx, 4
jmp 0x10018964
push esi
push str.unknown_rasterizer:__s__only__refhalnul__supported__hal_selected_instead
push 0
push 2
call fcn.1009e019
add esp, 0x10
jmp 0x10018967
push str.hal_rasterizer_selected
push 0
push 2
call fcn.1009e019
jmp 0x10018964
push str.ref_rasterizer_selected
push 0
push 2
call fcn.1009e019
mov ebx, 2
add esp, 0xc
push 0x100c9da4
push 0
push 2
call fcn.1009e019
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.1009e019
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.1009e019
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.1009e019
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.1009e019
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.1009e019
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.1009e019
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.1009e019
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.1009e019
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.1009e019
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.1009e019
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.1009e019
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.1009e019
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.1009e019
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.1009e019
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.1009e019
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.1009e019
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.1009e019
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.1009e019
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.1009e019
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.1009e019
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.1009e019
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.1009e019
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.1009e019
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.1009e019
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.1009e019
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.1009e019
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.1009e019
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.1009e019
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.1009e019
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.1009e019
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.1009e019
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.1009e019
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.1009e019
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.1009e019
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.1009e019
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.1009e019
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.1009e019
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.1009e019
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.1009e019
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.1009e019
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.1009e019
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.1009e019
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.1009e019
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.1009e019
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.1009e019
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.1009e019
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.1009e019
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.1009e019
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.1009e019
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.1009e019
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.1009e019
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.1009e019
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