joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014e80
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10014ea4
or eax, 0xffffffff
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.autoupd
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10014ee4
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
add esp, 0x10
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
cmp dword [esp + 8], eax
setne al
add esp, 0x10
ret

Function at 0x10014f00
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10014f59
mov eax, 4
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0x10]
push eax
push 0
push str.updtstat
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10014f5f
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x10
ret
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x10014f80
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10014fa8
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
call fcn.10014f00
cmp eax, 7
jne 0x10014fc7
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
pop esi
add esp, 0x10
ret
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0
push str.lstupd
push edx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
mov eax, dword [esp + 4]
push eax
jne 0x10014fb7
mov edx, dword [esi + 0xc]
xor ecx, ecx
cmp edx, dword [esp + 0x10]
setg cl
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10015020
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015044
or eax, 0xffffffff
add esp, 0x14
ret
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
xor esi, esi
lea eax, [esp + 0x1c]
push eax
push esi
push str.updtcnt
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10015089
mov dword [esp + 4], 1
jmp 0x10015092
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 4
push esi
push str.updtcnt
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
inc eax
pop esi
add esp, 0x14
ret

Function at 0x100150d0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100150f4
or eax, 0xffffffff
add esp, 0x14
ret
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
xor esi, esi
lea eax, [esp + 0x1c]
push eax
push esi
push str.updtfailed
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10015139
mov dword [esp + 4], 1
jmp 0x10015142
mov edx, dword [esp + 0xc]
inc edx
mov dword [esp + 4], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 8]
push ecx
push 4
push esi
push str.updtfailed
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
inc eax
pop esi
add esp, 0x14
ret

Function at 0x10015180
Capabilities:
Set registry value

Disassembly:
lea eax, [esp - 8]
sub esp, 8
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100151a6
or eax, 0xffffffff
add esp, 8
ret 4
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
push 4
lea edx, [esp + 8]
push edx
push 4
push 0
push str.updtstat
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 8
ret 4
Function at 0x100151e0
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015204
or eax, 0xffffffff
add esp, 0x10
ret
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push str.updtcnt
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10015244
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
add esp, 0x10
ret
mov ecx, dword [esp]
xor eax, eax
cmp dword [esp + 8], 3
push esi
setge al
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10015270
Capabilities:
Get http content length
Write file on windows

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
xor eax, eax
push 0x1004210c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x10042118
push esi
call edi
push str.InternetOpenUrlA
push esi
mov ebp, eax
call edi
push 0x1004213c
push esi
mov ebx, eax
call edi
push 0x10042150
push esi
mov dword [esp + 0x24], eax
call edi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x10015495
test ebx, ebx
je 0x10015495
cmp dword [esp + 0x1c], 0
je 0x10015495
test eax, eax
je 0x10015495
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
push 0
push str.ps_v2.0.366
mov dword [esp + 0x38], eax
call ebp
push 0
push 0x84000100
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 4]
push 0
push 0
push ecx
push esi
mov dword [esp + 0x54], esi
call ebx
mov edi, eax
test edi, edi
jne 0x1001532d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x30
ret
push 0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x1c]
push eax
push 0x20000005
push edi
mov dword [esp + 0x40], 4
mov dword [esp + 0x28], 0
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test dword [esp + 0x14], 0xfffffc00
jne 0x1001536c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x30
ret
push 0x200
call fcn.10022f55
add esp, 4
mov ebx, eax
push str.PSUpdate.exe
mov dword [esp + 0x3c], ebx
call fcn.100136f0
push eax
push 0x10042170
push 0x200
push ebx
call fcn.10023f6f
add esp, 0x14
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x100153d4
push edi
mov edi, dword [esp + 0x20]
call edi
push esi
call edi
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x24]
push 0x400
push 8
xor ebx, ebx
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
xor eax, eax
mov dword [esp + 0x18], eax
jmp 0x100153fa
mov eax, dword [esp + 0x18]
cmp eax, 3
jge 0x10015452
test eax, eax
je 0x10015410
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, edi
lea edx, [esp + 0x10]
push edx
push 0x400
push esi
push edi
call dword [esp + 0x40]
mov eax, dword [esp + 0x10]
push 0
lea ecx, [esp + 0x38]
push ecx
push eax
push esi
push ebp
add ebx, eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 0
jne 0x10015410
xor eax, eax
cmp ebx, dword [esp + 0x14]
sete al
inc dword [esp + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x100153f6
mov edx, dword [esp + 0x38]
push edx
call fcn.100250f2
mov ecx, dword [esp + 0x24]
add esp, 4
push ebp
mov dword [ecx + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x1c]
push edx
call ebx
push edi
call ebx
mov eax, dword [esp + 0x24]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x30
ret
Function at 0x100154a0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebx + 8]
test esi, esi
jne 0x100154b7
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x58
ret
push edi
push 0x44
lea eax, [esp + 0x24]
push 0
push eax
mov dword [esp + 0x18], 0
call fcn.10023f90
xor eax, eax
add esp, 0xc
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
add esi, 0x19
push esi
call fcn.10022f55
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
push ecx
push edx
push str._s__v__d
mov edi, eax
push esi
push edi
call fcn.10023f6f
add esp, 0x18
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x24]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
test eax, eax
je 0x1001557b
mov edx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 0xc]
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 8]
cmp eax, 0x23
jne 0x1001556b
pop esi
mov eax, 1
pop ebx
add esp, 0x58
ret
cmp eax, 0x24
jne 0x1001557b
pop esi
mov eax, 2
pop ebx
add esp, 0x58
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x58
ret

Function at 0x10015590
Capabilities:
Set registry value

Disassembly:
lea eax, [esp - 0xc]
sub esp, 0xc
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100155b4
or eax, 0xffffffff
add esp, 0xc
ret
push esi
push 0
call fcn.100250a1
add esp, 4
push 8
lea ecx, [esp + 0xc]
push ecx
push 3
push 0
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x14]
push str.snoozetime
push edx
mov dword [esp + 0x20], eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
inc eax
pop esi
add esp, 0xc
ret

Function at 0x10015600
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015628
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, dword [esp + 4]
mov ecx, dword [esi + 0xc]
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.lstupd
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
inc eax
pop esi
add esp, 8
ret
Function at 0x10015670
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048968
push 0x10023b70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x20]
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, esi
je 0x100156cb
or eax, 0xffffffff
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x1c], esi
mov eax, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x24]
push ecx
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x28]
push eax
push esi
push str.lstupd
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, esi
je 0x100156fc
mov dword [ebp - 0x1c], esi
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10015750
Capabilities:
Set registry value

Disassembly:
sub esp, 8
mov eax, dword [ecx + 0xc]
lea ecx, [esp]
push ecx
mov dword [esp + 8], eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1001577a
or eax, 0xffffffff
add esp, 8
ret
mov eax, dword [esp]
push esi
push 4
lea edx, [esp + 0xc]
push edx
push 4
push 0
push str.updatcncl
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
neg eax
sbb eax, eax
and eax, 0xfffffffd
inc eax
pop esi
add esp, 8
ret

Function at 0x100157c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100157e8
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
push 0
push str.updatcncl
push ecx
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 4]
push edx
test eax, eax
je 0x1001582a
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
xor eax, eax
cmp ecx, dword [esi + 0xc]
sete al
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x10015850
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x14]
sub esp, 0x14
push eax
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015874
or eax, 0xffffffff
add esp, 0x14
ret
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 4]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0
push str.snoozetime
push ecx
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100158b4
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0xfffffffe
add esp, 0x14
ret
push ebx
push 0
call fcn.100250a1
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.10024fda
fdiv qword [0x1003deb8]
add esp, 0x14
fcomp qword [0x1003deb0]
fnstsw ax
test ah, 0x41
jne 0x100158f8
mov edx, dword [esp + 4]
push edx
mov bl, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
pop ebx
add esp, 0x14
ret
mov edx, dword [esp + 4]
push edx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
pop ebx
add esp, 0x14
ret

Function at 0x10015a80
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
call fcn.10015270
mov ecx, esi
call fcn.10015270
mov ecx, esi
cmp eax, 1
je 0x10015ab4
push 4
call fcn.10015180
mov ecx, esi
call fcn.100150d0
xor al, al
pop esi
add esp, 0x104
ret
push edi
call fcn.100154a0
push str.PSUpdate.exe
mov edi, eax
call fcn.100136f0
push eax
push str._s_s
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.10023f6f
add esp, 0x14
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, 1
je 0x10015b27
mov ecx, esi
cmp edi, 2
jne 0x10015b0e
push 6
call fcn.10015180
mov ecx, esi
call fcn.100150d0
pop edi
xor al, al
pop esi
add esp, 0x104
ret
push 5
call fcn.10015180
mov ecx, esi
call fcn.100150d0
pop edi
xor al, al
pop esi
add esp, 0x104
ret
pop edi
mov al, 1
pop esi
add esp, 0x104
ret
Function at 0x10015b40
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
mov ebx, ecx
call fcn.100136a0
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015b68
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.updtfailed
push ecx
mov dword [esp + 0x28], 4
call edi
test eax, eax
je 0x10015bae
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, 0xfffffffe
pop ebx
add esp, 0x10
ret
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
push 0
push str.lstupd
push eax
mov dword [esp + 0x28], 0
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x10015bed
mov ecx, dword [esp + 0xc]
push ecx
call edi
xor eax, eax
jmp 0x10015bf1
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0xc]
setl al
cmp esi, 3
pop esi
jge 0x10015c0f
mov edx, dword [esp + 8]
push edx
call edi
pop edi
mov eax, 1
pop ebx
add esp, 0x10
ret
test al, al
je 0x10015c2c
mov ecx, ebx
call fcn.10015600
mov eax, dword [esp + 8]
push eax
call edi
pop edi
mov eax, 1
pop ebx
add esp, 0x10
ret
pop edi
xor eax, eax
pop ebx
add esp, 0x10
ret
Function at 0x1001daf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [ebx + 0x24]
push esi
push edi
mov eax, dword [ebx + 0x64]
mov edx, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x6c]
sub edx, eax
sub edx, ecx
jne 0x1001db14
test eax, eax
jne 0x1001db20
test ecx, ecx
jne 0x1001db20
mov edx, ebp
jmp 0x1001db9d
cmp edx, 0xffffffff
jne 0x1001db20
mov edx, 0xfffffffe
jmp 0x1001db9d
mov ecx, dword [ebx + 0x24]
lea ecx, [ecx + ebp - 0x106]
cmp eax, ecx
jb 0x1001db9d
mov edi, dword [ebx + 0x30]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
lea esi, [edi + ebp]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebx + 0x68]
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x54]
sub ecx, ebp
sub esi, ebp
mov dword [ebx + 0x64], ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebx + 0x68], esi
mov esi, dword [ebx + 0x44]
sub eax, ebp
mov dword [ebx + 0x54], eax
lea ecx, [ecx + esi*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x1001db74
sub eax, ebp
jmp 0x1001db76
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001db65
mov eax, dword [ebx + 0x38]
mov esi, ebp
lea ecx, [eax + ebp*2]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebp
jb 0x1001db93
sub eax, ebp
jmp 0x1001db95
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001db84
add edx, ebp
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001dc03
mov ecx, dword [ebx + 0x6c]
mov edi, dword [ebx + 0x64]
mov esi, dword [ebx + 0x30]
add ecx, edi
add ecx, esi
push ecx
push eax
mov ecx, edx
call fcn.1001d9f0
mov ecx, dword [ebx + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 8
cmp edx, 3
mov dword [ebx + 0x6c], ecx
jb 0x1001dbee
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edx, 0x106
jae 0x1001dc03
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x1001daf6
pop edi
pop esi
pop ebp
ret
Function at 0x100267cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1004ea74]
jne 0x100267d5
repz ret
jmp fcn.1002f23d

Function at 0x10033d87
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1002aa9e
and dword [ebp - 4], 0
cmp dword [0x10051380], 0
mov ebx, eax
jne 0x10033e38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10033ee9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10045e7c
push edi
call esi
test eax, eax
je 0x10033ee9
push eax
call fcn.1002aa2c
mov dword [esp], 0x10045e6c
push edi
mov dword [0x10051380], eax
call esi
push eax
call fcn.1002aa2c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10051384], eax
call esi
push eax
call fcn.1002aa2c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10051388], eax
call esi
push eax
call fcn.1002aa2c
pop ecx
mov dword [0x10051390], eax
test eax, eax
je 0x10033e38
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002aa2c
pop ecx
mov dword [0x1005138c], eax
mov eax, dword [0x1005138c]
cmp eax, ebx
je 0x10033e90
cmp dword [0x10051390], ebx
je 0x10033e90
push eax
call fcn.1002aaa7
push dword [0x10051390]
mov esi, eax
call fcn.1002aaa7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10033e90
test edi, edi
je 0x10033e90
call esi
test eax, eax
je 0x10033e87
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10033e87
test byte [ebp - 0xc], 1
jne 0x10033e90
or dword [ebp + 0x10], 0x200000
jmp 0x10033ec9
mov eax, dword [0x10051384]
cmp eax, ebx
je 0x10033ec9
push eax
call fcn.1002aaa7
pop ecx
test eax, eax
je 0x10033ec9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10033ec9
mov eax, dword [0x10051388]
cmp eax, ebx
je 0x10033ec9
push eax
call fcn.1002aaa7
pop ecx
test eax, eax
je 0x10033ec9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10051380]
call fcn.1002aaa7
pop ecx
test eax, eax
je 0x10033ee9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10033eeb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret