joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b3c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x441cc0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 0
lea eax, [ebp - 4]
push eax
call fcn.0042af10
add esp, 4
mov dword [ebp - 8], 0
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.004055d0
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42b52a
mov edx, dword [ebp - 0x10]
push edx
call fcn.00414134
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42b518
mov ax, word [0x436b14]
mov word [ebp - 0x228], ax
push 0x206
push 0
lea ecx, [ebp - 0x226]
push ecx
call fcn.00413bd0
add esp, 0xc
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
lea ecx, [ebp - 4]
call fcn.004055d0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x22c]
push eax
push 0x436b6c
mov ecx, dword [ebp - 0x14]
push ecx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 1
jne 0x42b4a2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x10]
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0x14]
mov dword [edx], ecx
jmp 0x42b4be
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 8]
mov dword [edx], ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax + 0xc]
mov dword [edx], ecx
cmp dword [ebp + 8], 0
je 0x42b518
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x436b70
push 0x104
mov edx, dword [ebp + 8]
push edx
call fcn.00414cf5
add esp, 0x1c
cmp dword [ebp - 0x14], 0
je 0x42b52a
mov eax, dword [ebp - 0x14]
push eax
call fcn.0041426d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 4]
call fcn.00402ac0
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00413af2
mov esp, ebp
pop ebp
ret
Function at 0x42b820
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430dd4
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x441cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.0042f390
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x44]
call fcn.00402d10
mov byte [ebp - 4], 2
push 0
lea ecx, [ebp - 0x1c]
call fcn.00405610
push 0
lea ecx, [ebp - 0x44]
call fcn.00405610
mov dword [ebp - 0x3c], 0
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov word [ebp - 0x20], dx
mov eax, 0x14
mov word [ebp - 0x2c], ax
mov ecx, dword [ebp + 0x10]
movzx edx, word [ecx]
mov dword [ebp - 0x38], edx
lea ecx, [ebp - 0x1c]
call fcn.004055d0
mov dword [ebp - 0x34], eax
lea ecx, [ebp - 0x44]
call fcn.004055d0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x42b8f7
lea ecx, [ebp - 0x18]
call fcn.0042f330
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00402ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00402ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0042f350
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42de00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x14]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x20006
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x42de37
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42de6b
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
xor eax, eax
jmp 0x42deba
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42de8e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x42dea1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8
Function at 0x42dec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x10], 1
mov eax, dword [ebp + 0xc]
push eax
call fcn.00413c4a
add esp, 4
lea ecx, [eax + eax + 2]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00414134
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x42deff
xor eax, eax
jmp 0x42dffd
mov eax, dword [ebp + 0xc]
push eax
call fcn.00413c4a
add esp, 4
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
shr ecx, 1
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004141fe
add esp, 0xc
mov ecx, dword [ebp - 0x1c]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x20006
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
je 0x42df51
mov ecx, dword [ebp - 0x14]
or ecx, 0x100
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42df91
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041426d
add esp, 4
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x1c]
call fcn.0042dc30
xor eax, eax
jmp 0x42dffd
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00413c4a
add esp, 4
lea edx, [eax + eax + 2]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42dfc5
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx + 0x10], 0
jne 0x42dfd8
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0042dc30
mov edx, dword [ebp - 0x18]
push edx
call fcn.0041426d
add esp, 4
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e010
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0x14]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x20006
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x42e047
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e07b
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
xor eax, eax
jmp 0x42e0ca
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
je 0x42e09e
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x10], 0
jne 0x42e0b1
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x42e0d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 4
mov dword [ebp - 0xc], 4
mov ecx, dword [ebp - 0x1c]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], 0x20019
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0
je 0x42e10e
mov ecx, dword [ebp - 0x14]
or ecx, 0x100
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e143
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x1c]
call fcn.0042dc30
mov eax, dword [ebp + 0xc]
jmp 0x42e182
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 8]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42e169
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.0042dc30
mov eax, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 8
Function at 0x42e190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430e5b
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x441cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 4
mov ecx, dword [ebp - 0x3c]
call fcn.0042dda0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x3c]
add eax, 0xc
push eax
lea ecx, [ebp - 0x20]
call fcn.00402d10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00413c4a
add esp, 4
test eax, eax
je 0x42e256
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2c]
call fcn.004024e0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
push ecx
push 0x43a400
lea edx, [ebp - 0x30]
push edx
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x20]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.00402ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402ac0
mov dword [ebp - 0x28], 0x20019
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x14], 0
je 0x42e271
mov eax, dword [ebp - 0x28]
or eax, 0x100
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.004055d0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e2b8
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0042dc30
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp - 0x34]
jmp 0x42e30c
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42e2de
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x3c]
call fcn.0042dc30
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00402ac0
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42e320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0xf003f
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x42e350
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e384
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
xor eax, eax
jmp 0x42e3c2
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
cmp dword [ebp - 0xc], 0
jne 0x42e3c0
mov eax, 1
jmp 0x42e3c2
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42e7d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430ec9
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x441cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x38]
call fcn.0042dda0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
add eax, 0xc
push eax
lea ecx, [ebp - 0x1c]
call fcn.00402d10
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00413c4a
add esp, 4
test eax, eax
jbe 0x42e888
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x24]
call fcn.004024e0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
push ecx
push 0x439eec
lea edx, [ebp - 0x28]
push edx
call fcn.004012d0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401070
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00402ac0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00402ac0
mov dword [ebp - 0x20], 1
mov edx, dword [ebp - 0x38]
cmp dword [edx + 0x14], 0
je 0x42e8a3
mov eax, dword [ebp - 0x20]
or eax, 0x100
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
lea ecx, [ebp - 0x1c]
call fcn.004055d0
push eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x38]
cmp dword [edx + 4], 0
je 0x42e8f6
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0042dc30
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402ac0
mov eax, dword [ebp - 0x2c]
jmp 0x42e96d
mov dword [ebp - 0x14], 1
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0042dc30
mov ecx, dword [ebp - 0x38]
cmp dword [ecx + 4], 0
jne 0x42e954
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x30], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402ac0
mov eax, dword [ebp - 0x30]
jmp 0x42e96d
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00402ac0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x42e980
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0042dda0
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x42e9b0
mov ecx, dword [ebp - 0x10]
or ecx, 0x100
mov dword [ebp - 0x10], ecx
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.004055d0
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e9e4
lea edx, [ebp - 4]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
xor eax, eax
jmp 0x42ea1a
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.0042dc30
cmp dword [ebp - 0xc], 0
jne 0x42ea18
mov eax, 1
jmp 0x42ea1a
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x42f400
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 8], 0
call fcn.00405de0
mov dword [ebp - 4], eax
push 0x4361c8
movzx eax, word [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42f505
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x42f4fb
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call fcn.00415380
add esp, 0xc
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x42f4d9
push 0
mov edx, dword [ebp - 0x24]
push edx
call fcn.00406260
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 8], 1
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x42f560
Capabilities:
Delete directory
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c17
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x441cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.00401380
movzx eax, al
test eax, eax
jne 0x42f656
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
call fcn.0042a7e0
add esp, 4
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
lea ecx, [ebp - 0x10]
call fcn.00402d10
mov dword [ebp - 4], 0
push 0x439b34
lea ecx, [ebp - 0x10]
call fcn.00402dd0
push 1
lea eax, [ebp - 0x10]
push eax
call fcn.0042a740
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.004055d0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.004055d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00402d10
mov byte [ebp - 4], 1
push 1
lea edx, [ebp - 0x10]
push edx
call fcn.0042a740
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.004055d0
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea ecx, [ebp - 0x14]
call fcn.004055d0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00402ac0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00402ac0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42f670
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x430c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x441cc0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], ecx
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.00401380
movzx eax, al
test eax, eax
je 0x42f840
mov cx, word [0x439af4]
mov word [ebp - 0x224], cx
push 0x208
push 0
lea edx, [ebp - 0x222]
push edx
call fcn.00413bd0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.00402960
mov dword [ebp - 0x10], 0xffffffff
lea edx, [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov eax, dword [ebp - 0x10]
push eax
push str.unpacksos_d_
mov ecx, dword [ebp - 0x238]
add ecx, 4
push ecx
call fcn.004032a0
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
lea ecx, [ebp - 0x230]
call fcn.004024e0
mov dword [ebp - 4], 0
push str.Splashtop_sos_
lea eax, [ebp - 0x230]
push eax
call fcn.004032a0
add esp, 8
lea ecx, [ebp - 0x230]
push ecx
call fcn.0042a720
add esp, 4
test eax, eax
jne 0x42f798
push 0
lea ecx, [ebp - 0x230]
call fcn.004055d0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [ebp - 0x238]
add edx, 4
push edx
call fcn.0042a720
add esp, 4
test eax, eax
je 0x42f7b9
mov ecx, dword [ebp - 0x238]
call fcn.0042f560
push 0
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.004055d0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x22c], 0
je 0x42f82e
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
cmp eax, 0x14
jge 0x42f82e
push 0
mov ecx, dword [ebp - 0x238]
add ecx, 4
call fcn.004055d0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 0x22c], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42f7e2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402ac0
mov edx, dword [ebp - 0x238]
add edx, 4
push edx
mov ecx, dword [ebp + 8]
call fcn.00402d10
mov eax, dword [ebp - 0x234]
or eax, 1
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00413af2
mov esp, ebp
pop ebp
ret 4
Function at 0x430140
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x430176
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
push 0x430120
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret