joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438377
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10324
call fcn.00441060
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
push 0x400
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x210], ebx
mov dword [esi + 0x218], ebx
call fcn.0043fe70
pop ecx
mov dword [esi + 0x214], eax
mov edi, 0x104
lea eax, [ebp - 0x118]
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0044114d
push edi
lea eax, [ebp - 0x21c]
push str.Include
push eax
call fcn.00441ec0
push ebx
lea eax, [ebp - 0x21c]
push ebx
push eax
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00442b19
push 0x105
call fcn.0043fe70
mov ecx, dword [esi + 0x218]
mov edx, dword [esi + 0x214]
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x218]
mov ecx, dword [esi + 0x214]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x218], eax
lea eax, [ebp - 0x118]
push eax
push ecx
call fcn.00440a20
add esp, 0x40
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push str.SoftwareAutoIt_v3AutoIt
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43857f
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0xffff
push eax
lea eax, [ebp - 0x10324]
push eax
push ebx
push ebx
push str.Include
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x438576
mov eax, dword [ebp - 0x10]
mov byte [ebp - 0x118], bl
mov byte [ebp + eax - 0x10324], bl
mov byte [ebp + eax - 0x10323], bl
lea eax, [ebp - 0x10324]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [ebp - 1], bl
mov al, byte [eax]
cmp al, bl
mov byte [ebp - 2], al
je 0x4384e6
cmp al, 0x3b
je 0x4384e6
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00440a30
pop ecx
pop ecx
jmp 0x43856e
lea eax, [ebp - 0x118]
push eax
call fcn.004401c0
test eax, eax
pop ecx
je 0x438521
lea eax, [ebp - 0x118]
push eax
call fcn.004401c0
cmp byte [ebp + eax - 0x119], 0x5c
pop ecx
je 0x438521
lea eax, [ebp - 0x118]
push 0x455b28
push eax
call fcn.00440a30
pop ecx
pop ecx
push 0x105
call fcn.0043fe70
mov ecx, dword [esi + 0x218]
mov edx, dword [esi + 0x214]
push edi
mov dword [edx + ecx*4], eax
mov eax, dword [esi + 0x218]
mov ecx, dword [esi + 0x214]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + 0x218], eax
lea eax, [ebp - 0x118]
push eax
push ecx
call fcn.00441660
mov eax, dword [ebp - 8]
add esp, 0x10
mov byte [ebp - 0x118], bl
cmp byte [eax], bl
je 0x438576
inc dword [ebp - 8]
jmp 0x4384bc
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43935c
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov esi, ecx
push ebx
push 0x5b
mov dword [esi], 5
mov dword [esi + 4], 1
mov dword [esi + 0xc], ebx
mov byte [esi + 8], 1
mov byte [esi + 9], bl
call edi
push ebx
push 0x10
mov dword [esi + 0x20], eax
call edi
push ebx
push 0x11
mov dword [esi + 0x1c], eax
call edi
push ebx
push 0x12
mov dword [esi + 0x14], eax
call edi
mov dword [esi + 0x18], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
push 1
pop esi
mov al, byte [esi + 0x458238]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
cmp ax, 0xffff
je 0x4393da
lea eax, [ebp - 6]
push 0x458604
push eax
call fcn.00440b60
pop ecx
test eax, eax
pop ecx
jne 0x4393e1
mov byte [esi + 0x458238], 0x20
inc esi
cmp esi, 7
jle 0x4393b3
lea eax, [ebp - 6]
push 0x458600
push eax
call fcn.00440b60
pop ecx
pop ecx
pop edi
pop esi
pop ebx
test eax, eax
jne 0x439407
mov byte [0x45823c], 0x20
leave
ret
lea eax, [ebp - 6]
push 0x4585fc
push eax
call fcn.00440b60
pop ecx
test eax, eax
pop ecx
jne 0x439422
mov byte [0x45823b], 0x20
leave
ret

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

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push edi
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [esp + 0x14], bl
jne 0x43969f
mov al, bl
jmp 0x4396db
xor eax, eax
push ebp
mov ebp, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push eax
push eax
push edi
call ebp
push eax
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push dword [esi + 4]
call fcn.0043dbc4
pop ecx
push 0
push 2
push 0
push edi
call ebp
push eax
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push dword [esi]
call fcn.0043dbc4
pop ecx
mov al, bl
pop ebp
pop edi
pop esi
pop ebx
ret 8

Function at 0x4396e1
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push edi
push dword [esp + 0xc]
mov edi, ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx ebx, ax
cmp ebx, 0xffffffff
jne 0x439704
push dword [esp + 0xc]
mov ecx, edi
call fcn.00439774
jmp 0x439737
push ebx
mov ecx, edi
call fcn.00439808
mov ecx, edi
call fcn.00439a75
cmp dword [esp + 0x10], 0
je 0x439730
push esi
movzx esi, bl
mov ebx, dword [esp + 0x14]
push 0
push esi
mov ecx, edi
call fcn.00439d20
dec ebx
jne 0x439722
pop esi
mov ecx, edi
call fcn.00439bc5
pop edi
pop ebx
ret 8
Function at 0x439808
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x100
test ah, 2
push ebx
push esi
mov esi, ecx
je 0x43981f
or dword [esi + 0xc], 4
test ah, 4
je 0x439828
or dword [esi + 0xc], 1
test ah, 1
je 0x439831
or dword [esi + 0xc], 2
cmp dword [esi + 0x10], 0
je 0x439879
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0xc]
test al, 0x40
jne 0x43984e
and byte [esp + 0x19], 0
test al, 0x10
jne 0x439857
and byte [esp + 0x1a], 0
test al, 0x20
jne 0x439860
and byte [esp + 0x18], 0
test al, 0x80
jne 0x439869
and byte [esp + 0x63], 0
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x439942
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ebp, connect
movsx eax, ax
test ebp, eax
jne 0x4398a0
push 0x11
call ebx
test ah, 0x80
je 0x4398b9
test byte [esi + 0xc], 0x40
jne 0x4398b9
push 0
push 0x11
mov ecx, esi
call fcn.00439e06
push dword [esi]
call fcn.0043dbc4
pop ecx
push 0x12
call edi
movsx eax, ax
test ebp, eax
jne 0x4398cd
push 0x12
call ebx
test ah, 0x80
je 0x4398e6
test byte [esi + 0xc], 0x10
jne 0x4398e6
push 0
push 0x12
mov ecx, esi
call fcn.00439e06
push dword [esi]
call fcn.0043dbc4
pop ecx
push 0x10
call edi
movsx eax, ax
test ebp, eax
jne 0x4398fa
push 0x10
call ebx
test ah, 0x80
je 0x439913
test byte [esi + 0xc], 0x20
jne 0x439913
push 0
push 0x10
mov ecx, esi
call fcn.00439e06
push dword [esi]
call fcn.0043dbc4
pop ecx
push 0x5b
call edi
movsx eax, ax
pop edi
test ebp, eax
pop ebp
jne 0x439929
push 0x5b
call ebx
test ah, 0x80
je 0x439942
test byte [esi + 0xc], 0x80
jne 0x439942
push 0
push 0x5b
mov ecx, esi
call fcn.00439e06
push dword [esi]
call fcn.0043dbc4
pop ecx
pop esi
pop ebx
add esp, 0x100
ret 4
Function at 0x439a75
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 0xf
je 0x439bc2
push ebx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
push edi
jne 0x439ae0
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test al, 8
je 0x439aa9
mov al, byte [esi + 0x20]
push ebx
push ebx
push eax
push 0x5b
call edi
test byte [esi + 0xc], 2
je 0x439ab9
mov al, byte [esi + 0x1c]
push ebx
push ebx
push eax
push 0x10
call edi
test byte [esi + 0xc], 4
je 0x439ac9
mov al, byte [esi + 0x14]
push ebx
push ebx
push eax
push 0x11
call edi
test byte [esi + 0xc], 1
je 0x439bb1
mov al, byte [esi + 0x18]
push ebx
push ebx
push eax
push 0x12
jmp 0x439baf
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0xc]
test al, 8
je 0x439afb
or byte [ebp - 0xa5], 0x80
test al, 2
je 0x439b06
or byte [ebp - 0xf0], 0x80
test al, 4
je 0x439b11
or byte [ebp - 0xef], 0x80
test al, 1
je 0x439b1c
or byte [ebp - 0xee], 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
test byte [esi + 0xc], 8
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov ebx, 0x100
je 0x439b4b
mov eax, dword [esi + 0x20]
shl eax, 0x10
or al, 1
push eax
push 0x5b
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 2
je 0x439b62
mov eax, dword [esi + 0x1c]
shl eax, 0x10
or al, 1
push eax
push 0x10
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 4
je 0x439b79
mov eax, dword [esi + 0x14]
shl eax, 0x10
or al, 1
push eax
push 0x11
push ebx
push dword [esi + 0x10]
call edi
mov eax, dword [esi + 0xc]
mov ecx, eax
and ecx, 1
je 0x439b9c
test al, 4
jne 0x439b9c
mov eax, dword [esi + 0x18]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x439bac
test ecx, ecx
je 0x439bb1
mov eax, dword [esi + 0x18]
shl eax, 0x10
or al, 1
push eax
push 0x12
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 0xf
pop edi
pop ebx
je 0x439bc2
push dword [esi + 4]
call fcn.0043dbc4
pop ecx
pop esi
leave
ret
Function at 0x439bc5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test al, 0xf
je 0x439d1d
push ebx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
push edi
jne 0x439c36
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test al, 1
je 0x439bfa
mov al, byte [esi + 0x18]
push ebx
push 2
push eax
push 0x12
call edi
test byte [esi + 0xc], 4
je 0x439c0b
mov al, byte [esi + 0x14]
push ebx
push 2
push eax
push 0x11
call edi
test byte [esi + 0xc], 2
je 0x439c1c
mov al, byte [esi + 0x1c]
push ebx
push 2
push eax
push 0x10
call edi
test byte [esi + 0xc], 8
je 0x439d13
mov al, byte [esi + 0x20]
push ebx
push 2
push eax
push 0x5b
call edi
jmp 0x439d13
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, eax
mov ebx, 0x101
and ecx, 1
je 0x439c71
test al, 4
jne 0x439c71
mov eax, dword [esi + 0x18]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x439c84
test ecx, ecx
je 0x439c89
mov eax, dword [esi + 0x18]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 4
je 0x439ca3
mov eax, dword [esi + 0x14]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x11
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 2
je 0x439cbd
mov eax, dword [esi + 0x1c]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push ebx
push dword [esi + 0x10]
call edi
test byte [esi + 0xc], 8
je 0x439cd7
mov eax, dword [esi + 0x20]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push ebx
push dword [esi + 0x10]
call edi
mov eax, dword [esi + 0xc]
test al, 8
je 0x439ce5
xor byte [ebp - 0xa5], 0x80
test al, 2
je 0x439cf0
xor byte [ebp - 0xf0], 0x80
test al, 4
je 0x439cfb
xor byte [ebp - 0xef], 0x80
test al, 1
je 0x439d06
xor byte [ebp - 0xee], 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
push dword [esi]
call fcn.0043dbc4
pop ecx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x439d54
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov esi, ecx
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp dword [esi + 0x10], 0
mov edi, eax
je 0x439dd6
cmp ebx, 0x14
je 0x439dd6
cmp ebx, 0x90
je 0x439dd6
cmp ebx, 0x91
je 0x439dd6
push 1
shl edi, 0x10
pop ebx
or edi, ebx
cmp byte [ebp + 0xc], bl
je 0x439da0
push dword [ebp + 8]
mov ecx, esi
call fcn.0043994d
cmp al, bl
jne 0x439da6
or edi, 0x1000000
mov eax, dword [esi + 0xc]
test bl, al
je 0x439dcb
test al, 4
jne 0x439dcb
or edi, 0x20000000
push edi
push dword [ebp + 8]
push 0x104
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x439dff
push edi
push dword [ebp + 8]
push 0x100
jmp 0x439dc0
push 1
pop ebx
cmp byte [ebp + 0xc], bl
je 0x439df2
push dword [ebp + 8]
mov ecx, esi
call fcn.0043994d
cmp al, bl
je 0x439df2
push 0
push 0
jmp 0x439df5
push 0
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x439e06
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
push edi
push 0
mov esi, ecx
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
cmp dword [esi + 0x10], 0
mov edi, eax
je 0x439e83
cmp ebx, 0x14
je 0x439e83
cmp ebx, 0x90
je 0x439e83
cmp ebx, 0x91
je 0x439e83
shl edi, 0x10
or edi, 0xc0000001
cmp byte [esp + 0x14], 1
je 0x439e51
push ebx
mov ecx, esi
call fcn.0043994d
cmp al, 1
jne 0x439e57
or edi, 0x1000000
mov eax, dword [esi + 0xc]
test al, 1
je 0x439e7a
test al, 4
jne 0x439e7a
or edi, 0x20000000
push edi
push ebx
push 0x105
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x439ea8
push edi
push ebx
push 0x101
jmp 0x439e6f
cmp byte [esp + 0x14], 1
je 0x439e9c
push ebx
mov ecx, esi
call fcn.0043994d
cmp al, 1
je 0x439e9c
push 0
push 2
jmp 0x439ea0
push 0
push 3
push edi
push ebx
call dword [sym.imp.USER32.dll_keybd_event]
pop edi
pop esi
pop ebx
ret 8
Function at 0x43a3d6
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
and dword [ebp - 0xc], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov byte [ebp - 1], 1
cmp byte [esi], 0
jne 0x43a3fb
xor al, al
jmp 0x43a517
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x1c]
push esi
and byte [edi], 0
and byte [eax], 0
mov eax, dword [ebp + 0x10]
and byte [ebx], 0
and byte [eax], 0
call fcn.004401c0
inc eax
push eax
call fcn.0043fe70
pop ecx
mov dword [ebp + 8], eax
pop ecx
mov eax, dword [ebp - 8]
mov al, byte [eax + esi]
cmp al, 0x2b
je 0x43a441
cmp al, 0x5e
je 0x43a43d
cmp al, 0x21
je 0x43a43d
cmp al, 0x23
jne 0x43a467
cmp al, 0x2b
jne 0x43a449
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x43a462
cmp al, 0x5e
jne 0x43a452
mov byte [ebx], 1
jmp 0x43a462
cmp al, 0x21
jne 0x43a45b
mov eax, dword [ebp + 0x18]
jmp 0x43a444
cmp al, 0x23
jne 0x43a462
mov byte [edi], 1
inc dword [ebp - 8]
jmp 0x43a427
mov eax, dword [ebp - 8]
mov edi, dword [ebp + 0xc]
mov al, byte [eax + esi]
inc dword [ebp - 8]
cmp al, 0x7b
mov byte [ebp + 0x1c], al
jne 0x43a4d5
lea eax, [ebp - 8]
mov ecx, dword [ebp - 0x10]
push eax
push dword [ebp + 8]
push esi
push 0x7d
call fcn.0043a380
test eax, eax
jne 0x43a4c4
mov esi, 0x457ef0
push dword [ebp + 8]
push dword [esi]
call fcn.00441860
pop ecx
test eax, eax
pop ecx
je 0x43a4b3
inc dword [ebp - 0xc]
add esi, 4
cmp esi, 0x458064
jl 0x43a495
mov eax, dword [ebp - 0xc]
cmp eax, 0x5d
je 0x43a4c4
cmp byte [eax + 0x458064], 0
je 0x43a4ca
and byte [ebp - 1], 0
jmp 0x43a503
mov eax, dword [eax*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
jmp 0x43a503
push dword [ebp + 0x1c]
call dword [sym.imp.USER32.dll_VkKeyScanA]
movsx eax, ax
test ah, 2
mov dword [edi], eax
je 0x43a4eb
mov byte [ebx], 1
test byte [edi + 1], 4
je 0x43a4f7
mov eax, dword [ebp + 0x18]
mov byte [eax], 1
test byte [edi + 1], 1
je 0x43a503
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
push dword [ebp + 8]
and dword [edi], 0xff
call fcn.0044023b
mov al, byte [ebp - 1]
pop ecx
pop edi
pop ebx
pop esi
leave
ret 0x18
Function at 0x43a592
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
xor ebp, ebp
cmp esi, ebp
jne 0x43a5b4
push ebp
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
mov edi, dword [esp + 0x1c]
cmp edi, esi
je 0x43a69a
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x43a5d4
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43a69a
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [esp + 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push ebp
mov ebx, eax
push dword [esp + 0x24]
mov dword [esp + 0x20], ebx
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push ebx
mov dword [esp + 0x1c], eax
call esi
push 1
push edi
push ebx
call esi
push 1
push dword [esp + 0x14]
push edi
call esi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x43a684
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyA]
push ebp
push ebp
push ebp
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push ebp
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push ebp
push 2
push ebp
push 0x12
call edi
push eax
push 0x12
call ebx
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
push ebp
push dword [esp + 0x14]
push ebx
call esi
push ebp
push edi
push ebx
call esi
push ebp
push dword [esp + 0x14]
push edi
call esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4

Function at 0x43a776
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
lea eax, [esi + 0x10]
cmp dword [eax], ebx
je 0x43a792
inc edi
add eax, 8
cmp edi, 0x10
jl 0x43a785
cmp edi, 0x10
jne 0x43a79b
xor eax, eax
jmp 0x43a7fe
cmp byte [esi + 8], 1
jne 0x43a7d5
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 0xc]
push ebx
push 0x438
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push 0x1000
push dword [ebp + 8]
mov dword [esi + edi*8 + 0xc], eax
lea edi, [esi + edi*8 + 0x10]
push ebx
push eax
call dword [esi]
jmp 0x43a7fc
push ebx
push dword [ebp + 8]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebx
push ebx
push ebx
push 0xf001f
mov dword [esi + edi*8 + 0xc], eax
push eax
lea edi, [esi + edi*8 + 0x10]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi], eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x43c2a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 0x18]
push esi
mov esi, dword [ebp + 0x18]
push eax
push 1
push 0
push dword [ebp + 0xc]
and byte [esi], 0
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43c2e8
lea eax, [ebp + 0x14]
push eax
push esi
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret

Function at 0x43c2eb
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x1f4
push 2
push 0
push 0
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutA]
test eax, eax
jne 0x43c33e
lea eax, [ebp + 8]
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp + 8]
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret

Function at 0x43c62e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
xor ebx, ebx
xor esi, esi
cmp edi, ebx
mov byte [0x46d548], bl
je 0x43c674
mov byte [0x46d549], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 8]
push ebx
push eax
push 0x43c6b7
push ebx
push ebx
mov dword [ebp - 4], edi
call fcn.00442e11
add esp, 0x18
mov esi, eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, ebx
mov edi, eax
je 0x43c6a2
push 0xffffffffffffffff
push esi
mov byte [0x46d549], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x46d548], 1
jne 0x43c6b0
or eax, 0xffffffff
jmp 0x43c6b2
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43c876
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 8]
push esi
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x43c8fc
push edi
push esi
call fcn.0043fe70
pop ecx
mov edi, eax
push edi
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push 0x455b28
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43c8f0
mov ecx, dword [ebp - 4]
mov edx, 0xffff
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
and esi, edx
shr ecx, 0x10
push esi
push ecx
mov ecx, eax
and ecx, edx
shr eax, 0x10
push ecx
push eax
push str._u._u._u._u
push dword [ebp + 0xc]
call fcn.00440db3
add esp, 0x18
mov bl, 1
push edi
call fcn.0044023b
pop ecx
mov al, bl
pop edi
jmp 0x43c8fe
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x43c902
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push esi
mov esi, dword [ebp + 8]
push 0x2a
push esi
call fcn.004424f0
pop ecx
test eax, eax
pop ecx
jne 0x43c93a
push 0x3f
push esi
call fcn.004424f0
pop ecx
test eax, eax
pop ecx
jne 0x43c93a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
jmp 0x43c95a
lea eax, [ebp - 0x140]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x43c951
xor al, al
jmp 0x43c95a
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
pop esi
leave
ret

Function at 0x43c95d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43c973
test al, 0x10
je 0x43c973
mov al, 1
ret
xor al, al
ret

Function at 0x43cb08
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
and byte [ebp - 1], 0
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call fcn.0043c976
lea eax, [ebp - 0x108]
push eax
call fcn.0043c95d
add esp, 0xc
test al, al
je 0x43cb4a
lea eax, [ebp - 0x108]
push str..
push eax
call fcn.00440a30
pop ecx
pop ecx
push ebx
lea eax, [ebp - 0x668]
push esi
push eax
lea eax, [ebp - 0x560]
push eax
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0044114d
add esp, 0x14
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x43cc11
cmp bl, 1
jne 0x43cc11
mov eax, dword [ebp - 0x248]
and eax, 0x10
cmp al, 0x10
je 0x43cbf7
lea eax, [ebp - 0x458]
mov byte [ebp - 1], bl
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00440a20
lea eax, [ebp - 0x350]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00440a30
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00440a30
add esp, 0x18
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp eax, 1
jne 0x43cc0d
lea eax, [ebp - 0x248]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43cb94
xor bl, bl
jmp 0x43cb94
xor bl, bl
jmp 0x43cc14
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
pop esi
pop ebx
leave
ret