joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ea50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473578
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x42eaa5
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x6c696e6b
lea ecx, [esp + 8]
push 0x48a004
push ecx
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.00416510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x42efb0
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x650
push ebx
push esi
push edi
mov esi, ecx
call fcn.0042f150
mov ebx, dword [esp + 0x674]
mov eax, dword [esp + 0x660]
push 1
push ebx
push 0
push 0
lea ecx, [esi + 4]
mov dword [esi], eax
call fcn.00433660
mov eax, dword [esi]
mov edi, dword [esp + 0x664]
test al, 4
je 0x42f00e
push edi
push 0x31
mov ecx, 0x49ce18
call fcn.00436b70
push edi
push 0x32
mov ecx, 0x49ce18
mov dword [esi + 0x38], eax
call fcn.00436b70
mov dword [esi + 0x3c], eax
jmp 0x42f048
test al, 8
je 0x42f034
push edi
push 0xb
mov ecx, 0x49ce18
call fcn.00436b70
push edi
push 0xc
mov ecx, 0x49ce18
mov dword [esi + 0x38], eax
call fcn.00436b70
mov dword [esi + 0x3c], eax
jmp 0x42f048
mov ecx, dword [esp + 0x668]
mov edx, dword [esp + 0x66c]
mov dword [esi + 0x38], ecx
mov dword [esi + 0x3c], edx
mov eax, dword [esi]
test al, 1
je 0x42f066
mov eax, dword [esp + 0x670]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x38]
push ebx
push eax
push 0x21
push ecx
push edx
jmp 0x42f130
test al, 2
je 0x42f0db
or al, 0x10
test al, 4
mov dword [esi], eax
je 0x42f079
mov edi, 1
jmp 0x42f09a
test al, 8
je 0x42f081
xor edi, edi
jmp 0x42f09a
push edi
push 0x32
mov ecx, 0x49ce18
call fcn.00436b70
mov edx, dword [esi + 0x3c]
xor ecx, ecx
cmp edx, eax
sete cl
mov edi, ecx
lea edx, [esp + 0xc]
push 0x208
push edx
mov word [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
or edi, 0x4000
lea eax, [esp + 0x3a8]
push edi
push 0x2b4
push eax
lea ecx, [esp + 0x18]
push 0
push ecx
mov word [esp + 0x26], 0
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
jmp 0x42f136
mov ecx, esi
call fcn.0042f170
mov edi, eax
cmp edi, 0x20
jne 0x42f101
lea ecx, [esp + 0x214]
call fcn.00435360
cmp eax, 0x60000
jae 0x42f101
mov edi, 0x10
lea ecx, [esp + 0x214]
call fcn.00434430
and eax, 2
xor ecx, ecx
or eax, ecx
je 0x42f11b
mov edi, 8
mov edx, dword [esp + 0x670]
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
push ebx
or edi, 1
push edx
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_Create]
mov dword [esi + 0x34], eax
mov ecx, dword [esi + 0x34]
xor eax, eax
pop edi
test ecx, ecx
pop esi
pop ebx
setne al
add esp, 0x650
ret 0x18
Function at 0x42f350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47361b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x20]
call fcn.0042ef40
lea ecx, [esp + 0x60]
mov dword [esp + 0x9c], 0
call fcn.0042bd00
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.00440260
mov esi, dword [esp + 0xa8]
mov eax, dword [edi + 0x38]
mov ebp, dword [esp + 0xac]
cmp esi, eax
mov byte [esp + 0x9c], 2
jne 0x42f3c5
cmp ebp, dword [edi + 0x3c]
je 0x42f506
mov ecx, edi
call fcn.0042f320
mov ecx, dword [edi]
mov ebx, eax
mov eax, dword [esp + 0xa4]
push 0xa
push ebx
push ebp
push esi
push eax
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], ebx
call fcn.0042efb0
test eax, eax
jne 0x42f42c
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.00440270
lea ecx, [esp + 0x60]
mov byte [esp + 0x9c], 0
call fcn.0042bd30
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0042ef60
xor eax, eax
jmp 0x42f541
xor ebp, ebp
test ebx, ebx
jle 0x42f4ea
mov ebx, dword [sym.imp.USER32.dll_DrawIconEx]
test byte [edi], 0x10
je 0x42f4b3
push ebp
mov ecx, edi
call fcn.0042f330
mov esi, eax
test esi, esi
je 0x42f3ef
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
push 0
push 0
push 0x20
push 0
push edx
push eax
lea ecx, [esp + 0x78]
call fcn.0042be30
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x7c]
push 3
push 0
push 0
push ecx
push edx
push esi
push 0
push 0
push eax
call ebx
push esi
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esp + 0x80]
lea ecx, [esp + 0x10]
push eax
push eax
call fcn.004402a0
test eax, eax
je 0x42f4ea
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.0042f1f0
jmp 0x42f4dd
lea edx, [esp + 0x18]
lea ecx, [edi + 4]
push edx
push ebp
call fcn.00433800
cmp eax, 1
jne 0x42f4dd
mov eax, dword [esp + 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
lea ecx, [esp + 0x28]
call fcn.0042f210
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x42f43c
mov eax, dword [esp + 0x54]
mov ecx, dword [edi + 0x34]
mov edx, dword [esp + 0x58]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x54], ecx
mov dword [edi + 0x38], edx
mov dword [edi + 0x3c], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c], 1
call fcn.00440270
lea ecx, [esp + 0x60]
mov byte [esp + 0x9c], 0
call fcn.0042bd30
lea ecx, [esp + 0x20]
mov dword [esp + 0x9c], 0xffffffff
call fcn.0042ef60
mov eax, 1
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret 0xc
Function at 0x430460
Capabilities:
Get geographical location

Disassembly:
push 0xffffffffffffffff
push 0x4738cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x3c]
call fcn.004152e0
lea ecx, [esp + 0x10]
mov dword [esp + 0xa0], 0
call fcn.004152e0
mov ebx, 1
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], bl
call fcn.00425df0
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 2
call fcn.00416590
push eax
push 0
lea ecx, [esp + 0x18]
call fcn.00416510
push eax
push 0x59
push 0
push ebx
lea ecx, [esp + 0x7c]
call fcn.00425fc0
and eax, 0xffff
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4304f8
lea ecx, [esp + 0x10]
call fcn.00415700
jmp 0x430506
push 0x48b6c4
lea ecx, [esp + 0x14]
call fcn.00415970
push 0
lea ecx, [esp + 0x14]
call fcn.00416510
mov esi, dword [esp + 0xac]
push eax
push esi
lea eax, [esp + 0x44]
push 0x48a2c0
push eax
call fcn.00416930
mov edi, dword [esp + 0xc4]
add esp, 0x10
lea ecx, [esp + 0x10]
push edi
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00416510
mov ebp, dword [esp + 0xb0]
push eax
mov ecx, ebp
call fcn.0043bd20
cmp eax, ebx
je 0x430587
push esi
lea eax, [esp + 0x40]
push str._sen
push eax
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
push ecx
push 0
lea ecx, [esp + 0x48]
call fcn.00416510
push eax
mov ecx, ebp
call fcn.0043bd20
cmp eax, ebx
jne 0x4305d1
mov edx, dword [esp + 0xb0]
lea ecx, [esp + 0x10]
push edx
call fcn.00416650
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], bl
call fcn.00425e60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 0
call fcn.00415380
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00415380
mov eax, ebx
jmp 0x430608
lea ecx, [esp + 0x68]
mov byte [esp + 0xa0], bl
call fcn.00425e60
lea ecx, [esp + 0x10]
mov byte [esp + 0xa0], 0
call fcn.00415380
lea ecx, [esp + 0x3c]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00415380
xor eax, eax
mov ecx, dword [esp + 0x98]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x94
ret 0x10
Function at 0x430fb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x431005
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x61757570
lea ecx, [esp + 8]
push 0x48a004
push ecx
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.00416510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x431a60
Capabilities:
Get graphical window text

Disassembly:
push ecx
test byte [ecx + 0x14], 4
je 0x431a6e
mov eax, 1
pop ecx
ret
mov ecx, dword [ecx + 0x10]
lea eax, [esp]
push eax
push 2
push 0xd
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
neg eax
sbb eax, eax
neg eax
pop ecx
ret

Function at 0x433f00
Capabilities:
Find taskbar

Disassembly:
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Shell_TrayWnd
push 0
push 0
call esi
test eax, eax
jne 0x433f1a
pop esi
ret
push 0
push str.TrayNotifyWnd
push 0
push eax
call esi
test eax, eax
jne 0x433f2c
pop esi
ret
push 0
push str.SysPager
push 0
push eax
call esi
pop esi
ret

Function at 0x434040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473ee8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x434095
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x7368656c
lea ecx, [esp + 8]
push 0x48a004
push ecx
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.00416510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x4341c0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x4341cf
ret 4
push ebx
push ebp
push esi
push edi
xor ebp, ebp
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebx, dword [esp + 0x14]
push ebx
call fcn.00462007
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x43422b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
test edi, edi
je 0x43422b
push ebx
push edi
call fcn.004621e6
add esp, 8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x43422b
mov ebp, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
test ebp, ebp
jne 0x434240
test esi, esi
je 0x434240
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4
Function at 0x434430
Capabilities:
Check os version

Disassembly:
sub esp, 0x114
push esi
lea eax, [esp + 4]
push edi
push eax
xor esi, esi
xor edi, edi
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x434630
mov eax, dword [esp + 0x18]
sub eax, edi
je 0x434629
dec eax
je 0x434584
dec eax
jne 0x434630
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
and eax, 0xffff
and ecx, 0xffff
shl eax, 0x10
or eax, ecx
mov esi, 1
cmp eax, 0x60000
ja 0x4344e2
je 0x4344db
cmp eax, 0x50000
ja 0x4344c3
je 0x4344bc
cmp eax, 0x30033
je 0x4344b5
cmp eax, 0x40000
jne 0x434528
mov esi, 0x81
jmp 0x434526
mov esi, 0x200001
jmp 0x434526
mov esi, 0x101
jmp 0x434526
sub eax, 0x50001
je 0x4344d4
dec eax
jne 0x434528
mov esi, 0x1001
jmp 0x434526
mov esi, 0x201
jmp 0x434526
mov esi, 0x2001
jmp 0x434526
cmp eax, 0x60003
ja 0x43450a
je 0x434503
sub eax, 0x60001
je 0x4344fc
dec eax
jne 0x434528
mov esi, 0x40001
jmp 0x434526
mov esi, 0x4001
jmp 0x434526
mov esi, 0x80001
jmp 0x434526
cmp eax, 0xa0000
jne 0x434528
mov eax, dword [esp + 0x14]
mov esi, 0x400001
cmp eax, 0x55f0
jae 0x434526
mov esi, 0x100001
xor edi, edi
lea edx, [esp + 0x1c]
push 0x48bc8c
push edx
call fcn.00462e2e
add esp, 8
test eax, eax
je 0x434541
or edi, 2
lea eax, [esp + 0x1c]
push 0x48bc6c
push eax
call fcn.00462e2e
add esp, 8
test eax, eax
je 0x43455a
or edi, 4
lea ecx, [esp + 0x1c]
push 0x48bc4c
push ecx
call fcn.00462e2e
add esp, 8
test eax, eax
je 0x434630
or edi, 8
mov eax, esi
mov edx, edi
pop edi
pop esi
add esp, 0x114
ret
mov eax, dword [esp + 0xc]
xor edi, edi
cmp eax, 4
mov esi, 2
jne 0x434630
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4345f0
cmp eax, 0xa
je 0x4345c0
cmp eax, 0x5a
jne 0x434630
mov esi, 0x42
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
cmp word [esp + 0x1e], 0x41
jne 0x4345dc
xor edi, edi
mov esi, 0x802
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
xor edi, edi
mov esi, 0x22
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
mov ax, word [esp + 0x1e]
cmp ax, 0x43
je 0x434615
cmp ax, 0x42
je 0x434615
xor edi, edi
mov esi, 0x12
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
xor edi, edi
mov esi, 0x402
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
mov esi, 4
xor edi, edi
mov edx, edi
mov eax, esi
pop edi
pop esi
add esp, 0x114
ret
Function at 0x434d80
Capabilities:
Access peb ldr_data
Check for sandbox username or hostname
Get session user name

Disassembly:
push 0xffffffffffffffff
push 0x473f50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
lea ecx, [esp + 8]
call fcn.00422590
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x64], ebx
call fcn.004152e0
push str.C:WcSandboxState
lea ecx, [esp + 0xc]
mov byte [esp + 0x68], 1
call fcn.00422620
test eax, eax
jne 0x434dd2
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x30]
jmp 0x434e41
push 3
push ebx
push ebx
push str..GLOBALROOTdevice_vmsmb
lea ecx, [esp + 0x18]
call fcn.00423a40
test eax, eax
jne 0x434df2
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x30]
jmp 0x434e41
lea ecx, [esp + 8]
call fcn.00423db0
lea ecx, [esp + 0x30]
call fcn.00416590
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
push ebx
lea ecx, [esp + 0x38]
call fcn.00416510
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea ecx, [esp + 0x30]
call fcn.00415700
push str.WDAGUtilityAccount
lea ecx, [esp + 0x34]
call fcn.00415a40
test eax, eax
mov byte [esp + 0x64], bl
lea ecx, [esp + 0x30]
je 0x434e69
call fcn.00415380
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.004225b0
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
add esp, 0x64
ret
call fcn.00415380
lea ecx, [esp + 8]
mov dword [esp + 0x64], 0xffffffff
call fcn.004225b0
mov ecx, dword [esp + 0x5c]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret
Function at 0x439610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4744a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004152e0
mov eax, dword [esi]
mov dword [esp + 0x38], 0
test eax, eax
jne 0x439665
lea ecx, [esp + 4]
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
xor eax, eax
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
push eax
mov eax, dword [esi + 0xc]
push 0xfffffffffffffffc
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x64697669
lea ecx, [esp + 8]
push 0x48a004
push ecx
call fcn.00416930
add esp, 0xc
lea ecx, [esp + 4]
push 0
call fcn.00416510
mov edx, dword [esi + 0xc]
push eax
push edx
call dword [sym.imp.USER32.dll_RemovePropW]
lea ecx, [esp + 4]
mov dword [esi], 0
mov dword [esp + 0x38], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x30]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43a820
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea edx, [esp]
mov ecx, dword [ecx]
push edx
lea edx, [esp + 8]
xor eax, eax
push edx
push eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 8
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a86f
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
mov eax, 1
add esp, 0xc
ret 8
xor eax, eax
add esp, 0xc
ret 8

Function at 0x43a910
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [ecx]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push esi
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43a948
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43a942
mov edx, dword [esp + 0x10]
mov dword [eax], edx
xor eax, eax
pop esi
ret 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jbe 0x43a984
shr eax, 1
mov dword [esp + 0x10], eax
mov word [esi + eax*2 - 2], 0
mov eax, dword [esp + 0xc]
cmp eax, 7
jne 0x43a984
mov eax, dword [esp + 0x10]
lea ecx, [eax - 1]
test ecx, ecx
jbe 0x43a984
mov eax, esi
cmp word [eax], 0
jne 0x43a97e
mov word [eax], 1
add eax, 2
dec ecx
jne 0x43a973
mov eax, 1
pop esi
ret 0x10

Function at 0x43a990
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
push eax
mov eax, dword [esp + 8]
push edx
push 0
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret 0xc

Function at 0x43aa20
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x10]
mov esi, ecx
push 8
push eax
push 0xb
mov ecx, dword [esi]
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43aa4b
pop edi
mov eax, 1
pop esi
ret 0xc
mov edx, dword [esp + 0x10]
mov ecx, esi
push edx
push edi
call fcn.0043aa60
pop edi
pop esi
ret 0xc
Function at 0x43aa90
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
lea eax, [eax + eax + 2]
push eax
push edi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
ret 8

Function at 0x43aad0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
ret 0x10

Function at 0x43ab00
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4746a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
lea ecx, [esp + 0xc]
call fcn.004152e0
xor ebx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x6c], ebx
call fcn.004152e0
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
push eax
mov byte [esp + 0x70], 1
call fcn.00415510
mov ecx, dword [esp + 0x7c]
push ecx
lea ecx, [esp + 0x10]
call fcn.004162f0
mov esi, eax
cmp esi, 0xffffffff
je 0x43aba3
lea edx, [esi + 1]
lea ecx, [esp + 0xc]
push edx
call fcn.00416540
push eax
lea ecx, [esp + 0x3c]
call fcn.00415970
push esi
lea ecx, [esp + 0x10]
call fcn.00415cd0
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0xf003f
push ebx
push ebx
call fcn.00416510
mov ecx, dword [esp + 0x80]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43abd6
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.00415380
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00415380
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
push ebx
lea ecx, [esp + 0x3c]
call fcn.00416510
mov edx, dword [esp + 8]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
mov eax, dword [esp + 8]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x38]
mov byte [esp + 0x6c], bl
call fcn.00415380
lea ecx, [esp + 0xc]
mov dword [esp + 0x6c], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x64]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
Function at 0x43ac40
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x4746c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x30c
lea ecx, [esp + 0x44]
call fcn.00415330
lea ecx, [esp + 0x18]
mov dword [esp + 0x74], 0
call fcn.00431130
push 1
push 0x48d81c
lea ecx, [esp + 0x20]
mov byte [esp + 0x7c], 1
call fcn.00431390
push 1
push str.SeRestorePrivilege
lea ecx, [esp + 0x20]
call fcn.00431390
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x7c]
push ebx
push edi
lea ecx, [esp + 0x20]
call fcn.004311e0
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0x20019
push 4
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov esi, 1
jne 0x43ad8a
lea ecx, [esp + 0x40]
call fcn.00416590
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], eax
call fcn.00416510
mov edx, dword [esp + 0x24]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push eax
push 0
push edx
call edi
test eax, eax
jne 0x43ad76
lea ecx, [esp + 0x40]
call fcn.00415700
push 0
lea ecx, [esp + 0x44]
call fcn.00416510
push eax
mov eax, dword [esp + 0x14]
push eax
mov ecx, ebp
call fcn.0043ac40
test eax, eax
je 0x43ad74
lea ecx, [esp + 0x40]
call fcn.00416590
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push 0
push ecx
push 0
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], eax
call fcn.00416510
mov edx, dword [esp + 0x24]
push eax
push 0
push edx
call edi
test eax, eax
je 0x43ad1a
jmp 0x43ad76
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 1
jne 0x43ad98
mov edi, dword [esp + 0x7c]
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x43ad98
xor esi, esi
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 0
call fcn.00431190
lea ecx, [esp + 0x40]
mov dword [esp + 0x74], 0xffffffff
call fcn.00415380
mov ecx, dword [esp + 0x6c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 8