joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c0f0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x4c10cc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
sub esp, 0x18
mov edi, ecx
mov ecx, esp
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x234], edi
push 0x14
push str.Message_Window_Class
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.0040e8f0
push 0
push esi
mov ecx, edi
call fcn.00454810
push 0
push 2
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x44c1bc
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x44c1b5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
cmp ebx, dword [ebp - 0x228]
je 0x44c1ac
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x44c187
jmp 0x44c1b5
mov ecx, dword [ebp - 0x218]
mov dword [edi + 0x34], ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046ad93
mov esp, ebp
pop ebp
ret 4
Function at 0x44c5f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49454d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c10cc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push eax
push 0x20219
push 0
push str.SoftwareWorking_SolutionsAcquire
push connect
mov dword [ebp - 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44c66a
xor eax, eax
mov dword [esi], 0
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
mov dword [esi + 0x14], 7
push 0x4ad568
mov word [esi], ax
call fcn.0040e8f0
jmp 0x44c7b6
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
test eax, eax
jne 0x44c788
mov ecx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x18]
shr ecx, 1
inc ecx
cmp ecx, eax
ja 0x44c6d0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x44c6dd
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.004382e0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x48]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
push str.mainexe
push dword [ebp - 0x44]
call edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0044e3e0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x28]
cmp eax, edi
je 0x44c780
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44c74e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c744
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c7d3
push edx
push ecx
call fcn.0046a77c
add esp, 8
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
lea ecx, [ebp - 0x40]
call fcn.0040e140
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44c7e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 8], ebx
mov eax, dword [ebx + 0x34]
cmp eax, 1
jb 0x44c841
push eax
push 0
push 0x100000
mov byte [ebp - 1], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x44c828
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, eax
neg ebx
push esi
sbb bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and bl, byte [ebp - 1]
jne 0x44c83e
push 0x49f968
push str.TMainControl
call dword [sym.imp.USER32.dll_FindWindowW]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x44d920
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebx + 0x34], 0
je 0x44c895
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
cmp esi, edi
je 0x44c89b
lea eax, [ebp - 8]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
test eax, eax
je 0x44c88e
mov eax, dword [ebp - 8]
cmp eax, dword [ebx + 0x34]
je 0x44c8e2
add esi, 4
cmp esi, edi
jne 0x44c876
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
sub edi, esi
test edi, 0xfffffffc
je 0x44c8e9
mov eax, esi
mov edi, dword [eax]
test esi, esi
je 0x44c8d9
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x44c8cf
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c922
push ecx
push esi
call fcn.0046a77c
add esp, 8
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, esi
mov esi, dword [ebp - 0x14]
jmp 0x44c8a7
test esi, esi
je 0x44c919
mov ecx, dword [ebp - 0xc]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x44c90f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c922
push ecx
push esi
call fcn.0046a77c
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44da80
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
push ebx
mov esi, dword [edi + 0x14]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
cmp eax, esi
jne 0x44db25
cmp esi, dword [edi + 0x2c]
mov edx, 2
cmovbe esi, dword [edi + 0x2c]
xor ecx, ecx
add esi, 5
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0046a9b6
add esp, 4
mov dword [ebp + 0xc], eax
push esi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push dword [ebp + 0xc]
lea ecx, [edi + 4]
call fcn.0044c570
test eax, eax
jne 0x44db19
push esi
mov esi, dword [ebp + 0xc]
push esi
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x44db1c
push esi
lea ecx, [edi + 0x1c]
call fcn.0044c570
test eax, eax
jne 0x44db1c
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
cmp eax, dword [ecx + 8]
je 0x44db0d
mov dword [eax], ebx
add dword [ecx + 4], 4
jmp 0x44db1c
lea edx, [ebp + 8]
push edx
push eax
call fcn.0044bfe0
jmp 0x44db1c
mov esi, dword [ebp + 0xc]
push esi
call fcn.0046a4f6
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 8

Function at 0x44f070
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4953bd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x4c10cc]
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0x28], 0
xor bl, bl
push 0x4ad568
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040e8f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x4c1018
push eax
mov dword [ebp - 4], 0
call fcn.0040e8f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44f122
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f118
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f180
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x44f12a
mov edi, dword [edi]
lea eax, [ebp - 0x2c]
push eax
push 2
push 0
push edi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f162
cmp dword [esi + 0x14], 8
jb 0x44f14a
mov esi, dword [esi]
push esi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x2c]
test eax, eax
sete bl
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44f190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495400
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x4c10cc]
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 edi, dword [ebp + 8]
lea ecx, [ebp - 0xa8]
mov esi, dword [ebp + 0xc]
xor eax, eax
push eax
mov dword [ebp - 0xa8], 0
xor bl, bl
push 0x4ad568
mov dword [ebp - 0xb0], 0x7f
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
call fcn.0040e8f0
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
cmovae eax, dword [ebp - 0xa8]
mov ecx, 0x4c1018
push eax
mov dword [ebp - 4], 0
call fcn.0040e8f0
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x44f274
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f26a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44f2fc
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp dword [edi + 0x14], 8
jb 0x44f27c
mov edi, dword [edi]
lea eax, [ebp - 0xac]
push eax
push 0x201
push 0
push edi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f2de
cmp dword [esi + 0x14], 8
jb 0x44f2a2
mov esi, dword [esi]
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x90]
push eax
push 0
push 0
push esi
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44f2d0
cmp eax, 0xea
je 0x44f2d0
xor bl, bl
jmp 0x44f2d2
mov bl, 1
push dword [ebp - 0xac]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44f8d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49550d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c10cc]
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 eax, dword [ebp + 0x10]
xor bl, bl
mov ecx, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [eax], ecx
xor eax, eax
push eax
push 0x4ad568
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040e8f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x4c1018
push eax
mov dword [ebp - 4], 0
call fcn.0040e8f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44f99d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44f993
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fa2d
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x44f9a5
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push 0x201
push 0
push esi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44f9f6
cmp dword [edi + 0x14], 8
jb 0x44f9c8
mov edi, dword [edi]
mov esi, dword [ebp - 0x30]
push esi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f9f9
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x34], 0
je 0x44fa0f
cmp dword [ebp + 0x18], 0
jbe 0x44fa0f
xor ecx, ecx
movzx ebx, bl
cmp dword [esi], ecx
cmove ebx, ecx
mov al, bl
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44fa40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49550d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4c10cc]
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x44fb7d
mov eax, dword [ebp + 0x18]
cmp eax, 1
jb 0x44fb7d
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x28], 0
push eax
push 0x4ad568
xor bl, bl
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040e8f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x4c1018
push eax
mov dword [ebp - 4], 0
call fcn.0040e8f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44fb19
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fb0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fb9b
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x44fb21
mov esi, dword [esi]
lea eax, [ebp - 0x2c]
push eax
push 0x201
push 0
push esi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44fb70
cmp dword [edi + 0x14], 8
jb 0x44fb44
mov edi, dword [edi]
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push 0
push edi
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x2c]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
movzx eax, bl
cmp dword [ebp - 0x30], ecx
cmove eax, ecx
jmp 0x44fb7f
xor al, al
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x44fc20
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49554d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4c10cc]
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 eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp + 8]
xor bl, bl
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2c], eax
xor eax, eax
push eax
mov dword [ebp - 0x28], 0
push 0x4ad568
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.0040e8f0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov ecx, 0x4c1018
push eax
mov dword [ebp - 4], 0
call fcn.0040e8f0
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x44fce2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x44fcd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44fd61
push edx
push ecx
call fcn.0046a77c
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x44fd43
cmp dword [ebp + 0x18], 0
jbe 0x44fd43
cmp dword [esi + 0x14], 8
jb 0x44fcf6
mov esi, dword [esi]
lea eax, [ebp - 0x30]
push eax
push 2
push 0
push esi
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44fd43
cmp dword [edi + 0x14], 8
jb 0x44fd16
mov edi, dword [edi]
push dword [ebp + 0x18]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x2c]
push dword [eax]
push 0
push edi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x30]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmove ebx, ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3
Function at 0x452470
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
cmp dword [eax + 0x14], 8
jb 0x452481
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45249d
test al, 0x10
mov ecx, 1
movzx eax, bl
cmovne eax, ecx
pop ebx
pop ebp
ret
mov al, bl
pop ebx
pop ebp
ret

Function at 0x4524b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
xor bl, bl
cmp dword [eax + 0x14], 8
jb 0x4524c1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4524dd
test al, 0x10
mov ecx, 1
movzx eax, bl
cmove eax, ecx
pop ebx
pop ebp
ret
mov al, bl
pop ebx
pop ebp
ret

Function at 0x452560
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
cmp dword [eax + 0x14], 8
jb 0x452571
mov eax, dword [eax]
push esi
push 0
push 0x80
push 3
push 0
push 3
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4525af
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x452820
Capabilities:
Acquire debug privileges
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4c10cc]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x28]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea eax, [ebp - 0x30]
push eax
push str.SeShutdownPrivilege
push 0x4ad568
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 1
push eax
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push 0
push dword [ebp - 0x28]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
lea eax, [ebp - 0x30]
push eax
push str.SeDebugPrivilege
push 0x4ad568
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x14], 1
push eax
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], ecx
push eax
push 0
push dword [ebp - 0x28]
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push 1
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownW]
test eax, eax
je 0x4528fd
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0046ad93
mov esp, ebp
pop ebp
ret
push 1
push 0x16
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 4]
cmp eax, 1
sete al
xor ecx, ebp
call fcn.0046ad93
mov esp, ebp
pop ebp
ret
Function at 0x453540
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x495940
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x4c10cc]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x410]
push 0x400
push eax
push 0
mov dword [ebp - 0x42c], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x430]
mov dword [ebp - 0x430], 0
push eax
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov ebx, eax
cmp ebx, 1
jge 0x4535db
mov dword [esi], 0
xor eax, eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 7
mov dword [esi + 0x14], 7
push 0x4a0980
mov word [esi], ax
call fcn.0040e8f0
jmp 0x453709
push ebx
call fcn.0047a25e
mov edi, eax
add esp, 4
test edi, edi
je 0x4535af
push edi
push ebx
push 0
lea eax, [ebp - 0x410]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x4ad13c
push edi
call sub.VERSION.dll_VerQueryValueA
cmp dword [ebp - 0x434], 0x34
jae 0x453636
push edi
call fcn.0046edd3
add esp, 4
mov ecx, esi
push 0x4a0980
call fcn.0040e1a0
jmp 0x453709
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
shr edx, 0x10
lea eax, [ebp - 0x410]
push edx
push str.V_i._i._i._i
push eax
call fcn.00452920
push edi
call fcn.0046edd3
lea ecx, [ebp - 0x410]
mov dword [ebp - 0x428], 0
add esp, 0x1c
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x428], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4536a0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.0040ea50
lea eax, [ebp - 0x428]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0044e0f0
mov edx, dword [ebp - 0x414]
add esp, 8
cmp edx, 0x10
jb 0x453709
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4536ff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x453727
push edx
push ecx
call fcn.0046a77c
add esp, 8
mov eax, esi
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.0046ad93
mov esp, ebp
pop ebp
ret
call fcn.0046fcb0
int3