joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d06c20f
Capabilities:
Hide graphical window

Disassembly:
and dword [ecx + 0x34], 0
push 0
push dword [ecx + 0x28]
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x6d06c5c4
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 0x6d06c5ef
push 2
pop eax
jmp 0x6d06c5f9
xor ecx, ecx
cmp edi, eax
sete cl
lea eax, [ecx + 2]
pop edi
pop esi
pop ebx
ret

Function at 0x6d06c5fd
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 0x6d06c617
mov edi, 0x80
push 0x10
call esi
shr eax, 8
test al, al
je 0x6d06c625
or edi, 0x40
push 0x12
call esi
shr eax, 8
test al, al
je 0x6d06c636
or edi, 0x200
push 4
call esi
shr eax, 8
test al, al
je 0x6d06c647
or edi, 0x800
push 2
call esi
shr eax, 8
test al, al
je 0x6d06c658
or edi, 0x1000
push 1
call esi
shr eax, 8
test al, al
je 0x6d06c669
or edi, 0x400
push 5
call esi
shr eax, 8
test al, al
je 0x6d06c67c
mov eax, dword [0x6d0f9888]
or edi, dword [eax + 0xc]
push 6
call esi
shr eax, 8
test al, al
je 0x6d06c68f
mov eax, dword [0x6d0f9888]
or edi, dword [eax + 0x10]
mov eax, edi
pop edi
pop esi
ret

Function at 0x6d06ca82
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x6d0f8610]
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.6d0b0acb
add ebp, 0x88
leave
ret
Function at 0x6d06caf8
Capabilities:
Log keystrokes

Disassembly:
push ebp
lea ebp, [esp - 0xac]
sub esp, 0x12c
mov eax, dword [0x6d0f8610]
xor eax, ebp
mov dword [ebp + 0xa8], eax
push ebx
push esi
push edi
push 0x10002
push dword [0x6d0fb1cc]
call sub.java.dll__JNU_GetEnv_8
mov esi, eax
mov eax, dword [0x6d0fa958]
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 [0x6d0fa960], ebx
jne 0x6d06cb77
mov eax, dword [esi]
push str.sun_awt_ExtendedKeyCodes
push esi
call dword [eax + 0x18]
mov edi, eax
cmp edi, ebx
je 0x6d06cc7b
mov eax, dword [esi]
push edi
push esi
call dword [eax + 0x54]
push edi
mov dword [0x6d0fa960], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
cmp dword [0x6d0fa95c], ebx
jne 0x6d06cb9d
mov eax, dword [esi]
push str._I_I
push str.getExtendedKeyCodeForChar
push dword [0x6d0fa960]
push esi
call dword [eax + 0x1c4]
mov dword [0x6d0fa95c], eax
xor edi, edi
mov esi, 0x6d0f989c
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 0x6d06cbc3
mov dword [esi - 8], ebx
jmp 0x6d06cc6b
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 0x6d06cc19
cmp dword [esi - 4], 0
mov ax, word [ebp + 0x88]
mov word [esi], ax
jne 0x6d06cc66
movzx eax, ax
push eax
push dword [0x6d0fa95c]
push dword [0x6d0fa960]
push dword [ebp - 0x7c]
call fcn.6d06bd97
add esp, 0x10
jmp 0x6d06cc53
cmp eax, 0xffffffff
jne 0x6d06cc58
mov ax, word [ebp + 0x88]
mov word [esi], ax
lea eax, [ebp - 0x78]
push eax
call fcn.6d06ca82
pop ecx
push 0x60
mov eax, 0x6d0bc2f0
pop ecx
cmp word [ebp + 0x88], cx
je 0x6d06cc50
add eax, 8
movzx ecx, word [eax]
test cx, cx
jne 0x6d06cc3a
jmp 0x6d06cc66
mov eax, dword [eax + 4]
mov dword [esi - 4], eax
jmp 0x6d06cc66
test eax, eax
jne 0x6d06cc66
lea eax, [ebp - 0x78]
push eax
call fcn.6d06ca82
pop ecx
mov byte [ebx], 0
xor ebx, ebx
inc edi
add esi, 0x10
cmp edi, 0x100
jb 0x6d06cba4
mov ecx, dword [ebp + 0xa8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6d0b0acb
add ebp, 0xac
leave
ret
Function at 0x6d07067e
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x6d0f8610]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 8
mov eax, 0x6d0b25d8
call fcn.6d0b0c76
test byte [0x6d0fa9cc], 1
mov edi, dword [ebp + 0x10c]
mov dword [ebp - 0x10], edi
jne 0x6d0706eb
or dword [0x6d0fa9cc], 1
fld dword [0x6d0ba530]
and dword [ebp - 4], 0
push ecx
fstp dword [esp]
push 0x1d
push 0
push str.VKEY_translations
mov ecx, 0x6d0fa994
call fcn.6d0627a2
push 0x6d0b5a0c
call fcn.6d08901e
or dword [ebp - 4], 0xffffffff
pop ecx
cmp dword [ebp + 0x114], 1
jne 0x6d070707
push edi
mov ecx, 0x6d0fa994
call fcn.6d062988
test eax, eax
jne 0x6d070844
cmp edi, 0xd
jne 0x6d070714
push 0xa
pop eax
jmp 0x6d070844
lea eax, [ebp]
push eax
call fcn.6d08d640
mov eax, dword [ebp + 0x110]
pop ecx
test eax, eax
je 0x6d0707c3
mov esi, eax
mov edx, eax
mov ecx, eax
mov ebx, 0x80
and esi, 0x40
and edx, 0x200
and ecx, ebx
test eax, 0x2000
je 0x6d07074e
xor ecx, ecx
inc ecx
mov edx, ecx
test esi, esi
je 0x6d070758
or byte [ebp + 0x10], bl
mov edi, dword [ebp - 0x10]
push edi
call fcn.6d06ca24
add esp, 4
test eax, eax
je 0x6d07076c
and byte [ebp + 0x12], 0x7f
mov edi, dword [ebp - 0x10]
test ecx, ecx
je 0x6d0707c3
test edx, edx
jne 0x6d070780
and byte [ebp + 0x11], 0x7f
lea eax, [edi - 0x41]
cmp eax, 0x19
ja 0x6d070785
or byte [ebp + 0x11], bl
jmp 0x6d0707c3
push 0x1b
pop edi
push edi
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
movzx ecx, al
cmp dword [ebp - 0x10], ecx
je 0x6d0707a3
inc edi
cmp di, 0x20
jb 0x6d070788
jmp 0x6d0707c0
shr eax, 8
movzx eax, al
test al, 2
jne 0x6d0707bd
not eax
xor ecx, ecx
and eax, 1
test esi, esi
sete cl
cmp eax, ecx
jne 0x6d0707c0
or byte [ebp + 0x11], bl
mov edi, dword [ebp - 0x10]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push dword [0x6d0fa958]
lea ecx, [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp]
push ecx
push eax
push edi
call dword [sym.imp.USER32.dll_ToAsciiEx]
test eax, eax
js 0x6d070801
jne 0x6d070808
cmp edi, 0x2e
jne 0x6d0707f4
push 0x7f
pop esi
jmp 0x6d07082d
lea eax, [edi - 0x60]
cmp eax, 9
ja 0x6d070801
lea esi, [edi - 0x30]
jmp 0x6d07082d
mov esi, 0xffff
jmp 0x6d07082d
jle 0x6d07082a
push 1
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 1
push dword [0x6d0fa944]
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
movzx esi, word [ebp - 0x10]
jmp 0x6d07082d
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x114], 2
jne 0x6d070842
push esi
push edi
mov ecx, 0x6d0fa994
call fcn.6d0628e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.6d0b0acb
add ebp, 0x104
leave
ret 0xc
Function at 0x6d074d01
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push edi
xor edi, edi
push edi
push dword [ebp + 0x10]
push esi
call dword [eax + 0x294]
push edi
push dword [ebp + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x294]
mov ebx, dword [sym.imp.MSVCR100.dll__control87]
push edi
push edi
mov dword [ebp - 4], eax
call ebx
pop ecx
pop ecx
push 1
push edi
push edi
push dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0xffffffffffffffff
push dword [ebp - 0xc]
mov dword [ebp - 8], eax
call ebx
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 - 8], 0x20
jg 0x6d074dc7
push edi
push edi
lea eax, [ebp + 0x10]
push eax
push 0x400
push dword [ebp - 8]
mov dword [ebp + 0x10], edi
push edi
push 0x1300
call dword [sym.imp.kernel32.dll_FormatMessageW]
cmp dword [ebp + 0x10], edi
je 0x6d074dc7
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 0x6d074dc9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x6d075aa6
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1fc
mov eax, dword [0x6d0f8610]
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.6d08901e
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionHeight
call fcn.6d0752d7
push dword [ebp - 0x174]
mov ecx, esi
push str.win.frame.captionButtonWidth
call fcn.6d0752d7
push dword [ebp - 0x170]
mov ecx, esi
push str.win.frame.captionButtonHeight
call fcn.6d0752d7
lea eax, [ebp - 0x108]
push eax
push str.win.frame.smallCaptionFont
mov ecx, esi
call fcn.6d08901e
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionHeight
call fcn.6d0752d7
push dword [ebp - 0x110]
mov ecx, esi
push str.win.frame.smallCaptionButtonWidth
call fcn.6d0752d7
push dword [ebp - 0x10c]
mov ecx, esi
push str.win.frame.smallCaptionButtonHeight
call fcn.6d0752d7
push dword [ebp - 0x180]
mov ecx, esi
push str.win.frame.sizingBorderWidth
call fcn.6d0752d7
lea eax, [ebp - 0xa4]
push eax
push str.win.menu.font
mov ecx, esi
call fcn.6d08901e
push dword [ebp - 0xa8]
mov ecx, esi
push str.win.menu.height
call fcn.6d0752d7
push dword [ebp - 0xac]
mov ecx, esi
push str.win.menu.buttonWidth
call fcn.6d0752d7
push dword [ebp - 0x17c]
mov ecx, esi
push str.win.scrollbar.width
call fcn.6d0752d7
push dword [ebp - 0x178]
mov ecx, esi
push str.win.scrollbar.height
call fcn.6d0752d7
lea eax, [ebp - 0x48]
push eax
push str.win.status.font
mov ecx, esi
call fcn.6d08901e
lea eax, [ebp - 0x48]
push eax
push str.win.tooltip.font
mov ecx, esi
call fcn.6d08901e
lea eax, [ebp + 0x14]
push eax
push str.win.messagebox.font
mov ecx, esi
call fcn.6d08901e
mov ecx, dword [ebp + 0x74]
xor ecx, ebp
pop esi
call fcn.6d0b0acb
add ebp, 0x78
leave
ret
Function at 0x6d075c9f
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.6d08901e
push 0x1c
call esi
push eax
push str.win.frame.inactiveCaptionGradientColor
mov ecx, edi
call fcn.6d08901e
push 0x1a
call esi
push eax
push str.win.item.hotTrackedColor
mov ecx, edi
call fcn.6d08901e
push 0x15
call esi
push eax
push str.win.3d.darkShadowColor
mov ecx, edi
call fcn.6d08901e
push 0xf
call esi
push eax
push str.win.3d.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 0x14
call esi
push eax
push str.win.3d.highlightColor
mov ecx, edi
call fcn.6d08901e
push 0x16
call esi
push eax
push str.win.3d.lightColor
mov ecx, edi
call fcn.6d08901e
push 0x10
call esi
push eax
push str.win.3d.shadowColor
mov ecx, edi
call fcn.6d08901e
push 0x12
call esi
push eax
push str.win.button.textColor
mov ecx, edi
call fcn.6d08901e
push 1
call esi
push eax
push str.win.desktop.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 2
call esi
push eax
push str.win.frame.activeCaptionColor
mov ecx, edi
call fcn.6d08901e
push 0xa
call esi
push eax
push str.win.frame.activeBorderColor
mov ecx, edi
call fcn.6d08901e
push 6
call esi
push eax
push str.win.frame.color
mov ecx, edi
call fcn.6d08901e
push 5
call esi
push eax
push str.win.frame.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 9
call esi
push eax
push str.win.frame.captionTextColor
mov ecx, edi
call fcn.6d08901e
push 0xb
call esi
push eax
push str.win.frame.inactiveBorderColor
mov ecx, edi
call fcn.6d08901e
push 3
call esi
push eax
push str.win.frame.inactiveCaptionColor
mov ecx, edi
call fcn.6d08901e
push 0x13
call esi
push eax
push str.win.frame.inactiveCaptionTextColor
mov ecx, edi
call fcn.6d08901e
push 8
call esi
push eax
push str.win.frame.textColor
mov ecx, edi
call fcn.6d08901e
push 0xd
call esi
push eax
push str.win.item.highlightColor
mov ecx, edi
call fcn.6d08901e
push 0xe
call esi
push eax
push str.win.item.highlightTextColor
mov ecx, edi
call fcn.6d08901e
push 0xc
call esi
push eax
push str.win.mdi.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 4
call esi
push eax
push str.win.menu.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 7
call esi
push eax
push str.win.menu.textColor
mov ecx, edi
call fcn.6d08901e
mov ebx, dword [sym.imp.kernel32.dll_GetVersion]
call ebx
cmp al, 5
jb 0x6d075e57
call ebx
shr eax, 8
cmp al, 1
jae 0x6d075e61
call ebx
cmp al, 5
ja 0x6d075e61
push 4
jmp 0x6d075e63
push 0x1e
pop eax
push eax
call esi
push eax
push str.win.menubar.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 0
call esi
push eax
push str.win.scrollbar.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 0x11
call esi
push eax
push str.win.text.grayedTextColor
mov ecx, edi
call fcn.6d08901e
push 0x18
call esi
push eax
push str.win.tooltip.backgroundColor
mov ecx, edi
call fcn.6d08901e
push 0x17
call esi
push eax
push str.win.tooltip.textColor
mov ecx, edi
call fcn.6d08901e
pop edi
pop esi
pop ebx
ret
Function at 0x6d079249
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 0x6d079454
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x6d0f8610]
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 [0x6d0f77e4], ebx
je 0x6d0795d5
call fcn.6d08901e
cmp eax, ebx
jne 0x6d07949e
mov dword [0x6d0f77e4], ebx
jmp 0x6d0795d5
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 0x6d079493
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 0x6d0794e0
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 0x6d07958d
cmp dword [0x6d0f77e8], ebx
je 0x6d0795d4
mov esi, 0x6d0fad48
push esi
call dword [sym.imp.MSVCR100.dll_wcslen]
pop ecx
test eax, eax
je 0x6d079557
push esi
push dword [ebp - 0x74]
call edi
jmp 0x6d0795d2
push 5
pop ecx
mov esi, 0x6d0beee0
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 0x6d0795a1
lea eax, [ebp + 0x30]
push str.userfont.fon
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d0795a9
mov dword [0x6d0f77e8], ebx
jmp 0x6d0795d4
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 0x6d0795d4
push dword [ebp - 0x74]
push 0x6d0fad48
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.6d0b0acb
add ebp, 0x1a0
leave
ret 8
Function at 0x6d079ba1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x6d0f8610]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov esi, ecx
call fcn.6d07913e
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x6d079c67
mov edi, dword [sym.imp.kernel32.dll_ReadFile]
push ebx
lea ecx, [ebp - 0x28]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push eax
call edi
movzx ecx, byte [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov edx, 0x100
imul cx, dx
shr eax, 8
movzx eax, al
add ax, cx
xor ecx, ecx
mov word [ebp - 0xc], ax
mov dword [ebp - 0x24], ebx
cmp cx, ax
jae 0x6d079c44
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x10
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x18]
call edi
cmp dword [ebp - 0x20], 0x70616d63
je 0x6d079c44
movzx eax, word [ebp - 0xc]
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], eax
jl 0x6d079c1f
lea eax, [ebp - 0x18]
push eax
call fcn.6d0791cb
mov eax, dword [ebp - 0x18]
pop ecx
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.6d07984f
push dword [esi + 0x18]
mov dword [esi + 0x1c], ebx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
mov dword [esi + 0x18], ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.6d0b0acb
leave
ret 4
Function at 0x6d07d67c
Capabilities:
Get keyboard layout

Disassembly:
push 0x14
mov eax, 0x6d0b3136
call fcn.6d0b0ca9
xor edi, edi
mov dword [ebp - 4], edi
call fcn.6d09cfff
call fcn.6d08901e
movzx eax, word [0x6d0fa934]
push eax
call sub.java.dll_getJavaIDFromLangID
mov esi, dword [ebp + 8]
pop ecx
lea ecx, [ebp - 0x12]
push ecx
push dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push esi
call dword [eax + 0x2a4]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x1c], edi
je 0x6d07d6f4
push eax
push dword [ebp - 0x1c]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d07d6f4
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp + 0x10]
push esi
call dword [eax + 0x2a8]
mov bl, 1
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR100.dll_free]
pop ecx
mov al, bl
jmp 0x6d07d7a9
mov ebx, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
push edi
push edi
call ebx
lea esi, [eax + 1]
mov eax, esi
shl eax, 2
push eax
call fcn.6d08901e
mov edi, eax
pop ecx
lea eax, [edi + 4]
push eax
lea eax, [esi - 1]
push eax
call ebx
call fcn.6d08901e
and dword [ebp - 0x20], 0
mov dword [edi], eax
mov byte [ebp - 0x11], 0
mov eax, dword [ebp - 0x20]
cmp eax, esi
jge 0x6d07d775
lea ebx, [edi + eax*4]
movzx eax, word [ebx]
push eax
call sub.java.dll_getJavaIDFromLangID
pop ecx
test eax, eax
je 0x6d07d797
push dword [ebp - 0x18]
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x6d07d797
push dword [ebx]
movzx eax, byte [ebp + 0x14]
push eax
push 0x9823
mov ecx, 0x6d0fb1d0
call fcn.6d06bdbd
test eax, eax
je 0x6d07d775
push dword [ebx]
call fcn.6d08d7c0
pop ecx
mov byte [ebp - 0x11], 1
push dword [ebp - 0x18]
mov eax, dword [ebp + 8]
push dword [ebp + 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2a8]
push edi
call dword [sym.imp.MSVCR100.dll_free]
mov bl, byte [ebp - 0x11]
pop ecx
jmp 0x6d07d6e3
inc dword [ebp - 0x20]
jmp 0x6d07d728
call fcn.6d0b0d4e
ret 0x10
Function at 0x6d07d7b7
Capabilities:
Get keyboard layout

Disassembly:
push 0x1c
mov eax, 0x6d0b3151
call fcn.6d0b0ca9
xor esi, esi
mov dword [ebp - 4], esi
call fcn.6d09cfff
call fcn.6d08901e
push esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
call esi
mov ebx, eax
mov edi, ebx
shl edi, 2
push edi
mov dword [ebp - 0x28], ebx
call fcn.6d08901e
pop ecx
push eax
push ebx
mov dword [ebp - 0x24], eax
call esi
xor eax, eax
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], eax
call fcn.6d08901e
mov ebx, eax
pop ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jge 0x6d07d856
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
movzx eax, word [eax + ecx*4]
push eax
call sub.java.dll_getJavaIDFromLangID
mov edi, eax
pop ecx
test edi, edi
je 0x6d07d851
xor esi, esi
cmp esi, dword [ebp - 0x14]
jge 0x6d07d846
push edi
push dword [ebx + esi*4]
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
je 0x6d07d843
inc esi
jmp 0x6d07d82c
cmp esi, dword [ebp - 0x14]
jne 0x6d07d851
inc dword [ebp - 0x1c]
inc dword [ebp - 0x14]
mov dword [ebx + esi*4], edi
inc dword [ebp - 0x18]
jmp 0x6d07d80b
mov esi, dword [ebp + 8]
mov eax, dword [esi]
push str.java_util_Locale
push esi
call dword [eax + 0x18]
mov ecx, dword [esi]
xor ebx, ebx
push ebx
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x28], eax
push esi
call dword [ecx + 0x2b0]
mov edi, dword [sym.imp.MSVCR100.dll_free]
mov dword [ebp + 8], eax
cmp ebx, dword [ebp - 0x1c]
jge 0x6d07d8ad
mov eax, dword [ebp - 0x20]
push dword [eax + ebx*4]
push esi
call fcn.6d07d523
pop ecx
pop ecx
mov ecx, dword [esi]
push eax
push ebx
push dword [ebp + 8]
push esi
call dword [ecx + 0x2b8]
mov eax, dword [ebp - 0x20]
push dword [eax + ebx*4]
call edi
pop ecx
inc ebx
jmp 0x6d07d880
push dword [ebp - 0x28]
mov eax, dword [esi]
push esi
call dword [eax + 0x5c]
push dword [ebp - 0x24]
call edi
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp + 8]
pop ecx
pop ecx
jmp 0x6d07d8d4
call fcn.6d0b0d4e
ret 8