joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41114d
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x104
and dword [esp], 0
push ebp
mov ebp, dword [esp + 0x10c]
cmp dword [ebp + 0x248], 0
je 0x4111f9
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov al, 0x80
cmp byte [esp + 0x19], al
jne 0x411190
test byte [ebp + 0x245], 1
jne 0x411190
mov dword [esp + 4], 8
cmp byte [esp + 0x1a], al
jne 0x4111a4
test byte [ebp + 0x244], 0x20
jne 0x4111a4
or dword [esp + 4], 1
cmp byte [esp + 0xa8], al
je 0x4111b3
cmp byte [esp + 0x18], al
jne 0x4111c1
test byte [ebp + 0x244], 0x40
jne 0x4111c1
or dword [esp + 4], 2
cmp byte [esp + 0xa9], al
jne 0x4111d8
test byte [ebp + 0x244], 0x80
jne 0x4111d8
or dword [esp + 4], 4
cmp byte [esp + 0x63], al
jne 0x4112ce
test byte [ebp + 0x245], 2
jne 0x4112ce
or dword [esp + 4], 0x10
jmp 0x4112ce
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov esi, 0x8000
test si, ax
jne 0x41121f
push 0x11
call ebx
test si, ax
je 0x411230
test byte [ebp + 0x245], 1
jne 0x411230
mov dword [esp + 0x10], 8
push 0x12
call edi
test si, ax
jne 0x411242
push 0x12
call ebx
test si, ax
je 0x411250
test byte [ebp + 0x244], 0x20
jne 0x411250
or dword [esp + 0x10], 1
mov ebp, 0xa0
push ebp
call edi
test si, ax
jne 0x411265
push ebp
call ebx
test si, ax
je 0x41127a
mov eax, dword [esp + 0x118]
test byte [eax + 0x244], 0x40
jne 0x41127a
or dword [esp + 0x10], 2
mov ebp, 0xa1
push ebp
call edi
test si, ax
jne 0x41128f
push ebp
call ebx
test si, ax
je 0x4112a4
mov eax, dword [esp + 0x118]
test byte [eax + 0x244], 0x80
jne 0x4112a4
or dword [esp + 0x10], 4
push 0x5b
call edi
test si, ax
jne 0x4112b6
push 0x5b
call ebx
test si, ax
je 0x4112cb
mov eax, dword [esp + 0x118]
test byte [eax + 0x245], 2
jne 0x4112cb
or dword [esp + 0x10], 0x10
pop edi
pop esi
pop ebx
mov eax, dword [esp + 4]
pop ebp
add esp, 0x104
ret 4
Function at 0x4113fd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
test bl, 0x1f
je 0x41160e
mov eax, dword [esi + 0x248]
push edi
xor edi, edi
cmp eax, edi
je 0x411578
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x411578
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, ebx
and edi, 0x10
mov al, 0x80
je 0x41144f
or byte [ebp - 0xb5], al
mov dword [ebp - 0xc], ebx
and dword [ebp - 0xc], 2
je 0x411461
or byte [ebp - 0x100], al
or byte [ebp - 0x70], al
mov dword [ebp - 0x10], ebx
and dword [ebp - 0x10], 4
je 0x411473
or byte [ebp - 0x100], al
or byte [ebp - 0x6f], al
mov dword [ebp - 4], ebx
and dword [ebp - 4], 8
je 0x411482
or byte [ebp - 0xff], al
mov dword [ebp - 8], ebx
and dword [ebp - 8], 1
je 0x411491
or byte [ebp - 0xfe], al
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
test edi, edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, 0x100
je 0x4114c6
movzx eax, byte [esi + 0x251]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push ebx
push dword [esi + 0x248]
call edi
cmp dword [ebp - 0xc], 0
je 0x4114e5
movzx eax, byte [esi + 0x24f]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push ebx
push dword [esi + 0x248]
call edi
cmp dword [ebp - 0x10], 0
je 0x411504
movzx eax, byte [esi + 0x250]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push ebx
push dword [esi + 0x248]
call edi
cmp dword [ebp - 4], 0
je 0x411523
movzx eax, byte [esi + 0x24c]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push ebx
push dword [esi + 0x248]
call edi
xor eax, eax
cmp dword [ebp - 8], eax
je 0x411604
cmp dword [ebp - 4], eax
jne 0x41155c
test dword [ebp + 8], ebx
jne 0x41155c
movzx eax, byte [esi + 0x24d]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
push dword [esi + 0x248]
call edi
jmp 0x411604
cmp dword [ebp - 8], eax
je 0x411604
movzx eax, byte [esi + 0x24d]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push ebx
jmp 0x41154f
test bl, 0x10
je 0x411592
xor eax, eax
mov al, byte [esi + 0x251]
push edi
xor ebx, ebx
push eax
push 0x5b
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 2
je 0x4115b0
xor eax, eax
mov al, byte [esi + 0x24f]
push edi
xor ebx, ebx
push eax
push 0xa0
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 4
je 0x4115ce
xor eax, eax
mov al, byte [esi + 0x250]
push edi
xor ebx, ebx
push eax
push 0xa1
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 8
je 0x4115e9
xor eax, eax
mov al, byte [esi + 0x24c]
push edi
xor ebx, ebx
push eax
push 0x11
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 1
je 0x411604
xor eax, eax
mov al, byte [esi + 0x24d]
push edi
xor ebx, ebx
push eax
push 0x12
mov eax, esi
call fcn.00410d58
mov edi, dword [esi + 4]
push esi
call fcn.00411ec2
pop edi
pop ebx
leave
ret 4
Function at 0x411613
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
test byte [ebp + 8], 0x1f
je 0x411828
mov eax, dword [esi + 0x248]
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x411799
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x411799
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
and eax, 1
mov dword [ebp - 0xc], eax
mov edi, 0x101
je 0x41168f
test byte [ebp + 8], 8
jne 0x41168f
test byte [ebp + 9], 1
jne 0x41168f
movzx eax, byte [esi + 0x24d]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x4116a6
test eax, eax
je 0x4116ae
movzx eax, byte [esi + 0x24d]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push edi
push dword [esi + 0x248]
call ebx
mov eax, dword [ebp + 8]
and eax, 8
mov dword [ebp - 4], eax
je 0x4116d4
movzx eax, byte [esi + 0x24c]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x11
push edi
push dword [esi + 0x248]
call ebx
mov eax, dword [ebp + 8]
and eax, 2
mov dword [ebp - 8], eax
je 0x4116fa
movzx eax, byte [esi + 0x24f]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push edi
push dword [esi + 0x248]
call ebx
mov eax, dword [ebp + 8]
and eax, 4
mov dword [ebp - 0x10], eax
je 0x411720
movzx eax, byte [esi + 0x250]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push edi
push dword [esi + 0x248]
call ebx
mov eax, dword [ebp + 8]
and eax, 0x10
mov dword [ebp + 8], eax
je 0x411746
movzx eax, byte [esi + 0x251]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push edi
push dword [esi + 0x248]
call ebx
xor ecx, ecx
cmp dword [ebp + 8], ecx
mov al, 0x80
je 0x411755
xor byte [ebp - 0xb5], al
cmp dword [ebp - 8], ecx
je 0x411763
xor byte [ebp - 0x100], al
xor byte [ebp - 0x70], al
cmp dword [ebp - 0x10], ecx
je 0x411771
xor byte [ebp - 0x100], al
xor byte [ebp - 0x6f], al
cmp dword [ebp - 4], ecx
je 0x41177c
xor byte [ebp - 0xff], al
cmp dword [ebp - 0xc], ecx
je 0x411787
xor byte [ebp - 0xfe], al
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x41181e
test byte [ebp + 8], 1
push 2
pop ebx
je 0x4117b5
xor eax, eax
mov al, byte [esi + 0x24d]
push edi
push eax
push 0x12
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 8
je 0x4117ce
xor eax, eax
mov al, byte [esi + 0x24c]
push edi
push eax
push 0x11
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], bl
je 0x4117e9
xor eax, eax
mov al, byte [esi + 0x24f]
push edi
push eax
push 0xa0
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 4
je 0x411805
xor eax, eax
mov al, byte [esi + 0x250]
push edi
push eax
push 0xa1
mov eax, esi
call fcn.00410d58
test byte [ebp + 8], 0x10
je 0x41181e
xor eax, eax
mov al, byte [esi + 0x251]
push edi
push eax
push 0x5b
mov eax, esi
call fcn.00410d58
mov edi, dword [esi]
push esi
call fcn.00411ec2
pop edi
pop ebx
leave
ret 4
Function at 0x41184f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, eax
push 0
push ebx
mov edi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
cmp dword [edi + 0x248], ecx
mov esi, eax
je 0x411912
cmp ebx, 0x14
je 0x411912
cmp ebx, 0x90
je 0x411912
cmp ebx, 0x91
je 0x411912
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
or byte [ebp + ebx - 0x100], 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
shl esi, 0x10
or esi, 1
cmp byte [ebp + 8], 1
je 0x4118ce
mov eax, ebx
call fcn.004112dc
cmp al, 1
jne 0x4118d4
or esi, 0x1000000
mov ecx, dword [edi + 0x244]
test cl, 0x21
mov eax, 0x100
jne 0x4118e9
cmp ebx, 0x12
jne 0x41190d
test cl, 8
jne 0x41190d
test eax, ecx
jne 0x41190d
or esi, 0x20000000
push esi
push ebx
push 0x104
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x411937
push esi
push ebx
push eax
jmp 0x4118ff
cmp byte [ebp + 8], 1
je 0x41192a
mov eax, ebx
call fcn.004112dc
cmp al, 1
je 0x41192a
push ecx
push esi
push ebx
xor ebx, ebx
jmp 0x411930
push ecx
push esi
push ebx
xor ebx, ebx
inc ebx
mov eax, edi
call fcn.00410d58
push edi
mov edi, dword [edi + 4]
call fcn.00411ec2
pop edi
pop esi
pop ebx
leave
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
mov ebx, eax
push 0
push ebx
mov edi, ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ecx, ecx
cmp dword [edi + 0x248], ecx
mov esi, eax
je 0x411a11
cmp ebx, 0x14
je 0x411a11
cmp ebx, 0x90
je 0x411a11
cmp ebx, 0x91
je 0x411a11
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
shl esi, 0x10
or esi, 0xc0000001
cmp byte [ebp + 8], 1
je 0x4119b8
mov eax, ebx
call fcn.004112dc
cmp al, 1
jne 0x4119be
or esi, 0x1000000
mov eax, dword [edi + 0x244]
test al, 0x21
jne 0x4119cd
cmp ebx, 0x12
jne 0x4119e5
test al, 8
jne 0x4119e5
test ah, 1
jne 0x4119e5
or esi, 0x20000000
push esi
push ebx
push 0x105
jmp 0x4119ec
push esi
push ebx
push 0x101
push dword [edi + 0x248]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp + ebx - 0x100]
xor byte [eax], 0x80
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x411a36
cmp byte [ebp + 8], 1
je 0x411a29
mov eax, ebx
call fcn.004112dc
cmp al, 1
je 0x411a29
push ecx
push esi
push ebx
push 2
jmp 0x411a2e
push ecx
push esi
push ebx
push 3
mov eax, edi
pop ebx
call fcn.00410d58
push edi
mov edi, dword [edi]
call fcn.00411ec2
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x411ec2
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
test edi, edi
jl 0x411f62
jne 0x411edf
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x411f62
mov eax, dword [ebp + 8]
mov al, byte [eax + 0x219]
neg al
push esi
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x411f5a
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [ebp - 0x10]
push eax
call esi
test eax, eax
je 0x411f5a
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
call esi
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fstp qword [ebp - 0x28]
fild qword [ebp - 0x20]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x28]
fdiv qword [ebp - 0x30]
fmul qword [0x461700]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.00457c24
cmp eax, edi
jb 0x411f11
jmp 0x411f61
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
leave
ret 4
Function at 0x411f66
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
xor ebx, ebx
cmp word [eax], bx
push esi
mov esi, ecx
mov byte [ebp - 1], 1
mov dword [ebp - 0xc], ebx
jne 0x411f85
xor al, al
jmp 0x4120a1
push ebx
push eax
call fcn.00416735
mov ecx, dword [ebp + 0x14]
mov byte [edi], bl
mov byte [ecx], bl
mov ecx, dword [ebp + 0x10]
mov byte [esi], bl
push eax
mov dword [ebp - 0x10], eax
mov byte [ecx], bl
call fcn.004494b0
inc eax
push eax
call fcn.00448b1a
add esp, 0x10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + ebx]
cmp al, 0x2b
je 0x411fca
cmp al, 0x5e
je 0x411fc6
cmp al, 0x21
je 0x411fc6
cmp al, 0x23
jne 0x411fee
cmp al, 0x2b
jne 0x411fd2
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x411feb
cmp al, 0x5e
jne 0x411fdb
mov byte [esi], 1
jmp 0x411feb
cmp al, 0x21
jne 0x411fe4
mov eax, dword [ebp + 0x14]
jmp 0x411fcd
cmp al, 0x23
jne 0x411feb
mov byte [edi], 1
inc ebx
jmp 0x411fb0
mov al, byte [ecx + ebx]
inc ebx
cmp al, 0x7b
mov byte [ebp - 0x18], al
mov dword [ebp - 0x14], ebx
jne 0x412052
mov ebx, dword [ebp - 8]
lea edx, [ebp - 0x14]
mov esi, ecx
add al, 2
call fcn.00411e85
test eax, eax
jne 0x41203e
push dword [ebp - 8]
mov esi, dword [ebp - 0xc]
push dword [esi*4 + 0x465528]
call fcn.00455f4e
test eax, eax
pop ecx
pop ecx
je 0x412030
inc esi
cmp esi, 0x62
mov dword [ebp - 0xc], esi
jl 0x41200f
cmp esi, 0x62
je 0x41203e
cmp byte [esi + 0x4656b0], 0
je 0x412044
mov byte [ebp - 1], 0
jmp 0x412083
mov eax, dword [esi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
jmp 0x412083
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [ebp + 0xc]
movsx eax, ax
test ah, 2
mov dword [ecx], eax
je 0x41206b
mov byte [esi], 1
test byte [ecx + 1], 4
je 0x412077
mov eax, dword [ebp + 0x14]
mov byte [eax], 1
test byte [ecx + 1], 1
je 0x412083
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 0xc]
push dword [ebp - 0x10]
and dword [eax], 0xff
call fcn.00448a22
push dword [ebp - 8]
call fcn.00448a22
mov al, byte [ebp - 1]
pop ecx
pop ecx
pop esi
pop ebx
leave
ret 0x10
Function at 0x4121c5
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
sub esp, 0x10
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov edi, dword [esp + 0x1c]
mov esi, eax
cmp edi, esi
jne 0x4121e2
xor eax, eax
inc eax
jmp 0x4122de
push ebp
xor ebp, ebp
cmp esi, ebp
jne 0x4121f7
push ebp
push 0x45c4d8
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push edi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x41220b
push 9
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebp
jne 0x4122dd
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [esp + 0x18], edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
push ebp
push dword [esp + 0x28]
mov ebx, eax
mov dword [esp + 0x24], 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 + 0x24]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x4122c3
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
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 + 0x24]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
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
mov eax, dword [esp + 0x14]
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x4123ac
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
xor ebx, ebx
xor edi, edi
lea eax, [esi + 0x20]
cmp dword [eax], ebx
je 0x4123c5
inc edi
add eax, 8
cmp edi, 0x10
jl 0x4123b8
cmp edi, 0x10
jne 0x4123ce
xor eax, eax
jmp 0x412438
cmp byte [esi + 0x18], 1
jne 0x41240f
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 + 0x1c], eax
push ebx
push eax
mov eax, esi
lea edi, [esi + edi*8 + 0x20]
call fcn.004124ce
call eax
jmp 0x412436
push ebx
push dword [ebp + 8]
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingW]
push ebx
push ebx
push ebx
push 0xf001f
mov dword [esi + edi*8 + 0x1c], eax
push eax
lea edi, [esi + edi*8 + 0x20]
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [edi], eax
pop edi
pop ebx
pop ebp
ret 8
Function at 0x413ff2
Capabilities:
Read file on windows

Disassembly:
test byte [esi], 4
push ebx
je 0x414020
mov ebx, dword [edi]
push 0
push edi
push ebx
push dword [esp + 0x14]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x414045
and dword [edi], eax
push 1
push eax
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
jmp 0x414041
push dword [esi + 4]
push dword [edi]
push 1
push dword [esp + 0x14]
call fcn.0044a33f
mov dword [edi], eax
mov eax, dword [esi + 4]
add esp, 0x10
test byte [eax + 0xc], 0x20
je 0x414045
and dword [edi], 0
xor al, al
jmp 0x414047
mov al, 1
pop ebx
ret 4

Function at 0x4143b1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push edi
add eax, eax
mov dword [ebp + 0x14], eax
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push dword [ebp + 0xc]
mov word [esi], di
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4143fe
lea eax, [ebp + 0x14]
push eax
push esi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp + 0x14], edi
je 0x4143f5
shr dword [ebp + 0x14], 1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
leave
ret

Function at 0x414401
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
xor esi, esi
push esi
push esi
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 8]
push eax
push 0x1f4
push 2
push esi
push esi
push 0x10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
jne 0x414461
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push esi
push 0x1f0fff
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_TerminateProcess]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
leave
ret
Function at 0x414ae4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
jne 0x414b04
xor al, al
jmp 0x414c9c
push ebx
push edi
push esi
call fcn.00448b1a
pop ecx
push eax
push esi
push 0
push dword [ebp + 8]
mov dword [ebp - 4], eax
call sub.VERSION.dll_GetFileVersionInfoW
mov ebx, dword [ebp + 0x10]
push ebx
call fcn.00448d62
lea eax, [eax + eax + 0x34]
push eax
call fcn.00448b1a
mov esi, 0x45c0ac
mov edi, eax
push esi
push edi
call fcn.00448afe
push esi
push ebx
call fcn.00448c09
add esp, 0x18
test eax, eax
je 0x414bd2
push str.StringFileInfo_
push edi
call fcn.00448ad4
push esi
push ebx
call fcn.00448eb2
add esp, 0x10
test eax, eax
jne 0x414bc9
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push str.VarFileInfoTranslation
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414ba9
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
push eax
push 4
lea ebx, [edi + 0x20]
pop edx
mov dword [ebp - 0x10], eax
call fcn.0041637d
mov eax, dword [ebp - 0x10]
shr eax, 0x10
lea ebx, [edi + 0x28]
push eax
call fcn.0041637d
mov ebx, dword [ebp + 0x10]
jmp 0x414bb4
push str.04090000
push edi
call fcn.00448ad4
pop ecx
pop ecx
push esi
push edi
call fcn.00448ad4
push ebx
push edi
call fcn.00448ad4
add esp, 0x10
jmp 0x414bd2
push ebx
push edi
call fcn.00448ad4
pop ecx
pop ecx
push str.DefaultLangCodepage
push ebx
call fcn.00448a27
test eax, eax
pop ecx
pop ecx
jne 0x414c0f
mov esi, dword [ebp + 0xc]
push 8
lea eax, [edi + 0x20]
push eax
push esi
call fcn.00449187
push dword [ebp - 4]
and word [esi + 0x10], 0
call fcn.00448a22
push edi
call fcn.00448a22
add esp, 0x14
mov al, 1
jmp 0x414c9a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x414c88
push esi
push ebx
call fcn.00448c09
test eax, eax
pop ecx
pop ecx
jne 0x414c63
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov esi, ecx
mov edx, 0xffff
and esi, edx
push esi
shr ecx, 0x10
push ecx
mov ecx, eax
and ecx, edx
push ecx
shr eax, 0x10
push eax
push str._u._u._u._u
push dword [ebp + 0xc]
call fcn.00448d78
add esp, 0x18
jmp 0x414c76
push 0x200
push dword [ebp - 8]
push dword [ebp + 0xc]
call fcn.00449187
add esp, 0xc
push dword [ebp - 4]
call fcn.00448a22
push edi
call fcn.00448a22
mov al, 1
jmp 0x414c98
push dword [ebp - 4]
call fcn.00448a22
push edi
call fcn.00448a22
xor al, al
pop ecx
pop ecx
pop edi
pop ebx
pop esi
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x414cf1
lea eax, [ebp - 0x250]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x414ce4
or eax, eax
leave
ret
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [ebp - 0x250]
leave
ret
Function at 0x414cf3
Capabilities:
Check if file exists
Get file attributes

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

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc90
push dword [ebp + 8]
lea eax, [ebp - 0x210]
mov byte [ebp - 1], 0
call fcn.00414d0c
lea eax, [ebp - 0x210]
push eax
call fcn.00414cf3
test al, al
pop ecx
pop ecx
je 0x414ed8
lea eax, [ebp - 0x210]
push 0x45c808
push eax
call fcn.00448ad4
pop ecx
pop ecx
push ebx
push esi
lea eax, [ebp - 0xc90]
push eax
lea eax, [ebp - 0xa84]
push eax
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00449756
add esp, 0x14
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
mov bl, 1
je 0x414f9b
cmp bl, 1
jne 0x414f9b
test byte [ebp - 0x460], 0x10
jne 0x414f81
lea eax, [ebp - 0x878]
push eax
lea eax, [ebp - 0x210]
push eax
mov byte [ebp - 1], bl
call fcn.00448afe
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00448ad4
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.00448ad4
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x414f97
lea eax, [ebp - 0x460]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x414f22
xor bl, bl
jmp 0x414f22
xor bl, bl
jmp 0x414f9e
mov bl, byte [ebp - 1]
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop esi
mov al, bl
pop ebx
leave
ret