joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d860
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54b658
push 0x4e3c90
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x556768]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x2c], 0
xor edi, edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], edi
mov dword [eax], edi
mov dword [ecx], edi
lea eax, [ebp - 0x2c]
push eax
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x41d8da
cmp dword [ebp - 0x2c], edi
je 0x41d8da
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41d912
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x3f0
jne 0x41d9f4
lea eax, [ebp - 0x2c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41d9f4
cmp dword [ebp - 0x2c], 0
je 0x41d9f4
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 2
push dword [ebp - 0x2c]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call ebx
test eax, eax
jne 0x41d9f4
cmp dword [ebp - 0x30], eax
jbe 0x41d9f4
call esi
cmp eax, 0x7a
jne 0x41d9f4
push dword [ebp - 0x30]
call fcn.004ea8ba
add esp, 4
mov edi, eax
mov dword [ebp - 0x38], edi
test edi, edi
je 0x41d9f4
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x30]
push edi
push 2
push dword [ebp - 0x2c]
call ebx
test eax, eax
je 0x41d9f4
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x30]
jne 0x41d9f4
mov dword [ebp - 0x24], 0
mov word [ebp - 0x20], 0x500
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x41d9f4
cmp dword [ebp - 0x34], 0
je 0x41d9f4
xor esi, esi
mov dword [ebp - 0x3c], esi
cmp esi, dword [edi]
jae 0x41d9f4
lea ebx, [edi + esi*8]
push dword [ebp - 0x34]
push dword [ebx + 4]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41d9dd
inc esi
jmp 0x41d9c0
mov eax, dword [ebp - 0x40]
mov dword [eax], 1
mov eax, dword [ebx + 8]
shr eax, 2
and eax, 1
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
call fcn.0041da21
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 8
Function at 0x41e170
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x110
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41e1d0
cmp dword [ebp - 0x114], 6
jb 0x41e1d0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
Function at 0x41feb0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54b618
push 0x4e3c90
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x556768]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x438], 0
mov dword [ebp - 4], 0
push 0x200
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.004e38d0
push edi
push str.SYSTEMCurrentControlSetServices_sParameters
push 0xff
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push 0x20219
push 0
lea eax, [ebp - 0x42c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41ffc9
mov dword [ebp - 0x434], eax
push 0x210
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.004e38d0
add esp, 0xc
mov dword [ebp - 0x430], 0x210
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x434]
push eax
push 0
push str.ServiceDll
push dword [ebp - 0x438]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ffc9
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
cmp ecx, eax
jle 0x41ffc9
push ecx
lea eax, [ebp - 0x22c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [ebp - 4], 0xfffffffe
call fcn.0041fffb
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4214e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
mov esi, ecx
push 0
mov dword [ebp - 8], esi
push 0
mov dword [ebp - 8], esi
push 0
mov dword [esi], vtable.CTrayPos.0
mov dword [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x14], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x421750
push 0
push 0
call fcn.004eaa9b
mov dword [esi + 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push esi
push 0x4217d0
push 0
push 0
call fcn.004eaa9b
add esp, 0x30
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp + 8]
mov eax, esi
mov dword [esi + 0x34], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x38], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esi + 0x3c], ecx
mov ecx, dword [ebp - 4]
mov dword [esi], vtable.CMsgTrayPos.0
xor ecx, ebp
pop esi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0xc

Function at 0x421590
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [sym.imp.KERNEL32.dll_SetEvent]
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi + 0xc], 0
mov dword [esi], vtable.CTrayPos.0
je 0x4215e1
push dword [esi + 0x14]
call eax
push 0x1388
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4215d0
push 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0xc]
call edi
mov eax, dword [sym.imp.KERNEL32.dll_SetEvent]
mov dword [esi + 0xc], 0
cmp dword [esi + 0x10], 0
je 0x421618
push dword [esi + 0x14]
call eax
push 0x1388
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42160c
push 0
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x10]
call edi
mov dword [esi + 0x10], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x421629
push eax
call edi
mov dword [esi + 0x14], 0
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
pop edi
pop esi
ret
Function at 0x421e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x421f48
mov eax, dword [edi + 0xc]
cmp dword [eax - 0xc], 0
je 0x421f48
mov eax, dword [edi + 4]
cmp dword [eax - 0xc], 0
je 0x421f48
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x421f48
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, edi
push 0x104
push eax
push dword [edi + 4]
call fcn.00421f70
test eax, eax
je 0x421f48
push esi
mov esi, dword [edi + 0xc]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00422230
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
call fcn.00422230
mov ecx, dword [ebp - 0x218]
mov edx, ecx
mov esi, dword [ebp - 0x210]
sub esi, dword [ebp - 0x214]
sub edx, dword [ebp - 0x21c]
cmp ecx, dword [ebp - 0x21c]
cmove edx, esi
xor eax, eax
test edx, edx
pop esi
sete al
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret

Function at 0x421f70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004a1f10
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x422069
test edi, edi
je 0x422069
mov ebx, dword [ebp + 0x10]
cmp ebx, 0x104
jl 0x422069
push 0x4000
lea eax, [ebp - 0x4004]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x422069
cmp eax, 0x3fff
ja 0x422069
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x422069
lea eax, [ebp - 0x400c]
push eax
lea eax, [ebp - 0x4010]
push eax
push 0x5179e0
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x422069
push ebx
push 0
push edi
call fcn.004e38d0
mov ecx, dword [ebp - 0x4010]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebx - 1]
push eax
push edi
call fcn.004221b0
add esp, 0x28
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0xc
Function at 0x424eb0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004a1f10
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
cmp dword [esi - 0xc], 0
jne 0x424ee6
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 4
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004e38d0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.004ea1f5
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 4
Function at 0x424f90
Capabilities:
Check if file exists
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eddb
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0x518470
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425163
mov dword [ebp - 4], 0
call fcn.004051a0
mov ecx, eax
test ecx, ecx
je 0x42517e
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 1
jge 0x425070
push 0x104
lea ecx, [ebp - 0x21c]
call fcn.00405680
mov esi, dword [ebp - 0x21c]
cmp dword [esi - 8], 0x104
lea edi, [esi - 0x10]
jl 0x425188
xor eax, eax
mov dword [edi + 4], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
push esi
push 0x518f38
push str.state
push str.update
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push dword [edi + 8]
push esi
call fcn.004e6e78
add esp, 8
test eax, eax
js 0x425188
cmp eax, dword [edi + 8]
jg 0x425188
xor ecx, ecx
mov dword [edi + 4], eax
mov word [esi + eax*2], cx
mov ecx, str.ADBlockMasterUpdate
mov eax, esi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x425106
test dx, dx
je 0x425102
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x425106
add eax, 4
add ecx, 4
test dx, dx
jne 0x4250e0
xor eax, eax
jmp 0x42510b
sbb eax, eax
or eax, 1
test eax, eax
je 0x425147
mov eax, str.bigupdate
mov cx, word [esi]
cmp cx, word [eax]
jne 0x42513a
test cx, cx
je 0x425136
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x42513a
add esi, 4
add eax, 4
test cx, cx
jne 0x425114
xor eax, eax
jmp 0x42513f
sbb eax, eax
or eax, 1
test eax, eax
je 0x425147
xor esi, esi
jmp 0x42514c
mov esi, 1
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x425161
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404d50
push 0x80070057
call fcn.00404d50
int3
Function at 0x426770
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x208
push 0
push eax
call fcn.004e38d0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004e38d0
add esp, 0x18
lea eax, [ebp - 0x20c]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.ADBlockMaster
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4267f5
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
mov dword [ebp - 0x41c], 0
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x418], 7
mov word [ebp - 0x42c], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426820
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040aed0
cmp dword [ebp - 0x418], 8
lea eax, [ebp - 0x42c]
push esi
cmovae eax, dword [ebp - 0x42c]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x4268a1
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426897
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4268c9
push edx
push ecx
call fcn.004a1bda
add esp, 8
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x414]
push eax
call fcn.0042fa00
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
call fcn.004e6c79
int3
Function at 0x4269d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1058
call fcn.004a1f10
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0x1048], 0x44
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1048]
push edi
mov edi, dword [ebp + 0xc]
push eax
movlpd qword [ebp - 0x1044], xmm0
movlpd qword [ebp - 0x103c], xmm0
movlpd qword [ebp - 0x1034], xmm0
movlpd qword [ebp - 0x102c], xmm0
movlpd qword [ebp - 0x1024], xmm0
movlpd qword [ebp - 0x101c], xmm0
movlpd qword [ebp - 0x1014], xmm0
movlpd qword [ebp - 0x100c], xmm0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
xor eax, eax
mov dword [ebp - 0x101c], 1
mov word [ebp - 0x1018], ax
xorps xmm0, xmm0
movups xmmword [ebp - 0x1058], xmm0
test edi, edi
je 0x426ab5
push 0x1000
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.004e38d0
push edi
push esi
lea eax, [ebp - 0x1004]
push str.__s___s
push eax
call fcn.0040f2c0
add esp, 0x1c
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x1004]
push eax
jmp 0x426ad0
lea eax, [ebp - 0x1058]
push eax
lea eax, [ebp - 0x1048]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x426af4
push dword [ebp - 0x1054]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1058]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
Function at 0x42a750
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f193
mov eax, dword fs:[0]
push eax
sub esp, 0x420
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], 0
test esi, esi
je 0x42a7f5
cmp word [esi], di
je 0x42a7f5
test eax, eax
je 0x42a7b1
cmp word [eax], di
je 0x42a7b1
push edi
push edi
push eax
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
js 0x42a7f5
jmp 0x42a7f0
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004e38d0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x42a7f5
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42a85b
lea esi, [ebx + 0x38]
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x428], esi
test esi, esi
je 0x42a81b
mov eax, dword [esi]
push esi
call dword [eax]
mov ecx, dword [ebp + 0x34]
mov byte [ebp - 4], 1
mov dword [ebp - 0x424], edi
test ecx, ecx
je 0x42a87b
mov eax, dword [ecx]
lea edx, [ebp - 0x424]
push edx
call dword [eax + 8]
mov byte [ebp - 4], 2
test esi, esi
je 0x42a843
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x42a85b
mov edx, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret 0x30
call fcn.00427b8c
int3
Function at 0x42b1b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x55e300], 0
jne 0x42b2eb
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
jb 0x42b1fa
mov eax, dword [eax]
push edi
push 0x20219
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x818]
call fcn.00411560
mov edi, dword [ebp - 0x818]
test eax, eax
jne 0x42b2cc
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push str.FROM
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42b2cc
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x42b25e
cmp eax, 2
jne 0x42b2cc
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x42b27b
test al, 1
jne 0x42b2cc
shr eax, 1
cmp word [ebp + eax*2 - 0x806], 0
je 0x42b284
jmp 0x42b2cc
xor eax, eax
mov word [ebp - 0x804], ax
push esi
mov ecx, 0x55e300
lea esi, [ebp - 0x804]
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x42b2be
movzx eax, word [esi + ecx]
test ax, ax
je 0x42b2be
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42b2a0
test edx, edx
lea eax, [ecx - 2]
pop esi
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x42b2d7
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 0x55e300
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x55e300
xor ecx, ebp
call fcn.004a1e90
mov esp, ebp
pop ebp
ret
Function at 0x42b950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x818
mov eax, dword [0x556768]
xor eax, ebp
mov dword [ebp - 4], eax
cmp word [0x55db00], 0
push esi
jne 0x42ba77
cmp dword [ecx + 0x2c], 8
lea eax, [ecx + 0x18]
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 0
mov dword [ebp - 0x810], 0
jb 0x42b99b
mov eax, dword [eax]
push edi
push 0x20219
push eax
push dword [ecx + 0x30]
lea ecx, [ebp - 0x818]
call fcn.00411560
mov edi, dword [ebp - 0x818]
test eax, eax
jne 0x42ba6b
lea eax, [ebp - 0x808]
mov dword [ebp - 0x808], 0x800
push eax
lea eax, [ebp - 0x804]
push eax
lea eax, [ebp - 0x80c]
push eax
push 0
push 0x51dcd4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42ba6b
mov eax, dword [ebp - 0x80c]
cmp eax, 1
je 0x42b9ff
cmp eax, 2
jne 0x42ba6b
mov eax, dword [ebp - 0x808]
test eax, eax
je 0x42ba1c
test al, 1
jne 0x42ba6b
shr eax, 1
cmp word [ebp + eax*2 - 0x806], 0
je 0x42ba25
jmp 0x42ba6b
xor eax, eax
mov word [ebp - 0x804], ax
mov ecx, 0x55db00
lea esi, [ebp - 0x804]
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x42ba5e
movzx eax, word [esi + ecx]
test ax, ax
je 0x42ba5e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42ba40
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x42ba76
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
push 0x55db00
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x42bacb
mov ecx, 0x55db00
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x42babe
movzx eax, word [esi + ecx]
test ax, ax
je 0x42babe
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x42baa0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 4]
mov eax, 0x55db00
xor ecx, ebp
pop esi
call fcn.004a1e90
mov esp, ebp
pop ebp
ret