joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0233
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100a02d0
push ebx
push esi
call fcn.100a01ef
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100a012c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100a027d
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a02cf
push edi
push eax
call fcn.1009756c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100a029d
call fcn.10097532
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a02ce
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100a012c
add esp, 0x20
test eax, eax
jne 0x100a02bc
push edi
call fcn.10097532
jmp 0x100a02c4
push ebx
call fcn.10097532
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100a02d3
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100a02e4
pop esi
ret
push ebx
push edi
push esi
call fcn.100a01ef
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1009756c
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100a030c
push ebx
push esi
push edi
call fcn.10068e60
add esp, 0xc
push 0
call fcn.10097532
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100a0bfb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a0581

Function at 0x100a3d66
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1009512c
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a3dd5
cmp esi, dword [ebp - 4]
je 0x100a3dd0
cmp dword [ebp + 0xc], 0
je 0x100a3dd0
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100a3dad
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100a38b8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100a3dd7
xor eax, eax
inc eax
jmp 0x100a3dd7
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x100a3e3c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100d9180]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.1009512c
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.1009512c
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100a3eb3
cmp word [ecx], dx
je 0x100a3eb3
mov eax, dword [0x100c37dc]
push edi
dec eax
push eax
push 0x100c36c8
call fcn.100a3ddb
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x100a3f26
cmp word [eax], dx
je 0x100a3f26
mov eax, dword [edi]
test eax, eax
je 0x100a3ed7
cmp word [eax], dx
je 0x100a3ed7
lea eax, [ebp - 0x10]
push eax
call fcn.100a37be
jmp 0x100a3ee0
lea eax, [ebp - 0x10]
push eax
call fcn.100a3859
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x100a3f50
mov eax, dword [0x100c36c4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100c33b8
call fcn.100a3ddb
add esp, 0xc
test al, al
je 0x100a3f50
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x100a3f1b
cmp word [eax], di
je 0x100a3f1b
lea eax, [ebp - 0x10]
push eax
call fcn.100a37be
pop ecx
jmp 0x100a3f52
lea eax, [ebp - 0x10]
push eax
call fcn.100a3859
jmp 0x100a3f18
mov eax, dword [edi]
test eax, eax
je 0x100a3f3d
cmp word [eax], dx
je 0x100a3f3d
lea eax, [ebp - 0x10]
push eax
call fcn.100a3755
pop ecx
jmp 0x100a3f50
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x100a401b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100a3c60
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x100a401b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x100a401b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x100a401b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x100a3fa8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1009a733
test ebx, ebx
je 0x100a4016
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1009a733
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a401b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100a401b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100add13
add esp, 0x10
xor eax, eax
inc eax
jmp 0x100a401d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006638a
leave
ret
Function at 0x100aad40
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100f0648]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100aad80
cmp byte [ebx], 0xa
jne 0x100aad80
or byte [edi + eax + 0x28], 4
jmp 0x100aad85
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x100aae84
mov dl, byte [eax]
cmp dl, 0x1a
je 0x100aae67
inc eax
cmp dl, 0xd
je 0x100aadb1
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x100aadd7
cmp eax, ecx
jae 0x100aade5
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x100aad99
jmp 0x100aae84
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100aae62
cmp dword [ebp - 0x10], 0
je 0x100aae62
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x100f0648]
test byte [eax + edi + 0x28], 0x48
je 0x100aae3c
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100aae27
mov byte [esi], dl
jmp 0x100aae38
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100f0648]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x100aae84
cmp byte [ebp - 1], 0xa
jne 0x100aae4b
cmp esi, ebx
jne 0x100aae4b
mov byte [esi], 0xa
jmp 0x100aae83
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.100aab92
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x100aae84
mov byte [esi], 0xd
jmp 0x100aae83
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x100f0648]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x100aae81
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x100aae84
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100aae8d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100f0648]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x100aaed3
cmp word [ebx], dx
jne 0x100aaed3
or byte [eax + edi + 0x28], 4
jmp 0x100aaed8
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x100ab03b
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x100ab01b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x100aaf19
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100aaf4f
cmp eax, edx
jae 0x100aaf5d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x100aaef4
jmp 0x100ab03b
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100ab016
cmp dword [ebp - 0x18], 0
je 0x100ab016
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100f0648]
test byte [eax + edi + 0x28], 0x48
je 0x100aafec
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x100aafb0
mov word [esi], cx
jmp 0x100aafe7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100f0648]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100f0648]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100f0648]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x100ab03b
pop eax
cmp word [ebp - 4], ax
jne 0x100aaffc
cmp esi, ebx
jne 0x100aaffc
mov word [esi], ax
jmp 0x100ab038
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.100aab92
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x100ab03b
push 0xd
pop eax
jmp 0x100aaff7
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100f0648]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x100ab035
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x100ab03b
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x100b05a0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100b0474

Function at 0x100b3bc0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b3bed
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b3bed
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x100042c0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005fb98
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1008906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10025bb9
push 1
mov esi, eax
call fcn.10024bcc
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
and ecx, 1
mov dword [edi + 0x38], 0
shl ecx, 2
mov eax, ebx
mov edx, ecx
or edx, 2
and al, 2
mov eax, ebx
cmovne edx, ecx
mov ecx, edx
or ecx, 8
and al, 8
cmove ecx, edx
mov eax, ecx
or eax, 0x10
and bl, 4
cmove eax, ecx
mov dword [edi + 0x3c], eax
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x10004730
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f2c0
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1008906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10004779
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10004765
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x100047b2
nop dword [eax]
cmp esi, edx
jae 0x10004765
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x100047a0
cmp esi, edx
jae 0x10004765
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10013bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
shr ecx, 1
mov eax, ebx
and ecx, 4
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call edi
shr eax, 0xf
mov ecx, esi
or ecx, 8
and al, 1
mov eax, ebx
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, ebx
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
push 0x90
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and bl, 2
cmove esi, ecx
call edi
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, edi
or ecx, 1
and al, 1
cmove ecx, edi
pop edi
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x10013c80
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
push esi
push edi
push 0x10
call ebx
movzx esi, ax
shr esi, 0xf
and esi, 1
push 0x11
add esi, esi
call ebx
shr eax, 0xf
mov edi, esi
or edi, 4
and al, 1
push 0x12
cmove edi, esi
call ebx
shr eax, 0xf
mov esi, edi
or esi, 8
and al, 1
push 0x90
cmove esi, edi
call ebx
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call ebx
mov ebx, edi
or ebx, 1
and al, 1
mov eax, dword [ebp + 8]
cmove ebx, edi
add eax, 0xfffffff4
mov esi, ebx
cmp eax, 0x84
ja case.0x10013cf5.14
movzx eax, byte [eax + 0x10013dd0]
jmp dword [eax*4 + 0x10013dac]
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmove esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
or esi, 0x200
and eax, 0x1000000
pop edi
cmovne esi, ebx
mov eax, esi
pop esi
pop ebx
pop ebp
ret
or esi, 0x200
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa0
call edi
shr eax, 0xf
test al, 1
jne case.0x10013cf5.91
push 0xa1
call edi
shr eax, 0xf
test al, 1
je case.0x10013cf5.14
or esi, 0x800
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa2
call edi
shr eax, 0xf
test al, 1
jne case.0x10013cf5.91
push 0xa3
jmp 0x10013d52
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0xa4
call edi
shr eax, 0xf
test al, 1
jne case.0x10013cf5.91
push 0xa5
jmp 0x10013d52
or esi, 0x400
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret
Function at 0x1001a6b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10063ff9
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x1008906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
mov dword [esi], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [esi + 4], xmm0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x20]
mov ecx, ebx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov eax, ebx
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
shr ecx, 1
and ecx, 4
mov esi, ecx
or esi, 2
and al, 4
push 0x12
cmove esi, ecx
call ebx
shr eax, 0xf
mov ecx, esi
or ecx, 8
and al, 1
mov eax, dword [ebp - 0x10]
cmove ecx, esi
mov edx, ecx
or edx, 0x10
and al, 1
mov eax, dword [ebp - 0x10]
cmove edx, ecx
mov ecx, edx
or ecx, 0x20
and al, 0x10
mov eax, dword [ebp - 0x10]
cmove ecx, edx
mov esi, ecx
or esi, 0x40
and al, 2
push 0x90
cmove esi, ecx
call ebx
mov edi, esi
or edi, 0x100
and al, 1
push 0x14
cmove edi, esi
call ebx
mov ecx, edi
or ecx, 1
and al, 1
mov eax, dword [ebp - 0x18]
cmove ecx, edi
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d330
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100644d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1008906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x18]
push str.dragover
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 8], 0
jne 0x1001d385
mov eax, 0x8000ffff
jmp 0x1001d439
push dword [esi + 0xc]
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
push ebx
call fcn.1001a6b0
add esp, 0xc
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ebx, dword [edi]
mov ecx, ebx
and ecx, 1
mov eax, ebx
mov edx, ecx
or edx, 2
and al, 4
cmove edx, ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 4]
mov eax, edx
or eax, 0x10
and bl, 2
cmove eax, edx
push eax
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x28], esp
mov dword [edx], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [edx + 4], xmm0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call esi
mov ebx, eax
mov edx, ebx
mov ecx, ebx
and edx, 1
mov esi, edx
or esi, 4
and cl, 2
cmove esi, edx
mov eax, esi
or eax, 2
and bl, 0x10
cmove eax, esi
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x24], vtable.CefStructBase_struct_CefMouseEventTraits_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025ba3
mov esp, ebp
pop ebp
ret 0x14
Function at 0x1001d490
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100644d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1008906c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x1c]
push str.Drop
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 8], 0
jne 0x1001d4e5
mov eax, 0x8000ffff
jmp 0x1001d599
push dword [esi + 0xc]
mov edx, dword [ebp + 0x10]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x28]
push ebx
call fcn.1001a6b0
add esp, 0xc
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov ebx, dword [edi]
mov ecx, ebx
and ecx, 1
mov eax, ebx
mov edx, ecx
or edx, 2
and al, 4
cmove edx, ecx
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
mov esi, dword [eax + 0xc]
mov eax, edx
or eax, 0x10
and bl, 2
cmove eax, edx
push eax
sub esp, 0x14
mov edx, esp
mov dword [ebp - 0x28], esp
mov dword [edx], vtable.CefStructBase_struct_CefMouseEventTraits_.0
movq qword [edx + 4], xmm0
mov dword [edx + 0xc], 0
mov dword [edx + 0x10], 0
mov eax, dword [ebp - 0x20]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
mov dword [edx + 0xc], eax
mov byte [ebp - 4], 1
mov byte [ebp - 4], 0
call esi
mov ebx, eax
mov edx, ebx
mov ecx, ebx
and edx, 1
mov esi, edx
or esi, 4
and cl, 2
cmove esi, edx
mov eax, esi
or eax, 2
and bl, 0x10
cmove eax, esi
mov dword [edi], eax
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov dword [ebp - 0x24], vtable.CefStructBase_struct_CefMouseEventTraits_.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10025ba3
mov esp, ebp
pop ebp
ret 0x18
Function at 0x1001e740
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10064619
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1008906c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 4]
mov dword [edi], vtable.V8Handler.0
mov dword [edi + 8], vtable.V8Handler.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 4], vtable.V8Handler.2.0
mov eax, dword [edi + 4]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x2c]
mov dword [ecx + edi], eax
mov dword [ebp - 4], 2
lea ebx, [edi + 0x18]
mov esi, dword [ebx]
mov ecx, ebx
push dword [esi + 4]
call fcn.10022d80
mov eax, dword [ebx]
add edi, 0x20
mov ecx, edi
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
mov esi, dword [edi]
push dword [esi + 4]
call fcn.10022bc0
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov eax, dword [ebp - 0x10]
mov dword [edi + 4], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
mov ecx, edi
mov eax, dword [edi]
push eax
push dword [eax]
lea eax, [ebp - 0x18]
push eax
call fcn.10022c80
mov byte [ebp - 4], 1
push 0x1c
push dword [edi]
call fcn.10025be9
add esp, 8
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 6
mov ecx, ebx
mov esi, dword [ebx]
push dword [esi + 4]
call fcn.10022d80
mov eax, dword [ebx]
mov dword [eax + 4], esi
mov eax, dword [ebx]
mov dword [eax], esi
mov eax, dword [ebx]
mov dword [eax + 8], esi
mov dword [ebx + 4], 0
mov byte [ebp - 4], 0
push 0x34
push dword [ebx]
call fcn.10025be9
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x10]
lea eax, [ebx + 8]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
test byte [ebp + 8], 1
mov dword [eax], vtable.CefBaseRefCounted.0
mov dword [ebx + 0x30], vtable.CefBaseRefCounted.0
je 0x1001e890
push 0x34
push ebx
call fcn.10025be9
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4