joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446a94
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x466cf4]
cmp byte [eax + 0xc], 0
je 0x446c01
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446bfa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46a548], 0
jne 0x446ae8
push 0x446c08
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x446c10
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a548], eax
cmp dword [0x466584], 0
jne 0x446be3
push 0x446c20
call sub.kernel32.dll_LoadLibraryA
mov dword [0x466584], eax
cmp dword [0x466584], 0
je 0x446be3
push 0x446c2c
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a54c], eax
push 0x446c3c
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a550], eax
push 0x446c50
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a554], eax
push 0x446c68
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a558], eax
push 0x446c80
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a55c], eax
push 0x446c94
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a560], eax
push 0x446cac
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a564], eax
push 0x446cc4
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a568], eax
push 0x446ce0
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a56c], eax
push 0x446cec
mov eax, dword [0x466584]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46a570], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446c01
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44c248
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c29c]
test si, 4
je 0x44c25d
or bl, 1
test si, 8
je 0x44c267
or bl, 4
test si, 1
je 0x44c271
or bl, 8
test si, 2
je 0x44c27b
or bl, 0x10
test si, 0x10
je 0x44c285
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c294
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44c2a0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44c2dc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2ba
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c2c9
or bl, 4
test esi, 0x20000000
je 0x44c2d4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4539ac
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4539be
add esp, 0xfffffff0
call fcn.00403bbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da68
mov eax, dword [0x466964]
mov dword [eax + 4], ebx
mov dword [eax], 0x453d50
mov eax, dword [0x466970]
mov dword [eax + 4], ebx
mov dword [eax], 0x453d5c
mov eax, ebx
call fcn.00453d68
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
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 + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f7e4
push eax
push 0
push 0
mov eax, dword [0x466adc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42160c]
call fcn.00422e28
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42160c]
call fcn.00422e28
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42160c]
call fcn.00422e28
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454198
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454068
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454068
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454068
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453afb
call fcn.00403c14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453e4c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453ff7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453fd8
mov dl, 1
mov eax, dword [0x415c88]
call fcn.00403868
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453fc7
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.00446df0
test al, al
je 0x453fba
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x454008
lea eax, [ebp - 0x254]
call fcn.004098ec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453fba
xor eax, eax
push ebp
push 0x453fb3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x454040
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453f9c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404934
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x453f9c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404934
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453fba
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453ebd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419968
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ffe
lea eax, [ebp - 0x260]
call fcn.004046c4
ret

Function at 0x454970
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46a580]
cmp byte [eax + 0xad], 0
jne 0x4549e1
cmp dword [0x46a598], 0
jne 0x4549a2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45492c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46a598], eax
cmp dword [0x46a594], 0
jne 0x4549bd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46a594], eax
cmp dword [0x46a59c], 0
jne 0x4549e1
push esp
push 0
push 0
push 0x4548d0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46a59c], eax
pop edx
ret
Function at 0x454bb4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454bcb
add esp, 0xfffffff0
call fcn.00403bbc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041da68
mov eax, dword [0x466ac4]
cmp word [eax + 2], 0
jne 0x454bf3
mov eax, dword [0x466ac4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456664
mov eax, dword [0x466b7c]
cmp word [eax + 2], 0
jne 0x454c0d
mov eax, dword [0x466b7c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456870
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415864]
call fcn.00403868
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4220e4]
call fcn.00429c74
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x454dc4
mov eax, dword [0x4669d0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a048
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x456f30
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4669d0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d11c
test eax, eax
je 0x454d14
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092a4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d150
test eax, eax
je 0x454d28
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404934
mov byte [ebx + 0xd4], 0
push ebx
push 0x4561c4
call fcn.0041ebe4
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4668a0]
cmp byte [eax], 0
jne 0x454d79
mov eax, ebx
call fcn.00454f08
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045710c
mov eax, ebx
call fcn.00457c6c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454db9
call fcn.00403c14
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455188
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46a580]
cmp dword [eax + 0x30], 0
je 0x455232
cmp dword [ebx + 0x94], 0
jne 0x45522c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455118
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45522c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4551f2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45522c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00417c10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455201
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x455f4c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x455f81
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004047b4
jmp 0x455f8e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404718
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4572f0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45735e
mov eax, esi
call fcn.00441cac
test al, al
je 0x45735e
mov eax, dword [ebx + 0x84]
call fcn.00441950
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45735e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x457352
push 0
mov eax, dword [ebx + 0x84]
call fcn.00441950
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00439e5c
jmp 0x45735e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045712c
pop esi
pop ebx
ret
Function at 0x2e0026f3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e002752
push esi
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp + 0xc]
lea edx, [ebp + 0x10]
push edx
push 0
push eax
push ecx
mov dword [ebp + 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp + 0xc]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x2e002752
cmp dword [ebp + 0x10], 4
mov eax, dword [ebp - 4]
je 0x2e002755
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x2e00275b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x2e002784
xor al, al
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
lea ecx, [eax + eax - 2]
push esi
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0x14]
xor edx, edx
mov word [ecx + eax*2 - 2], dx
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x2e0027cb
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2e002816
mov edx, dword [ebp + 0x10]
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
ret 0x10

Function at 0x2e00281a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp + 0xc]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x2e00287f
mov edx, dword [ebp + 0x14]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2e00284d
sub eax, esi
sar eax, 1
lea ecx, [eax + eax + 2]
mov eax, dword [ebp + 0xc]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push 1
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
ret 0x10
Function at 0x2e00299c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x2e001548
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e002a09
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2e001878
push ecx
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x2e002a09
cmp dword [ebp - 0xc], 4
jne 0x2e002a09
xor eax, eax
cmp dword [ebp - 0x10], eax
setne al
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x2e002a0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
call fcn.2e00299c
test al, al
jne 0x2e002a85
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x2e0014d8
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e002a85
push esi
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
push 0x2e001878
push ecx
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
push edx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x2e002a85
cmp dword [ebp - 0xc], 4
jne 0x2e002a85
cmp dword [ebp - 0x10], 0
jne 0x2e002a85
xor al, al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x2e0033c4
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
mov eax, dword [0x2e00217c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x2e00c094]
push esi
push 1
push 0x2e001a6c
push eax
push 0x80000001
call fcn.2e0026f3
push 0
push 0x2e001a3c
push 0x2e0014d8
push 0x80000001
mov esi, eax
call fcn.2e0026f3
test eax, eax
jne 0x2e003413
test esi, esi
jne 0x2e0034de
mov edx, dword [0x2e00c2cc]
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push edi
push 0x28
lea ecx, [ebp - 0x54]
push ecx
push 0x2710
push edx
call esi
mov ecx, dword [0x2e00c2cc]
push 0x280
lea eax, [ebp - 0x554]
push eax
push 0x2731
push ecx
call esi
push 0
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x554]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [0x2e00c094]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x558]
push ecx
push 0x20006
push 0
push edx
push 0x80000001
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x2e0034a7
mov eax, dword [ebp - 0x558]
push 0x2e001a6c
push eax
call edi
mov ecx, dword [ebp - 0x558]
push ecx
call ebx
lea edx, [ebp - 0x558]
push edx
push 0x20006
push 0
push 0x2e0014d8
push 0x80000001
call esi
test eax, eax
jne 0x2e0034dc
mov eax, dword [ebp - 0x558]
push 0x2e001a3c
push eax
call edi
mov ecx, dword [ebp - 0x558]
push ecx
call ebx
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e008550
mov esp, ebp
pop ebp
ret
Function at 0x2e003590
Capabilities:
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb40
mov eax, dword [0x2e00217c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll__snwprintf_s]
push eax
push 0x2e001ad8
push 0xffffffffffffffff
mov dword [ebp - 0xb3c], eax
lea eax, [ebp - 0x490]
push 0x104
push eax
call ebx
add esp, 0x14
cmp eax, 0xffffffff
je 0x2e003729
lea ecx, [ebp - 0xb38]
push ecx
lea edx, [ebp - 0x490]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xb40], eax
cmp eax, 0xffffffff
je 0x2e003729
push esi
push edi
lea ebx, [ebx]
lea eax, [ebp - 0xb0c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x2e003608
sub eax, edx
sar eax, 1
lea ecx, [eax - 0x31]
cmp ecx, 0x13
ja 0x2e003704
cmp word [ebp - 0xac0], 0x20
jne 0x2e003704
mov ecx, 0x13
lea esi, [ebp - 0xb0c]
lea edi, [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + eax - 0x60]
push esi
lea eax, [ebp - 0xabe]
push eax
lea ecx, [ebp - 0x30]
xor edx, edx
push ecx
mov word [ebp - 0x34], dx
call sub.MSVCR90.dll_memcpy
mov ecx, dword [ebp - 0xb3c]
lea eax, [ebp - 0xb0c]
push eax
push ecx
push 0x2e001acc
xor edx, edx
push 0xffffffffffffffff
mov word [ebp + esi - 0x30], dx
lea edx, [ebp - 0x698]
push 0x104
push edx
call ebx
add esp, 0x24
cmp eax, 0xffffffff
je 0x2e003704
mov ecx, dword [ebp - 0xb3c]
lea eax, [ebp - 0x80]
push eax
push ecx
push 0x2e001ab8
push 0xffffffffffffffff
lea edx, [ebp - 0x288]
push 0x104
push edx
call ebx
add esp, 0x18
cmp eax, 0xffffffff
je 0x2e003704
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x698]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x2e003704
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x288]
push eax
push 0x2e001a90
push 0xffffffffffffffff
lea ecx, [ebp - 0x8e8]
push 0x104
push ecx
call ebx
add esp, 0x18
cmp eax, 0xffffffff
je 0x2e003704
push 0
lea edx, [ebp - 0x8e8]
push edx
call fcn.2e002b0a
mov esi, dword [ebp - 0xb40]
lea eax, [ebp - 0xb38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x2e0035fc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e008550
mov esp, ebp
pop ebp
ret 4
Function at 0x2e003d38
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x2e0099b4
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x2e00217c]
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
cmp dword [0x2e00c2cc], 0
jne 0x2e003f09
lea eax, [ebp - 0x22c]
push eax
push 0x20019
push 0
push 0x2e0015c8
push 0x80000001
mov esi, 0x409
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e003e13
lea ecx, [ebp - 0x238]
push ecx
mov ecx, dword [ebp - 0x22c]
lea edx, [ebp - 0x234]
push edx
lea eax, [ebp - 0x230]
push eax
push 0
push 0x2e001b8c
mov ebx, 4
push ecx
mov dword [ebp - 0x238], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 0x22c]
push edx
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
jne 0x2e003e13
cmp dword [ebp - 0x230], ebx
jne 0x2e003e13
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x2e003e13
mov esi, eax
cmp eax, 0x404
jne 0x2e003e13
push eax
push 0x2e001b74
push 0x2e001628
push 0x80000001
call fcn.2e0026f3
mov esi, eax
mov eax, dword [0x2e002010]
mov dword [ebp - 0x220], eax
push 0
push 0
push 0
push 0
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.2e007af7
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0x2e001428
mov dword [ebp - 0x228], 0x104
call ebx
mov esi, eax
push 0x2e0018d0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x2e0013fc
lea ecx, [ebp - 0x224]
mov edi, eax
call fcn.2e007836
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 1
call 0x2e007c82
mov ecx, dword [ebp - 0x224]
lea edx, [ebp - 0x228]
push edx
lea eax, [ebp - 0x21c]
push eax
push 0xfffffffffffffffe
push ecx
push 0x2e001488
call edi
test eax, eax
jne 0x2e003eb6
lea edx, [ebp - 0x21c]
push edx
call ebx
mov dword [0x2e00c2cc], eax
lea eax, [ebp - 0x228]
push eax
push 0x2e00c2d0
push 0xfffffffffffffffe
push 0x2e001410
push 0x2e001438
call edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x224]
test eax, eax
je 0x2e003ef0
cmp word [eax], 0
je 0x2e003ef0
add eax, 0xfffffff8
push eax
call fcn.2e00733b
mov eax, dword [ebp - 0x220]
test eax, eax
je 0x2e003f09
cmp word [eax], 0
je 0x2e003f09
add eax, 0xfffffff8
push eax
call fcn.2e00733b
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.2e008550
mov esp, ebp
pop ebp
ret