joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b270
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510030
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb0], 0
lea eax, [ebp - 0x4c]
push eax
call fcn.0045b090
add esp, 4
mov dword [ebp - 4], 1
push str.SndaUpdateid.dat
lea ecx, [ebp - 0x4c]
call fcn.00402460
push 0x51ab33
lea ecx, [ebp - 0x2c]
call fcn.00403290
mov byte [ebp - 4], 2
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x4c]
call fcn.00402980
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x45b423
lea ecx, [ebp - 0x30]
push ecx
lea edx, [ebp - 0x50]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00402980
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x8c], esp
push eax
call fcn.00403290
mov dword [ebp - 0xb4], eax
call fcn.0045b120
add esp, 0x24
mov dword [ebp - 0xb8], eax
cmp dword [ebp - 0xb8], 0
je 0x45b423
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00403290
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0xc0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401000
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xa8]
call fcn.00402a30
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
push ecx
call fcn.004ba1cb
add esp, 4
push 0x20
push 0
lea edx, [ebp - 0x6c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401280
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2c]
call fcn.004011a0
sub eax, 0x20
push eax
push 0x20
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401280
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004029f0
mov edx, dword [ebp - 0xb0]
or edx, 1
mov dword [ebp - 0xb0], edx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x88]
call fcn.00402a30
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6c]
call fcn.00402a30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402a30
mov eax, dword [ebp + 8]
jmp 0x45b45a
push 0x51ab34
mov ecx, dword [ebp + 8]
call fcn.00403290
mov eax, dword [ebp - 0xb0]
or eax, 1
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00402a30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret

Function at 0x45b9e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push str.2.7.92.0
mov eax, dword [ebp + 8]
push eax
call fcn.0045b780
add esp, 8
test eax, eax
jg 0x45ba05
push 0
push str.taskkill__f__im_explorer.exe__start_explorer.exe
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebp
ret
Function at 0x45cdc0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x668], ecx
mov ecx, 0x56d200
call fcn.00401850
push eax
push 0x104
lea eax, [ebp - 0x660]
push eax
call fcn.004b9b1b
add esp, 0xc
push 0x51b160
lea ecx, [ebp - 0x660]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x660]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45ce22
xor eax, eax
jmp 0x45d026
push 1
sub esp, 0x1c
mov eax, esp
mov dword [ebp - 0x664], esp
push str.X86kuaizipUpdateChecker.dll
push 0x56d200
push eax
call fcn.004473d0
add esp, 0xc
mov dword [ebp - 0x66c], eax
call fcn.0044f6d0
add esp, 0x20
mov dword [ebp - 0x24c], 0
push 0x38
push 0
lea ecx, [ebp - 0x248]
push ecx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea edx, [ebp - 0x660]
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], str._AssociateAll
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x45ceb9
xor eax, eax
jmp 0x45d026
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.004b8df0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x458], cx
push 0x206
push 0
lea edx, [ebp - 0x456]
push edx
call fcn.004b8df0
add esp, 0xc
mov ecx, 0x56d200
call fcn.00401850
push eax
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
call fcn.0050cbc0
movzx ecx, al
test ecx, ecx
je 0x45cf3e
push str.X64KZipShell.dll
lea edx, [ebp - 0x458]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
jmp 0x45cf50
push str.X86KZipShell.dll
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x51a074
lea ecx, [ebp - 0x458]
push ecx
call fcn.00451d20
add esp, 8
test eax, eax
je 0x45cf86
lea edx, [ebp - 0x458]
push edx
push 0x51b0b0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x45cfa2
lea ecx, [ebp - 0x458]
push ecx
push 0x51b0a4
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push str.regsvr32.exe
lea eax, [ebp - 0x660]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x3c
push 0
lea ecx, [ebp - 0x24c]
push ecx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x24c], 0x3c
lea edx, [ebp - 0x660]
mov dword [ebp - 0x23c], edx
lea eax, [ebp - 0x210]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x230], 1
mov dword [ebp - 0x248], 0x40
lea ecx, [ebp - 0x24c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x45d012
xor eax, eax
jmp 0x45d026
push 0xffffffffffffffff
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret 4
Function at 0x4652d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.004650a0
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00465270
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x46533b
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004650d0
mov eax, dword [ebp - 0x224]
jmp 0x4653cc
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x4653a1
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004652d0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x465398
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004650d0
mov eax, dword [ebp - 0x228]
jmp 0x4653cc
mov dword [ebp - 4], 0x100
jmp 0x465342
lea ecx, [ebp - 0x14]
call fcn.004651b0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00465150
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004650d0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret 4
Function at 0x4659c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x4659c9
xor ecx, ecx
jne 0x4659c9
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x4659ea
mov eax, 0xd
jmp 0x465a45
xor eax, eax
jne 0x4659d1
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x4659fb
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x466f80
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x10
mov ecx, 0x56d2d0
call fcn.0046a310
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x467118
cmp dword [ebp + 8], 0
je 0x4670bc
cmp dword [ebp + 0xc], 0
je 0x4670bc
xor ecx, ecx
mov word [ebp - 0x220], cx
push 0x206
push 0
lea edx, [ebp - 0x21e]
push edx
call fcn.004b8df0
add esp, 0xc
mov dword [ebp - 0x10], 0x208
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x220]
push ecx
push 0
push 0
push 0x51ba24
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x467045
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x46711d
lea ecx, [ebp - 0x220]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004b9b1b
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x467088
xor edx, edx
mov eax, dword [ebp + 8]
mov word [eax], dx
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x46711d
push str.X86KuaiZip.exe
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4670bc
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x46711d
cmp dword [ebp + 0x10], 0
je 0x467109
cmp dword [ebp + 0x14], 0
je 0x467109
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x224], edx
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
push 0
push 0x51ba50
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x467109
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x46711d
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x46711d
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret 0x10
Function at 0x467130
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b78
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x10
mov ecx, 0x56d2d0
call fcn.0046a310
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x467196
mov eax, 1
jmp 0x467211
push 0x51ba60
lea ecx, [ebp - 0x2c]
call fcn.0040d8d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
call fcn.0040b070
shl eax, 1
push eax
mov ecx, dword [ebp + 8]
call fcn.00401850
push eax
push 1
push 0
push 0x51ba70
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x2c]
call fcn.0040b070
shl eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00401850
push eax
push 1
push 0
push 0x51ba7c
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00401340
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret 4
Function at 0x469cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x51bc00
mov eax, dword [ebp + 8]
push eax
call fcn.004bc88e
add esp, 8
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
jne 0x469d01
xor eax, eax
jmp 0x469e41
mov ecx, dword [ebp - 0xc]
movzx edx, byte [ecx]
test edx, edx
je 0x469d13
mov ecx, dword [ebp - 0xc]
call fcn.0046a3a0
mov eax, dword [ebp - 8]
push eax
push 1
push 0x68
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.004b8548
add esp, 0x10
push 0x51bc08
call fcn.004b9750
add esp, 4
push eax
push 0x51bc18
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.004bd0ac
add esp, 0xc
test eax, eax
je 0x469d57
xor eax, eax
jmp 0x469e41
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x74], edx
mov ecx, dword [ebp - 0xc]
call fcn.0046a7b0
mov dword [ebp - 4], 0
jmp 0x469d7d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ecx + 0x68]
jae 0x469e30
mov eax, dword [ebp - 8]
push eax
push 1
push 8
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x6c]
mov eax, dword [ebp - 4]
lea ecx, [edx + eax*8]
push ecx
call fcn.004b8548
add esp, 0x10
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*8]
add edx, 1
push edx
call fcn.004b7ec3
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [ebp - 4]
mov dword [edx + ecx*8 + 4], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*8]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*8 + 4]
push eax
call fcn.004b8df0
add esp, 0xc
mov ecx, dword [ebp - 8]
push ecx
push 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x6c]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + ecx*8]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + edx*8 + 4]
push eax
call fcn.004b8548
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
call fcn.0046a740
jmp 0x469d74
mov edx, dword [ebp - 8]
push edx
call fcn.004b81f8
add esp, 4
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x46cdf0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511318
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
call fcn.004012d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004012d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x54]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp + 8]
push eax
call fcn.00401300
mov dword [ebp - 0x64], eax
call fcn.0046cfc0
add esp, 0x28
mov byte [ebp - 0x65], al
movzx ecx, byte [ebp - 0x65]
test ecx, ecx
jne 0x46ceaf
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401340
mov al, byte [ebp - 0x5d]
jmp 0x46cf92
cmp dword [ebp - 0x54], reloc.WS2_32.dll_accept
jne 0x46ced2
lea edx, [ebp - 0x54]
push edx
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x46ced2
mov dword [ebp - 0x54], reloc.WS2_32.dll_accept
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x50]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x4c]
call fcn.00401850
push eax
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46cf47
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401850
push eax
mov edx, dword [ebp - 0x50]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46cf3d
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401850
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x46cf3d
mov byte [ebp - 0x55], 1
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x54]
and edx, 0x80000000
cmp edx, 0x80000000
je 0x46cf62
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x55]
mov byte [ebp - 0x5e], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401340
mov al, byte [ebp - 0x5e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x46d730
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511318
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x55], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x4c]
call fcn.004012d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.004012d0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x54]
push edx
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x5c], esp
lea eax, [ebp + 8]
push eax
call fcn.00401300
mov dword [ebp - 0x64], eax
call fcn.0046cfc0
add esp, 0x28
mov byte [ebp - 0x65], al
movzx ecx, byte [ebp - 0x65]
test ecx, ecx
jne 0x46d7ef
mov byte [ebp - 0x5d], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401340
mov al, byte [ebp - 0x5d]
jmp 0x46d8c5
cmp dword [ebp - 0x54], reloc.WS2_32.dll_accept
jne 0x46d812
lea edx, [ebp - 0x54]
push edx
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x46d812
mov dword [ebp - 0x54], reloc.WS2_32.dll_accept
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0
push 0x20006
push 0
push 0
push 0
lea ecx, [ebp - 0x4c]
call fcn.00401850
push eax
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x46d87a
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
push 0
lea ecx, [ebp - 0x2c]
call fcn.00401850
push eax
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
add eax, 1
mov byte [ebp - 0x55], al
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x54]
and edx, 0x80000000
cmp edx, 0x80000000
je 0x46d895
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x55]
mov byte [ebp - 0x5e], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00401340
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00401340
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401340
mov al, byte [ebp - 0x5e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret
Function at 0x46f0d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x11
mov ecx, 0x56d2d0
call fcn.0046a310
push eax
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46f10f
jmp 0x46f195
lea ecx, [ebp - 0xc]
call fcn.00470050
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, 0x56d840
call fcn.00467b10
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
jmp 0x46f147
push 0
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0xc]
call fcn.00456e30
lea edx, [ebp - 0x2c]
push edx
mov ecx, 0x56d840
call fcn.00441ca0
push eax
lea ecx, [ebp - 0xc]
call fcn.00467c80
movzx eax, al
test eax, eax
je 0x46f18b
push 4
lea ecx, [ebp - 4]
push ecx
push 4
push 0
lea ecx, [ebp - 0xc]
call fcn.00470070
mov ecx, eax
call fcn.00401850
push eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x46f139
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esp, ebp
pop ebp
ret
Function at 0x46f1d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511688
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x568e30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x50]
call fcn.004012d0
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push eax
push 0
lea ecx, [ebp - 0x30]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0x70]
push eax
call fcn.0050cc10
add esp, 8
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x98]
call fcn.00401850
push eax
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.00401340
cmp dword [ebp - 0x54], 0
jne 0x46f2ef
mov eax, dword [ebp - 0x34]
push eax
lea ecx, [ebp - 0x50]
call fcn.00401380
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x50]
call fcn.00401360
push eax
lea edx, [ebp - 0x30]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x8c]
push ecx
call fcn.0050cc10
add esp, 8
mov dword [ebp - 0x9c], eax
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa0]
call fcn.00401850
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x8c]
call fcn.00401340
lea ecx, [ebp - 0x50]
call fcn.00401850
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0050ccf0
add esp, 8
mov byte [ebp - 4], 4
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
call fcn.004029f0
mov eax, dword [ebp - 0x90]
or eax, 1
mov dword [ebp - 0x90], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.00402a30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.00401340
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8dd5
mov esp, ebp
pop ebp
ret