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

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10014e44
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 0x10014e84
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 0x10014ea0
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10014ef9
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 0x10014eff
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 0x10014f20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10014f48
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
call fcn.10014ea0
cmp eax, 7
jne 0x10014f67
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 0x10014f57
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 0x10014fc0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10014fe4
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 0x10015029
mov dword [esp + 4], 1
jmp 0x10015032
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 0x10015070
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015094
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 0x100150d9
mov dword [esp + 4], 1
jmp 0x100150e2
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 0x10015120
Capabilities:
Set registry value

Disassembly:
lea eax, [esp - 8]
sub esp, 8
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015146
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 0x10015180
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100151a4
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 0x100151e4
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 0x10015210
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 0x100420fc
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 0x10042108
push esi
call edi
push str.InternetOpenUrlA
push esi
mov ebp, eax
call edi
push 0x1004212c
push esi
mov ebx, eax
call edi
push 0x10042140
push esi
mov dword [esp + 0x24], eax
call edi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x10015435
test ebx, ebx
je 0x10015435
cmp dword [esp + 0x1c], 0
je 0x10015435
test eax, eax
je 0x10015435
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
push 0
push str.ps_v2.0.370
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 0x100152cd
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 0x1001530c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x30
ret
push 0x200
call fcn.10022fd5
add esp, 4
mov ebx, eax
push str.PSUpdate.exe
mov dword [esp + 0x3c], ebx
call fcn.10013690
push eax
push 0x10042160
push 0x200
push ebx
call fcn.10023fef
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 0x10015374
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 0x1001539a
mov eax, dword [esp + 0x18]
cmp eax, 3
jge 0x100153f2
test eax, eax
je 0x100153b0
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 0x100153b0
xor eax, eax
cmp ebx, dword [esp + 0x14]
sete al
inc dword [esp + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x10015396
mov edx, dword [esp + 0x38]
push edx
call fcn.10025171
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 0x10015440
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 0x10015457
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.10024010
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.10022fd5
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.10023fef
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 0x1001551b
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 0x1001550b
pop esi
mov eax, 1
pop ebx
add esp, 0x58
ret
cmp eax, 0x24
jne 0x1001551b
pop esi
mov eax, 2
pop ebx
add esp, 0x58
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x58
ret

Function at 0x10015530
Capabilities:
Set registry value

Disassembly:
lea eax, [esp - 0xc]
sub esp, 0xc
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015554
or eax, 0xffffffff
add esp, 0xc
ret
push esi
push 0
call fcn.10025120
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 0x100155a0
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100155c8
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 0x10015610
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10048968
push 0x10023bf0
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.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
cmp eax, esi
je 0x1001566b
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 0x1001569c
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 0x100156f0
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.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x1001571a
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 0x10015760
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015788
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 0x100157ca
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 0x100157f0
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x14]
sub esp, 0x14
push eax
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015814
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 0x10015854
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.10025120
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.1002505a
fdiv qword [0x1003dea8]
add esp, 0x14
fcomp qword [0x1003dea0]
fnstsw ax
test ah, 0x41
jne 0x10015898
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 0x10015a20
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
call fcn.10015210
mov ecx, esi
call fcn.10015210
mov ecx, esi
cmp eax, 1
je 0x10015a54
push 4
call fcn.10015120
mov ecx, esi
call fcn.10015070
xor al, al
pop esi
add esp, 0x104
ret
push edi
call fcn.10015440
push str.PSUpdate.exe
mov edi, eax
call fcn.10013690
push eax
push str._s_s
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.10023fef
add esp, 0x14
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, 1
je 0x10015ac7
mov ecx, esi
cmp edi, 2
jne 0x10015aae
push 6
call fcn.10015120
mov ecx, esi
call fcn.10015070
pop edi
xor al, al
pop esi
add esp, 0x104
ret
push 5
call fcn.10015120
mov ecx, esi
call fcn.10015070
pop edi
xor al, al
pop esi
add esp, 0x104
ret
pop edi
mov al, 1
pop esi
add esp, 0x104
ret
Function at 0x10015ae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
mov ebx, ecx
call fcn.10013640
push eax
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10015b08
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 0x10015b4e
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 0x10015b8d
mov ecx, dword [esp + 0xc]
push ecx
call edi
xor eax, eax
jmp 0x10015b91
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0xc]
setl al
cmp esi, 3
pop esi
jge 0x10015baf
mov edx, dword [esp + 8]
push edx
call edi
pop edi
mov eax, 1
pop ebx
add esp, 0x10
ret
test al, al
je 0x10015bcc
mov ecx, ebx
call fcn.100155a0
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 0x1001db70
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 0x1001db94
test eax, eax
jne 0x1001dba0
test ecx, ecx
jne 0x1001dba0
mov edx, ebp
jmp 0x1001dc1d
cmp edx, 0xffffffff
jne 0x1001dba0
mov edx, 0xfffffffe
jmp 0x1001dc1d
mov ecx, dword [ebx + 0x24]
lea ecx, [ecx + ebp - 0x106]
cmp eax, ecx
jb 0x1001dc1d
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 0x1001dbf4
sub eax, ebp
jmp 0x1001dbf6
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001dbe5
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 0x1001dc13
sub eax, ebp
jmp 0x1001dc15
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001dc04
add edx, ebp
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001dc83
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.1001da70
mov ecx, dword [ebx + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 8
cmp edx, 3
mov dword [ebx + 0x6c], ecx
jb 0x1001dc6e
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 0x1001dc83
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x1001db76
pop edi
pop esi
pop ebp
ret
Function at 0x1002684b
Capabilities:
Terminate process

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

Function at 0x10033df4
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.1002aad1
and dword [ebp - 4], 0
cmp dword [0x10051380], 0
mov ebx, eax
jne 0x10033ea5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10033f56
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10045e7c
push edi
call esi
test eax, eax
je 0x10033f56
push eax
call fcn.1002aa5f
mov dword [esp], 0x10045e6c
push edi
mov dword [0x10051380], eax
call esi
push eax
call fcn.1002aa5f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10051384], eax
call esi
push eax
call fcn.1002aa5f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10051388], eax
call esi
push eax
call fcn.1002aa5f
pop ecx
mov dword [0x10051390], eax
test eax, eax
je 0x10033ea5
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002aa5f
pop ecx
mov dword [0x1005138c], eax
mov eax, dword [0x1005138c]
cmp eax, ebx
je 0x10033efd
cmp dword [0x10051390], ebx
je 0x10033efd
push eax
call fcn.1002aada
push dword [0x10051390]
mov esi, eax
call fcn.1002aada
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10033efd
test edi, edi
je 0x10033efd
call esi
test eax, eax
je 0x10033ef4
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10033ef4
test byte [ebp - 0xc], 1
jne 0x10033efd
or dword [ebp + 0x10], 0x200000
jmp 0x10033f36
mov eax, dword [0x10051384]
cmp eax, ebx
je 0x10033f36
push eax
call fcn.1002aada
pop ecx
test eax, eax
je 0x10033f36
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10033f36
mov eax, dword [0x10051388]
cmp eax, ebx
je 0x10033f36
push eax
call fcn.1002aada
pop ecx
test eax, eax
je 0x10033f36
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10051380]
call fcn.1002aada
pop ecx
test eax, eax
je 0x10033f56
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10033f58
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret