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

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10012b84
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 0x10012bc4
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 0x10012be0
Capabilities:
Query or enumerate registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x10012c34
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.updtstat
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10012c3a
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 + 8]
add esp, 0x10
ret

Function at 0x10012c50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push esi
lea eax, [esp + 4]
push eax
mov esi, ecx
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10012c78
or eax, 0xffffffff
pop esi
add esp, 0x10
ret
call fcn.10012be0
cmp eax, 7
jne 0x10012c97
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 0x10012c87
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 0x10012cf0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10012d14
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 0x10012d59
mov dword [esp + 4], 1
jmp 0x10012d62
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 0x10012da0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x14
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10012dc4
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 0x10012e09
mov dword [esp + 4], 1
jmp 0x10012e12
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 0x10012e50
Capabilities:
Set registry value

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

Disassembly:
lea eax, [esp - 0x10]
sub esp, 0x10
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10012ed4
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 0x10012f14
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 0x10012f40
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 0x1003939c
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 0x100393a8
push esi
call edi
push str.InternetOpenUrlA
push esi
mov ebp, eax
call edi
push 0x100393cc
push esi
mov ebx, eax
call edi
push 0x100393e0
push esi
mov dword [esp + 0x24], eax
call edi
mov dword [esp + 0x30], eax
test ebp, ebp
je 0x10013165
test ebx, ebx
je 0x10013165
cmp dword [esp + 0x1c], 0
je 0x10013165
test eax, eax
je 0x10013165
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0
push 0
push 0
push 0
push str.ps_201
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 0x10012ffd
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 0x1001303c
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x30
ret
push 0x200
call fcn.10020e3f
add esp, 4
mov ebx, eax
push str.PSUpdate.exe
mov dword [esp + 0x3c], ebx
call fcn.10002590
push eax
push 0x100393fc
push 0x200
push ebx
call fcn.100226c5
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 0x100130a4
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 0x100130ca
mov eax, dword [esp + 0x18]
cmp eax, 3
jge 0x10013122
test eax, eax
je 0x100130e0
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 0x100130e0
xor eax, eax
cmp ebx, dword [esp + 0x14]
sete al
inc dword [esp + 0x18]
mov dword [esp + 0x28], eax
test eax, eax
je 0x100130c6
mov edx, dword [esp + 0x38]
push edx
call fcn.100225f3
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 0x10013170
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 0x10013187
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.10021df0
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.10020e3f
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.100226c5
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 0x1001324b
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 0x1001323b
pop esi
mov eax, 1
pop ebx
add esp, 0x58
ret
cmp eax, 0x24
jne 0x1001324b
pop esi
mov eax, 2
pop ebx
add esp, 0x58
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x58
ret

Function at 0x10013260
Capabilities:
Set registry value

Disassembly:
lea eax, [esp - 0xc]
sub esp, 0xc
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10013284
or eax, 0xffffffff
add esp, 0xc
ret
push esi
push 0
call fcn.10022f71
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 0x100132d0
Capabilities:
Set registry value

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

Disassembly:
lea eax, [esp - 0xc]
sub esp, 0x10
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x10013364
or eax, 0xffffffff
add esp, 0x10
ret
mov eax, 4
lea ecx, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 4]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x14]
push eax
push 0
push str.lstupd
push ecx
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100133a5
mov dword [esp], 0
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp]
add esp, 0x10
ret

Function at 0x100133c0
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.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100133ea
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 0x10013430
Capabilities:
Query or enumerate registry value

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

Disassembly:
lea eax, [esp - 0x14]
sub esp, 0x14
push eax
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100134e4
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 0x10013524
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.10022f71
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.10022eaa
fdiv qword [0x10038960]
add esp, 0x14
fcomp qword [0x10038958]
fnstsw ax
test ah, 0x41
jne 0x10013568
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 0x100136f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, ecx
call fcn.10012f40
mov ecx, esi
call fcn.10012f40
mov ecx, esi
cmp eax, 1
je 0x10013724
push 4
call fcn.10012e50
mov ecx, esi
call fcn.10012da0
xor al, al
pop esi
add esp, 0x104
ret
push edi
call fcn.10013170
push str.PSUpdate.exe
mov edi, eax
call fcn.10002590
push eax
push str._s_s
lea eax, [esp + 0x14]
push 0x104
push eax
call fcn.100226c5
add esp, 0x14
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp edi, 1
je 0x10013797
mov ecx, esi
cmp edi, 2
jne 0x1001377e
push 6
call fcn.10012e50
mov ecx, esi
call fcn.10012da0
pop edi
xor al, al
pop esi
add esp, 0x104
ret
push 5
call fcn.10012e50
mov ecx, esi
call fcn.10012da0
pop edi
xor al, al
pop esi
add esp, 0x104
ret
pop edi
mov al, 1
pop esi
add esp, 0x104
ret
Function at 0x100137b0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
lea eax, [esp + 4]
push eax
mov ebx, ecx
call fcn.10002540
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x100137d8
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 0x1001381e
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 0x1001385d
mov ecx, dword [esp + 0xc]
push ecx
call edi
xor eax, eax
jmp 0x10013861
mov eax, dword [esp + 0x10]
cmp eax, dword [ebx + 0xc]
setl al
cmp esi, 3
pop esi
jge 0x1001387f
mov edx, dword [esp + 8]
push edx
call edi
pop edi
mov eax, 1
pop ebx
add esp, 0x10
ret
test al, al
je 0x1001389c
mov ecx, ebx
call fcn.100132d0
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 0x1001b9e0
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 0x1001ba04
test eax, eax
jne 0x1001ba10
test ecx, ecx
jne 0x1001ba10
mov edx, ebp
jmp 0x1001ba8d
cmp edx, 0xffffffff
jne 0x1001ba10
mov edx, 0xfffffffe
jmp 0x1001ba8d
mov ecx, dword [ebx + 0x24]
lea ecx, [ecx + ebp - 0x106]
cmp eax, ecx
jb 0x1001ba8d
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 0x1001ba64
sub eax, ebp
jmp 0x1001ba66
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001ba55
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 0x1001ba83
sub eax, ebp
jmp 0x1001ba85
xor eax, eax
dec esi
mov word [ecx], ax
jne 0x1001ba74
add edx, ebp
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x1001baf3
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.1001b8e0
mov ecx, dword [ebx + 0x6c]
add ecx, eax
mov edx, ecx
add esp, 8
cmp edx, 3
mov dword [ebx + 0x6c], ecx
jb 0x1001bade
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 0x1001baf3
mov edx, dword [ebx]
mov eax, dword [edx + 4]
test eax, eax
jne 0x1001b9e6
pop edi
pop esi
pop ebp
ret
Function at 0x1002459b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10045794]
jne 0x100245a5
repz ret
jmp fcn.1002cf6d

Function at 0x10031b4f
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.10027a38
and dword [ebp - 4], 0
cmp dword [0x10047c90], 0
mov ebx, eax
jne 0x10031c00
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10031cb1
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1003d12c
push edi
call esi
test eax, eax
je 0x10031cb1
push eax
call fcn.100279c6
mov dword [esp], 0x1003d11c
push edi
mov dword [0x10047c90], eax
call esi
push eax
call fcn.100279c6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10047c94], eax
call esi
push eax
call fcn.100279c6
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10047c98], eax
call esi
push eax
call fcn.100279c6
pop ecx
mov dword [0x10047ca0], eax
test eax, eax
je 0x10031c00
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100279c6
pop ecx
mov dword [0x10047c9c], eax
mov eax, dword [0x10047c9c]
cmp eax, ebx
je 0x10031c58
cmp dword [0x10047ca0], ebx
je 0x10031c58
push eax
call fcn.10027a41
push dword [0x10047ca0]
mov esi, eax
call fcn.10027a41
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10031c58
test edi, edi
je 0x10031c58
call esi
test eax, eax
je 0x10031c4f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10031c4f
test byte [ebp - 0xc], 1
jne 0x10031c58
or dword [ebp + 0x10], 0x200000
jmp 0x10031c91
mov eax, dword [0x10047c94]
cmp eax, ebx
je 0x10031c91
push eax
call fcn.10027a41
pop ecx
test eax, eax
je 0x10031c91
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10031c91
mov eax, dword [0x10047c98]
cmp eax, ebx
je 0x10031c91
push eax
call fcn.10027a41
pop ecx
test eax, eax
je 0x10031c91
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10047c90]
call fcn.10027a41
pop ecx
test eax, eax
je 0x10031cb1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10031cb3
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x433006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6b554630
nop
nop
nop
test eax, eax
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x71d9069b
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219