joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7e30
Capabilities:
Create process on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f73d0
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [esp + 0x90]
lea ecx, [esp + 0x58]
mov dword [esp + 0x14], eax
xorps xmm0, xmm0
mov eax, dword [esp + 0x94]
push edx
mov dword [esp + 0x1c], eax
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], 0
call fcn.00412780
mov dword [esp + 0x88], 0
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
test esi, esi
je 0x4b7f06
lea ecx, [esi - 1]
lea ecx, [ebx + ecx*2]
mov eax, ecx
cmp word [eax], 0x2e
je 0x4b7ed1
lea ecx, [ecx]
cmp eax, ebx
je 0x4b8043
sub eax, 2
cmp word [eax], 0x2e
jne 0x4b7ec0
sub eax, ebx
sar eax, 1
movzx edx, word [ecx]
cmp edx, 0x5c
je 0x4b7efa
lea ecx, [ecx]
cmp dx, 0x2f
je 0x4b7efa
cmp ecx, ebx
je 0x4b804b
movzx edx, word [ecx - 2]
sub ecx, 2
cmp edx, 0x5c
jne 0x4b7ee0
sub ecx, ebx
sar ecx, 1
test eax, eax
js 0x4b7f06
cmp eax, ecx
jge 0x4b7f41
cmp dword [esp + 0x60], esi
jne 0x4b7f2b
mov eax, esi
lea ecx, [esp + 0x58]
shr eax, 1
add esi, 0x10
add eax, esi
and eax, 0xfffffff0
dec eax
push eax
call fcn.00412180
mov esi, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
mov eax, 0x2e
xor ecx, ecx
mov word [ebx + esi*2], ax
lea eax, [esi + 1]
mov word [ebx + eax*2], cx
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
mov dword [esp + 0x1c], 0x3c
xorps xmm0, xmm0
mov dword [esp + 0x20], 0x140
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
movq qword [esp + 0x68], xmm0
mov dword [esp + 0x70], 0
call fcn.00412780
mov byte [esp + 0x88], 1
lea ecx, [esp + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x78], 0
push edi
movq qword [esp + 0x74], xmm0
call fcn.00412780
mov esi, dword [esp + 0x70]
xor ecx, ecx
cmp dword [esp + 0x74], ecx
mov eax, esi
mov edi, dword [esp + 0x64]
cmove eax, ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x58], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x54]
mov ebp, dword [esp + 0x3c]
push esi
mov dword [ecx], eax
call fcn.004df97b
push edi
mov byte [esp + 0x90], 0
call fcn.004df97b
add esp, 8
cmp ebp, 0x20
ja 0x4b8053
cmp ebp, 0x1f
jne 0x4b803c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [esp + 0x64]
call fcn.00416e30
push 0x10
push 0x502ee0
push dword [eax]
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_MessageBoxW]
push dword [esp + 0x64]
call fcn.004df97b
add esp, 4
mov esi, 0x80004005
jmp 0x4b8055
or eax, 0xffffffff
jmp 0x4b7ed5
or ecx, 0xffffffff
jmp 0x4b7efe
xor esi, esi
push ebx
mov dword [esp + 0x8c], 0xffffffff
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.004df96c
add esp, 0x78
ret 8
Function at 0x4bbe70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f79b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.0048c0c0
lea eax, [esp + 0xc]
mov dword [esp + 0x38], 0
push eax
mov ecx, esi
call fcn.004bc220
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0xffffffff
mov esi, eax
call fcn.00410a70
push dword [esp + 0x14]
call fcn.004df97b
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4bda30
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f7c08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xc]
mov eax, dword [ecx + 0xe4]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
je 0x4bdaa5
push 0x51c2b0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x298e48
push eax
call fcn.004ea58e
mov ax, word [esp + 0xc]
cmp ax, 0xb
jne 0x4bdae2
cmp word [esp + 0x14], 0
lea ecx, [esp + 0xc]
setne bl
call fcn.0041d410
mov al, bl
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret 8
test ax, ax
jne 0x4bdaeb
xor al, al
jmp 0x4bdac4
push 0x51c2b0
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x298e49
push eax
call fcn.004ea58e
int3
Function at 0x4bf630
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
push 0x12
mov edi, ecx
call esi
shr eax, 0xf
and eax, 0xffffff01
push 0x11
mov dword [esp + 0x14], eax
call esi
movzx ebx, ax
shr ebx, 0xf
push 0x10
and bl, 1
call esi
shr eax, 0xf
and al, 1
jne 0x4bf67d
cmp byte [esp + 0x10], al
je 0x4bf699
test bl, bl
jne 0x4bf699
mov ecx, edi
pop edi
pop esi
pop ebx
add esp, 8
jmp fcn.004c0170
cmp byte [esp + 0x10], 0
jne 0x4bf699
test bl, bl
jne 0x4bf699
xor al, al
mov ecx, edi
push eax
call fcn.004bd1a0
pop edi
pop esi
pop ebx
add esp, 8
ret
mov al, 1
mov ecx, edi
push eax
call fcn.004bd1a0
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x4c7e10
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8b3f
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov word [edi], 0
mov byte [edi + 2], 1
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], 0xffffffff
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0xffffffff
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0xffffffff
mov dword [edi + 0x2c], 0xffffffff
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0xffffffff
push 8
mov dword [edi + 0x38], 0
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4c7ec0
mov byte [esp + 0xd], al
lea eax, [esp + 0xd]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 3
mov word [eax], cx
mov dword [esp + 0x20], ecx
push 8
mov dword [edi + 0x44], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4c7efe
mov byte [esp + 0xe], al
lea eax, [esp + 0xe]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [edi + 0x44], eax
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 3
mov word [eax], cx
mov byte [esp + 0x20], 1
push 8
mov dword [edi + 0x50], ecx
call fcn.004df9b3
add esp, 4
test eax, eax
jne 0x4c7f3d
mov byte [esp + 0xf], al
lea eax, [esp + 0xf]
push 0x51c2c8
push eax
call fcn.004ea58e
xor ecx, ecx
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 3
mov word [eax], cx
mov byte [edi + 0x5c], cl
mov dword [edi + 0x60], ecx
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], ecx
lea esi, [edi + 0x6c]
mov byte [esp + 0x20], 3
mov ecx, esi
mov dword [esp + 0x14], esi
call fcn.004649e0
lea ecx, [esi + 0x18]
mov byte [esp + 0x20], 4
call fcn.004649e0
lea ecx, [edi + 0x9c]
mov byte [esp + 0x20], 5
call fcn.004108b0
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4c8060
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f30b8
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 4], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [esp + 0x38]
lea esi, [ebx + 0x9c]
push esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x28]
lea ecx, [ebx + 0x50]
mov dword [esp + 0x20], 0
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x30]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x34]
push edi
mov dword [ebx + 0xc], eax
call fcn.004128e0
cmp byte [ebx], 0
mov al, byte [esp + 0x3c]
mov byte [ebx + 0x5c], al
je 0x4c80e8
mov edi, 0x80004004
jmp 0x4c80f0
cmp byte [ebx + 1], 0
jne 0x4c8103
xor edi, edi
push esi
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
jmp 0x4c8119
push esi
mov dword [esp + 0x24], 0xffffffff
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, ebx
call fcn.004c7fb0
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004df96c
add esp, 0x14
ret 0x18

Function at 0x4c8760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3cf8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc], eax
push ebx
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
mov ebx, dword [esp + 0x30]
xorps xmm0, xmm0
movq qword [esp + 0xc], xmm0
mov dword [esp + 0x14], 0
call fcn.00416e30
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x24], 0
jne 0x4c87d1
push 0x50546c
lea ecx, [esp + 0x10]
call fcn.00412a60
push ebx
push dword [esp + 0x10]
mov ecx, edi
call fcn.004c8630
mov dword [esp + 0x24], 0xffffffff
push dword [esp + 0xc]
call fcn.004df97b
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.004df96c
add esp, 0x1c
ret 8
Function at 0x4c8e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f8e0b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], vtable.CProgressDialog.0
mov dword [esp + 0x14], 0x11
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4c8e53
mov edx, dword [esi + 0xc0]
test edx, edx
je 0x4c8e53
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 0x501180
mov ecx, esi
call fcn.004c8fc0
mov byte [esp + 0x14], 0x10
push dword [esi + 0x218]
call fcn.004df97b
mov byte [esp + 0x18], 0xf
push dword [esi + 0x20c]
call fcn.004df97b
add esp, 8
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0x148]
call fcn.004c8d40
mov byte [esp + 0x14], 0xd
mov eax, dword [esi + 0x140]
test eax, eax
je 0x4c8ebe
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4c8eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4c8ebe
mov dword [esi + 0x140], 0
mov byte [esp + 0x14], 0xc
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x4c8eea
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4c8ee0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4c8eea
mov dword [esi + 0x13c], 0
mov byte [esp + 0x14], 0xb
push dword [esi + 0x108]
call fcn.004df97b
mov byte [esp + 0x18], 0xa
add esp, 4
mov ecx, dword [esi + 0xbc]
test ecx, ecx
je 0x4c8f12
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov byte [esp + 0x14], 9
push dword [esi + 0x84]
call fcn.004df97b
mov byte [esp + 0x18], 8
push dword [esi + 0x6c]
call fcn.004df97b
mov byte [esp + 0x1c], 7
push dword [esi + 0x60]
call fcn.004df97b
mov byte [esp + 0x20], 6
push dword [esi + 0x54]
call fcn.004df97b
mov byte [esp + 0x24], 5
push dword [esi + 0x48]
call fcn.004df97b
mov byte [esp + 0x28], 4
push dword [esi + 0x3c]
call fcn.004df97b
mov byte [esp + 0x2c], 3
push dword [esi + 0x30]
call fcn.004df97b
mov byte [esp + 0x30], 2
push dword [esi + 0x20]
call fcn.004df97b
mov byte [esp + 0x34], 1
push dword [esi + 0x14]
call fcn.004df97b
mov byte [esp + 0x38], 0
push dword [esi + 8]
call fcn.004df97b
add esp, 0x28
mov dword [esi], vtable.NWindows::NControl::CDialog.0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4cad20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f8ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 0xbc]
test ecx, ecx
je 0x4cad76
mov edx, dword [ebx + 0xc0]
test edx, edx
je 0x4cad76
mov eax, dword [ecx]
push 0
push edx
push ecx
call dword [eax + 0x28]
push 1
mov ecx, ebx
call fcn.004ca090
mov edx, 0x198
lea ecx, [esp + 0x48]
call fcn.004a1ed0
push dword [eax]
push 2
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push dword [esp + 0x48]
call fcn.004df97b
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
add esp, 4
push 1
push 1
push 0xf4
push 2
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x1bc
push dword [ebx + 4]
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call esi
push 0x1be
push dword [ebx + 4]
call edi
push 0
push eax
call esi
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
lea ecx, [esp + 0x18]
call fcn.004649e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x68], 0
call fcn.004649e0
lea esi, [ebx + 0x1e4]
mov dword [esp + 0x68], 1
push esi
mov dword [esp + 0x58], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x68], 2
lea edi, [ebx + 0x1b4]
cmp dword [ebx + 0x1ac], 0
lea ecx, [esp + 0x18]
push edi
setne byte [esp + 0x1b]
call fcn.004128e0
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x28]
call fcn.004128e0
add edi, 0x18
lea ecx, [esp + 0x30]
push edi
call fcn.004128e0
lea eax, [edi + 0xc]
push eax
lea ecx, [esp + 0x40]
call fcn.004128e0
push esi
mov byte [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x28], 0
je 0x4caecb
cmp dword [esp + 0x1c], 0
mov byte [ebx + 0x203], 1
jne 0x4cae98
push 0x504578
lea ecx, [esp + 0x1c]
call fcn.00412a60
push 0x10
push dword [esp + 0x1c]
push dword [esp + 0x2c]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [esp + 0x17], 0
je 0x4caf08
cmp byte [ebx + 0x136], 0
jne 0x4caf08
mov ecx, ebx
mov byte [ebx + 0x135], 1
call fcn.004cb6a0
jmp 0x4caf13
cmp byte [esp + 0x17], 0
jne 0x4caeb2
cmp dword [esp + 0x40], 0
mov byte [ebx + 0x203], 1
je 0x4caf08
cmp dword [esp + 0x34], 0
jne 0x4caef5
push 0x504578
lea ecx, [esp + 0x34]
call fcn.00412a60
push 0
push dword [esp + 0x34]
push dword [esp + 0x44]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov dword [esp + 0x68], 0xffffffff
push dword [esp + 0x3c]
call fcn.004df97b
push dword [esp + 0x34]
call fcn.004df97b
push dword [esp + 0x2c]
call fcn.004df97b
push dword [esp + 0x24]
call fcn.004df97b
add esp, 0x10
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.004df96c
mov esp, ebp
pop ebp
ret
Function at 0x4cbaf0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x4f8fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x14], eax
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x30], 0
push eax
push 0
push ebp
push 0x4cba80
push 0
push 0
call fcn.004e02a8
mov esi, eax
add esp, 0x18
mov dword [esp + 0x1c], esi
test esi, esi
jne 0x4cbb7a
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x4cbb94
push dword [esp + 0x14]
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push dword [esp + 0x20]
call fcn.004cab90
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x30], 0xffffffff
test esi, esi
je 0x4cbbb1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4cbbb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.004df96c
add esp, 0x24
ret 8

Function at 0x4cd2b0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov edi, dword [ecx]
lea eax, [esp + 0xc]
push eax
xor esi, esi
lea eax, [esp + 0xc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actor
push SysReAllocStringLen
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
push edi
cmove esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push str.Lang
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4cd31d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 0xc
ret

Function at 0x4cd4a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov edi, dword [ecx]
lea eax, [esp + 0xc]
push eax
xor esi, esi
lea eax, [esp + 0xc]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
push edi
cmove esi, dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push 0
push 0x50678c
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x4cd50d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x10]
pop edi
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 0xc
ret
Function at 0x4cd5d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push esi
lea eax, [esp + 0xc]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareFileExtr.actor
push SysReAllocStringLen
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cd64e
cmp byte [esp + 0xb], al
mov esi, dword [esp + 0xc]
setne al
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push str.LargePages
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4cd64e
cmp dword [esp + 0xc], eax
setne bl
jmp 0x4cd650
xor bl, bl
test esi, esi
je 0x4cd65b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x18]
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.004df96c
add esp, 0x14
ret
Function at 0x4cd930
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x14
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x10], eax
push esi
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0x20019
mov esi, ecx
push 0
push str.SoftwareFileExtr.actorFM
push SysReAllocStringLen
mov dword [esi], 0
mov word [esi + 4], 0
mov byte [esi + 6], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4cdb46
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 4
push eax
lea eax, [esp + 0x20]
push eax
push 0
push str.ShowDots
push edi
call ebx
test eax, eax
jne 0x4cd9bf
cmp dword [esp + 0x10], eax
setne al
mov byte [esi], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.ShowRealFileIcons
push edi
call ebx
test eax, eax
jne 0x4cd9fe
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 1], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.FullRow
push edi
call ebx
test eax, eax
jne 0x4cda3d
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 2], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.ShowGrid
push edi
call ebx
test eax, eax
jne 0x4cda7c
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 3], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.SingleClick
push edi
call ebx
test eax, eax
jne 0x4cdabb
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 4], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.AlternativeSelection
push edi
call ebx
test eax, eax
jne 0x4cdafa
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 5], al
lea eax, [esp + 0x18]
mov dword [esp + 0x10], 0
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], 0
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x20], 4
push eax
push 0
push str.ShowSystemMenu
push edi
call ebx
test eax, eax
jne 0x4cdb39
cmp dword [esp + 0x10], eax
setne al
mov byte [esi + 6], al
test edi, edi
je 0x4cdb44
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [esp + 0x14]
pop esi
xor ecx, esp
call fcn.004df96c
add esp, 0x14
ret