joyce8/EMBER2024-capa huggingface dataset:
Function at 0x473fed
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 4
xor ebx, 0x101ef
or ebx, 0xa7d7
pop ebx
push edx
add edx, 0x166b5
call fcn.00473f9e
add byte [0x393a3749], bh
inc eax
inc ebp
inc ecx
add esp, 4
add esp, 4
add esp, 4
sub edx, 0x4e14
pop edx
lea edx, [ebp - 0x16c0]
mov dword [ebp - 0xd18], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd14], ecx
xor edx, edx
mov word [ebp - 0x1d4], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ecx
push edi
add esp, 4
add ecx, 0xedd4
call 0x473fed
add byte [ebp + 0x4d], al
aas
xor al, 0x48
aaa
aas
cmp eax, dword [ebx + 0x35]
add esp, 4
pop ecx
push edi
call 0x474000
add byte [esi + 0x37], cl
inc ecx
dec ebx
dec ebx
inc ecx
dec ecx
dec ecx
add esp, 4
pop edi
mov ecx, dword [ebp - 0xd14]
mov dx, word [ecx]
mov word [ebp - 0x10ae], dx
mov eax, dword [ebp - 0xd14]
add eax, 2
mov dword [ebp - 0xd14], eax
mov cx, word [ebp - 0x10ae]
mov word [ebp - 0x1d4], cx
mov edx, dword [ebp - 0xd18]
mov ax, word [edx]
mov word [ebp - 0x10b0], ax
mov ecx, dword [ebp - 0xd18]
add ecx, 2
mov dword [ebp - 0xd18], ecx
mov dx, word [ebp - 0x10b0]
mov word [ebp - 0x34], dx
push esi
push ecx
add esp, 4
sub esi, 0x52b3
sub esi, 0x11460
and esi, 0x1e30
pop esi
push ebx
sub ebx, 0xc0e8
jmp 0x47407f
jmp 0x474086
or ebx, 0x5a71
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4740aa
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x165c], ecx
jmp 0x474104
movzx eax, word [ebp - 0x1d4]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x473fd2
movzx edx, word [ebp - 0x1d4]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x473fd2
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4740ee
mov dword [ebp - 0x1658], 0xffffffff
jmp 0x4740f8
mov dword [ebp - 0x1658], 1
mov eax, dword [ebp - 0x1658]
mov dword [ebp - 0x165c], eax
cmp dword [ebp - 0x165c], 0
jne 0x47414d
push edi
push ebx
add esp, 4
jmp 0x47411b
xor edi, 0x10a4e
call 0x47412d
add byte [ebp + 0x49], cl
xor edi, dword [ecx]
inc edx
inc ebp
add esp, 4
sub edi, 0x15765
pop edi
push ecx
sub ecx, 0x10ac4
pop ecx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2c0], ecx
jmp 0x4741b5
push edx
push edi
add esp, 4
sub edx, 0x4be5
sub edx, 0xb75c
sub edx, 0x6776
call 0x474170
add byte [ebx], dh
cmp byte [esi + 0x4b], al
cmp byte [0x5a04c483], bh
push ebx
push eax
add esp, 4
jmp 0x47417e
pop ebx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xd1c]
je 0x4741ab
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x473f76
mov dword [ebp - 0x2c0], 0
Function at 0x474000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 4
xor ebx, 0x101ef
or ebx, 0xa7d7
pop ebx
push edx
add edx, 0x166b5
call fcn.00473f9e
add byte [0x393a3749], bh
inc eax
inc ebp
inc ecx
add esp, 4
add esp, 4
add esp, 4
sub edx, 0x4e14
pop edx
lea edx, [ebp - 0x16c0]
mov dword [ebp - 0xd18], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd14], ecx
xor edx, edx
mov word [ebp - 0x1d4], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ecx
push edi
add esp, 4
add ecx, 0xedd4
call 0x473fed
add byte [ebp + 0x4d], al
aas
xor al, 0x48
aaa
aas
cmp eax, dword [ebx + 0x35]
add esp, 4
pop ecx
push edi
call 0x474000
add byte [esi + 0x37], cl
inc ecx
dec ebx
dec ebx
inc ecx
dec ecx
dec ecx
add esp, 4
pop edi
mov ecx, dword [ebp - 0xd14]
mov dx, word [ecx]
mov word [ebp - 0x10ae], dx
mov eax, dword [ebp - 0xd14]
add eax, 2
mov dword [ebp - 0xd14], eax
mov cx, word [ebp - 0x10ae]
mov word [ebp - 0x1d4], cx
mov edx, dword [ebp - 0xd18]
mov ax, word [edx]
mov word [ebp - 0x10b0], ax
mov ecx, dword [ebp - 0xd18]
add ecx, 2
mov dword [ebp - 0xd18], ecx
mov dx, word [ebp - 0x10b0]
mov word [ebp - 0x34], dx
push esi
push ecx
add esp, 4
sub esi, 0x52b3
sub esi, 0x11460
and esi, 0x1e30
pop esi
push ebx
sub ebx, 0xc0e8
jmp 0x47407f
jmp 0x474086
or ebx, 0x5a71
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4740aa
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x165c], ecx
jmp 0x474104
movzx eax, word [ebp - 0x1d4]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x473fd2
movzx edx, word [ebp - 0x1d4]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x473fd2
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4740ee
mov dword [ebp - 0x1658], 0xffffffff
jmp 0x4740f8
mov dword [ebp - 0x1658], 1
mov eax, dword [ebp - 0x1658]
mov dword [ebp - 0x165c], eax
cmp dword [ebp - 0x165c], 0
jne 0x47414d
push edi
push ebx
add esp, 4
jmp 0x47411b
xor edi, 0x10a4e
call 0x47412d
add byte [ebp + 0x49], cl
xor edi, dword [ecx]
inc edx
inc ebp
add esp, 4
sub edi, 0x15765
pop edi
push ecx
sub ecx, 0x10ac4
pop ecx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2c0], ecx
jmp 0x4741b5
push edx
push edi
add esp, 4
sub edx, 0x4be5
sub edx, 0xb75c
sub edx, 0x6776
call 0x474170
add byte [ebx], dh
cmp byte [esi + 0x4b], al
cmp byte [0x5a04c483], bh
push ebx
push eax
add esp, 4
jmp 0x47417e
pop ebx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xd1c]
je 0x4741ab
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x473f76
mov dword [ebp - 0x2c0], 0
Function at 0x47412d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 4
xor ebx, 0x101ef
or ebx, 0xa7d7
pop ebx
push edx
add edx, 0x166b5
call fcn.00473f9e
add byte [0x393a3749], bh
inc eax
inc ebp
inc ecx
add esp, 4
add esp, 4
add esp, 4
sub edx, 0x4e14
pop edx
lea edx, [ebp - 0x16c0]
mov dword [ebp - 0xd18], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd14], ecx
xor edx, edx
mov word [ebp - 0x1d4], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ecx
push edi
add esp, 4
add ecx, 0xedd4
call 0x473fed
add byte [ebp + 0x4d], al
aas
xor al, 0x48
aaa
aas
cmp eax, dword [ebx + 0x35]
add esp, 4
pop ecx
push edi
call 0x474000
add byte [esi + 0x37], cl
inc ecx
dec ebx
dec ebx
inc ecx
dec ecx
dec ecx
add esp, 4
pop edi
mov ecx, dword [ebp - 0xd14]
mov dx, word [ecx]
mov word [ebp - 0x10ae], dx
mov eax, dword [ebp - 0xd14]
add eax, 2
mov dword [ebp - 0xd14], eax
mov cx, word [ebp - 0x10ae]
mov word [ebp - 0x1d4], cx
mov edx, dword [ebp - 0xd18]
mov ax, word [edx]
mov word [ebp - 0x10b0], ax
mov ecx, dword [ebp - 0xd18]
add ecx, 2
mov dword [ebp - 0xd18], ecx
mov dx, word [ebp - 0x10b0]
mov word [ebp - 0x34], dx
push esi
push ecx
add esp, 4
sub esi, 0x52b3
sub esi, 0x11460
and esi, 0x1e30
pop esi
push ebx
sub ebx, 0xc0e8
jmp 0x47407f
jmp 0x474086
or ebx, 0x5a71
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4740aa
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x165c], ecx
jmp 0x474104
movzx eax, word [ebp - 0x1d4]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x473fd2
movzx edx, word [ebp - 0x1d4]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x473fd2
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4740ee
mov dword [ebp - 0x1658], 0xffffffff
jmp 0x4740f8
mov dword [ebp - 0x1658], 1
mov eax, dword [ebp - 0x1658]
mov dword [ebp - 0x165c], eax
cmp dword [ebp - 0x165c], 0
jne 0x47414d
push edi
push ebx
add esp, 4
jmp 0x47411b
xor edi, 0x10a4e
call 0x47412d
add byte [ebp + 0x49], cl
xor edi, dword [ecx]
inc edx
inc ebp
add esp, 4
sub edi, 0x15765
pop edi
push ecx
sub ecx, 0x10ac4
pop ecx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2c0], ecx
jmp 0x4741b5
push edx
push edi
add esp, 4
sub edx, 0x4be5
sub edx, 0xb75c
sub edx, 0x6776
call 0x474170
add byte [ebx], dh
cmp byte [esi + 0x4b], al
cmp byte [0x5a04c483], bh
push ebx
push eax
add esp, 4
jmp 0x47417e
pop ebx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xd1c]
je 0x4741ab
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x473f76
mov dword [ebp - 0x2c0], 0
Function at 0x474170
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push esi
add esp, 4
xor ebx, 0x101ef
or ebx, 0xa7d7
pop ebx
push edx
add edx, 0x166b5
call fcn.00473f9e
add byte [0x393a3749], bh
inc eax
inc ebp
inc ecx
add esp, 4
add esp, 4
add esp, 4
sub edx, 0x4e14
pop edx
lea edx, [ebp - 0x16c0]
mov dword [ebp - 0xd18], edx
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0xd14], ecx
xor edx, edx
mov word [ebp - 0x1d4], dx
xor eax, eax
mov word [ebp - 0x34], ax
push ecx
push edi
add esp, 4
add ecx, 0xedd4
call 0x473fed
add byte [ebp + 0x4d], al
aas
xor al, 0x48
aaa
aas
cmp eax, dword [ebx + 0x35]
add esp, 4
pop ecx
push edi
call 0x474000
add byte [esi + 0x37], cl
inc ecx
dec ebx
dec ebx
inc ecx
dec ecx
dec ecx
add esp, 4
pop edi
mov ecx, dword [ebp - 0xd14]
mov dx, word [ecx]
mov word [ebp - 0x10ae], dx
mov eax, dword [ebp - 0xd14]
add eax, 2
mov dword [ebp - 0xd14], eax
mov cx, word [ebp - 0x10ae]
mov word [ebp - 0x1d4], cx
mov edx, dword [ebp - 0xd18]
mov ax, word [edx]
mov word [ebp - 0x10b0], ax
mov ecx, dword [ebp - 0xd18]
add ecx, 2
mov dword [ebp - 0xd18], ecx
mov dx, word [ebp - 0x10b0]
mov word [ebp - 0x34], dx
push esi
push ecx
add esp, 4
sub esi, 0x52b3
sub esi, 0x11460
and esi, 0x1e30
pop esi
push ebx
sub ebx, 0xc0e8
jmp 0x47407f
jmp 0x474086
or ebx, 0x5a71
pop ebx
movzx eax, word [ebp - 0x34]
test eax, eax
jne 0x4740aa
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
sub ecx, edx
mov dword [ebp - 0x165c], ecx
jmp 0x474104
movzx eax, word [ebp - 0x1d4]
movzx ecx, word [ebp - 0x34]
cmp eax, ecx
je 0x473fd2
movzx edx, word [ebp - 0x1d4]
xor edx, 0x20
movzx eax, word [ebp - 0x34]
cmp edx, eax
je 0x473fd2
movzx ecx, word [ebp - 0x1d4]
movzx edx, word [ebp - 0x34]
cmp ecx, edx
jge 0x4740ee
mov dword [ebp - 0x1658], 0xffffffff
jmp 0x4740f8
mov dword [ebp - 0x1658], 1
mov eax, dword [ebp - 0x1658]
mov dword [ebp - 0x165c], eax
cmp dword [ebp - 0x165c], 0
jne 0x47414d
push edi
push ebx
add esp, 4
jmp 0x47411b
xor edi, 0x10a4e
call 0x47412d
add byte [ebp + 0x49], cl
xor edi, dword [ecx]
inc edx
inc ebp
add esp, 4
sub edi, 0x15765
pop edi
push ecx
sub ecx, 0x10ac4
pop ecx
mov ecx, dword [ebp - 0x514]
mov dword [ebp - 0x2c0], ecx
jmp 0x4741b5
push edx
push edi
add esp, 4
sub edx, 0x4be5
sub edx, 0xb75c
sub edx, 0x6776
call 0x474170
add byte [ebx], dh
cmp byte [esi + 0x4b], al
cmp byte [0x5a04c483], bh
push ebx
push eax
add esp, 4
jmp 0x47417e
pop ebx
mov edx, dword [ebp - 0x514]
mov eax, dword [edx]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp - 0x514]
cmp ecx, dword [ebp - 0xd1c]
je 0x4741ab
mov edx, dword [ebp - 0x514]
cmp dword [edx + 0x30], 0
jne 0x473f76
mov dword [ebp - 0x2c0], 0
Function at 0x4c5210
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, ebx
call fcn.004c52c0
test eax, eax
je 0x4c524b
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.004c52c0
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00407774
jmp 0x4c5259
mov ecx, esi
mov edx, 0x4c5278
mov eax, ebx
call fcn.004c5158
lea eax, [ebx + 0x1c]
mov edx, dword [esi]
call fcn.004079cc
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x4e1cf8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.004075ec
push 0
movzx eax, bl
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
mov ebx, eax
test ebx, ebx
je 0x4e1d4a
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
push ebx
call sub.user32.dll_GetKeyNameTextW
test eax, eax
je 0x4e1d43
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.00408368
jmp 0x4e1d4a
mov eax, esi
call fcn.004075ec
add esp, 0x200
pop esi
pop ebx
ret
Function at 0x4e74ec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4e764b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x536260], 0
mov word [ebp - 0x20], 0
lea eax, [ebp - 0x20]
push eax
call sub.user32.dll_GetKeyboardLayoutNameW
mov dl, 1
mov eax, dword [0x45dce8]
call fcn.0045ee34
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x4e7621
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0045ef1c
lea eax, [ebp - 0x28]
lea edx, [ebp - 0x20]
mov ecx, 0xa
call fcn.00408368
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x4e7664
call fcn.00408518
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.0045f1a8
test al, al
je 0x4e760b
lea ecx, [ebp - 4]
mov edx, 0x4e76d8
mov eax, dword [ebp - 0xc]
call fcn.0045fa30
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.00426b8c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4e760b
xor edx, edx
push ebp
push 0x4e7604
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x4e76f0
mov eax, dword [ebp - 8]
push eax
call fcn.0040e848
test eax, eax
je 0x4e75ed
mov ebx, eax
call ebx
mov ebx, eax
test ebx, ebx
je 0x4e75ed
call fcn.004e7478
test eax, eax
je 0x4e75dd
mov eax, dword [ebx + 0x50]
jmp 0x4e75e0
mov eax, dword [ebx + 0x28]
and eax, 1
cmp eax, 1
sete byte [0x536260]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e760b
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_2
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e7628
mov eax, dword [ebp - 0xc]
call fcn.004058dc
ret

Function at 0x4e7754
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x4e779b
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e777e
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e778f
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x4e779b
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x4f3dc8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
mov eax, esi
mov edx, 0xffffffec
push edx
push eax
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x4f3def
test edi, 0x40000
je 0x4f3e09
test bl, bl
jne 0x4f3e98
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x4f3e98
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x4f3e3c
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x4f3e58
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0x40000
or ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
jmp 0x4f3e6e
mov eax, esi
mov edx, 0xffffffec
mov ecx, 0xfffbffff
and ecx, edi
push ecx
push edx
push eax
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x4f3e7f
cmp byte [esp + 2], 0
je 0x4f3e98
cmp byte [esp + 2], 0
je 0x4f3e90
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x4f3e98
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4f414c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4f4172
mov eax, esp
push eax
push 0x4f4114
call sub.user32.dll_EnumWindows
jmp 0x4f4185
mov eax, esp
push eax
push 0x4f40f4
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret
Function at 0x4fcf78
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4fcf8a
add esp, 0xfffffff0
call fcn.00405ee8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00453348
mov eax, dword [0x536924]
mov dword [eax + 4], ebx
mov dword [eax], 0x4fd3b8
mov eax, dword [0x536934]
mov dword [eax + 4], ebx
mov dword [eax], 0x4fd3c4
mov eax, ebx
call fcn.004fd3d0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x48], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x60]
push eax
mov eax, 0x4f7d34
push eax
push 0
push 0
call fcn.00475ee8
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov dword [ebx + 0x90], eax
mov eax, ebx
call fcn.004fd9c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4fd7e4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4fd7e4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4fd7e4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4fd7e4
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4fd7e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4fd107
call fcn.00405f40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4fd584
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fd72f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
jne 0x4fd710
mov dl, 1
mov eax, dword [0x43b934]
call fcn.0044a2d0
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004075ec
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4fd6ff
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004978d0
test al, al
je 0x4fd6f2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x4fd740
lea eax, [ebp - 0x394]
call fcn.0041ff20
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4fd6f2
xor eax, eax
push ebp
push 0x4fd6eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x4fd7b0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4fd6d4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408368
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x44]
jne 0x4fd6d4
mov eax, dword [ebp - 4]
add eax, 0x40
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00408368
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd6f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4fd5f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.0044a20c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x3c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fd736
lea eax, [ebp - 0x3a0]
call fcn.004075ec
ret
Function at 0x4fe674
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4fe68b
add esp, 0xfffffff0
call fcn.00405ee8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00453348
mov eax, dword [0x5367e8]
cmp byte [eax], 0
jne 0x4fe6b8
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x184], al
mov eax, dword [0x536b00]
cmp word [eax + 2], 0
jne 0x4fe6d2
mov eax, dword [0x536b00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00500868
mov eax, dword [0x536c30]
cmp word [eax + 2], 0
jne 0x4fe6ec
mov eax, dword [0x536c30]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00500a6c
mov byte [ebx + 0x39], 0
mov dl, 1
mov eax, dword [0x4639a4]
call fcn.004699a4
mov esi, eax
mov dword [ebx + 0x40], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x500fe4
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0xb4], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x88], eax
mov dword [ebx + 0x60], 0xff000018
mov dword [ebx + 0x7c], 0x1f4
mov byte [ebx + 0x80], 1
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x78], 0x9c4
mov byte [ebx + 0x8c], 0
mov byte [ebx + 0xa9], 1
mov byte [ebx + 0xc0], 1
mov dl, 1
mov eax, dword [0x468284]
call fcn.00472ff0
mov esi, eax
mov dword [ebx + 0xa4], esi
push 0x4fe8d0
mov eax, dword [0x5369c4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00473480
mov eax, dword [ebx + 0xa4]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5012cc
mov dl, 1
mov eax, dword [0x4381c0]
call fcn.004058ac
mov dword [ebx + 0x9c], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5369c4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.0041fd34
test eax, eax
je 0x4fe800
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0041fae4
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041fd18
test eax, eax
je 0x4fe818
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x90]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00408368
push ebx
push 0x500240
call fcn.004f422c
mov dword [ebx + 0x180], eax
mov byte [ebx + 0xd4], 0
mov eax, dword [0x5367e8]
cmp byte [eax], 0
jne 0x4fe869
mov eax, ebx
call fcn.004fea90
mov byte [ebx + 0x5d], 1
mov byte [ebx + 0x5e], 1
mov byte [ebx + 0x5f], 1
mov byte [ebx + 0xaa], 1
mov byte [ebx + 0xd5], 0
mov byte [ebx + 0xe0], 0
xor eax, eax
mov dword [ebx + 0xd8], eax
mov byte [ebx + 0xd7], 0
xor eax, eax
mov dword [ebx + 0xac], eax
mov eax, ebx
call fcn.00501514
mov eax, ebx
call fcn.00502140
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4fe8c6
call fcn.00405f40
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret