joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ff90
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x44ffbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__s_failed__error_d
call fcn.00455860
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44ffb7
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44ffe5
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44ffa2
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x450000
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527026
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x576644]
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, dword [ebp + 8]
test ebx, ebx
jne 0x45003c
xor eax, eax
jmp 0x450242
cmp word [ebx], 0
je 0x450035
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450047
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x450035
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x5405d8
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4500a2
test al, 1
je 0x4500a2
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.0044bac0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x4501f2
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x450151
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x450151
cmp word [ebp - 0x858], 0x2e
jne 0x450151
mov ax, word [ebp - 0x856]
test ax, ax
je 0x45012c
cmp ax, 0x2e
jne 0x450151
cmp word [ebp - 0x854], 0
jne 0x450151
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x45025e
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x4501e4
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.0044c030
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x45018c
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x45018c
mov esi, dword [ebp - 0x888]
push esi
call fcn.00450000
jmp 0x450198
mov esi, dword [ebp - 0x888]
push esi
call fcn.0044ff90
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x4501a9
xor edi, edi
jmp 0x4501c8
cmp dword [ebp - 0x424], 0
jne 0x4501b6
xor edi, edi
jmp 0x4501c8
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4501e4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x4500e9
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x450218
cmp eax, 0xffffffff
je 0x450218
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.0044f950
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x45023d
cmp eax, 0xffffffff
je 0x45023d
push eax
call esi
mov eax, 1
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.004a7695
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x450218
Function at 0x450940
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x540b90]
mov dword [ebp - 0xc], eax
mov eax, dword [0x540b94]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4509a9
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x14], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4509a9
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.004a7695
mov esp, ebp
pop ebp
ret

Function at 0x4509c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004a76b0
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.004ca680
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x450ab6
test edi, edi
je 0x450ab6
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x450ab6
cmp eax, 0x3fff
ja 0x450ab6
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x450ab6
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x5378a0
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x450ab6
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004ca680
mov ecx, dword [ebp - 0x400c]
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, [esi - 1]
push eax
push edi
call fcn.00412b80
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004a7695
mov esp, ebp
pop ebp
ret
Function at 0x452af0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5276a6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x576644]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x452ca2
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x452cc4
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str._s__s
push eax
call fcn.00413080
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ca680
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x452c27
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x452c15
cmp eax, 2
jne 0x452c27
cmp dword [ebp - 0x21c], 0
jne 0x452c27
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.004f5041
add esp, 8
test eax, eax
je 0x452c74
test esi, esi
je 0x452c74
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452c50
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x452c90
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
test edi, edi
je 0x452ca4
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x452ca4
xor esi, esi
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.004a7695
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00409d40
int3
Function at 0x454190
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527948
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x576644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x57a2b8], 0
jne 0x4541d4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x57a2b8
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x454240
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x57a2b8
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004115c0
test al, al
jne 0x45422c
mov ecx, 0x57a2b8
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x454210
sub ecx, edx
sar ecx, 1
push ecx
push 0x57a2b8
mov ecx, esi
call fcn.00412590
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409d40
int3
Function at 0x455400
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x455464
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x455456
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x455456
push edx
call fcn.0040d1f0
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45544f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x455463
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00412590
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4554ca
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x4554ca
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4554b1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x4554ca
jg 0x4554c2
cmp dword [ebp - 8], 0x40000000
jbe 0x4554ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x457770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52804b
mov eax, dword fs:[0]
push eax
sub esp, 0xa44
mov eax, dword [0x576644]
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, ecx
mov dword [ebp - 0xa4c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa50], esi
test esi, esi
jne 0x4577ba
xor eax, eax
jmp 0x457959
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x14f38f63
imul ecx
push 0x208
sar edx, 7
lea eax, [ebp - 0x420]
mov ebx, edx
push 0
shr ebx, 0x1f
push eax
add ebx, edx
call fcn.004ca680
add esp, 0xc
call fcn.004590f0
lea ecx, [ebp - 0xa3d]
test eax, eax
je 0x4577fd
call fcn.00456ce0
jmp 0x457802
call fcn.00456dc0
push eax
push esi
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call fcn.004672b0
add esp, 4
test eax, eax
je 0x4577b3
test ebx, ebx
jle 0x457954
xor edi, edi
mov dword [ebp - 0xa48], edi
nop dword [eax]
nop dword [eax + eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.004ca680
mov eax, dword [ebp - 0xa4c]
mov ecx, 0x187
push 0x208
push 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x218]
add esi, edi
lea edi, [ebp - 0xa3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004ca680
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
push dword [ebp - 0xa50]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4578c2
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.00455860
add esp, 8
jmp 0x457939
lea ecx, [ebp - 0xa44]
call fcn.0043b100
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa44]
push str.__dll__s____entry_s__s
push eax
call fcn.00413080
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa44]
lea eax, [ebp - 0x420]
push 1
push 0
push esi
push eax
call fcn.0044b680
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457939
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xa48]
add edi, 0x61c
mov dword [ebp - 0xa48], edi
sub ebx, 1
jne 0x457840
mov eax, 1
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.004a7695
mov esp, ebp
pop ebp
ret 8
Function at 0x45bd30
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528b30
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x576644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x45bdec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.004115c0
test al, al
jne 0x45bd95
push 0x3a
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallhalowp
lea ecx, [ebp - 0x10]
call fcn.00412590
mov esi, dword [ebp - 0x10]
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push str.Delete_uninstall_registry
call fcn.00455860
add esp, 4
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45bdd7
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409d40
int3
Function at 0x45c1a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528ba8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x576644]
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 dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], 0x104
mov dword [ebp - 0x4c], 1
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x45c387
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
xor eax, eax
mov dword [ebp - 0x40], 0x4f0053
mov word [ebp - 0x14], ax
mov ebx, 1
mov dword [ebp - 0x3c], 0x540046
mov ecx, ebx
mov dword [ebp - 0x38], 0x410057
mov dword [ebp - 0x34], 0x450052
mov dword [ebp - 0x30], 0x4c005c
mov dword [ebp - 0x2c], 0x530044
mov dword [ebp - 0x28], 0x610047
mov dword [ebp - 0x24], 0x65006d
mov dword [ebp - 0x20], 0x650043
mov dword [ebp - 0x1c], 0x74006e
mov dword [ebp - 0x18], 0x720065
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
mov dword [ebp - 4], 0
jge 0x45c276
push 0x104
lea ecx, [ebp - 0x44]
call fcn.0040e200
mov esi, dword [ebp - 0x44]
cmp dword [esi - 8], 0x104
jl 0x45c391
xor eax, eax
mov dword [esi - 0xc], 0x104
mov word [esi + 0x208], ax
lea eax, [ebp - 0x48]
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
push 0x541548
lea eax, [ebp - 0x40]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push dword [esi - 8]
push esi
call fcn.004f6c25
add esp, 8
test eax, eax
js 0x45c391
cmp eax, dword [esi - 8]
jg 0x45c391
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
mov edi, dword [esi - 0xc]
test edi, edi
js 0x45c39b
mov eax, dword [esi - 8]
sub ebx, dword [esi - 4]
sub eax, edi
or eax, ebx
jge 0x45c2f9
push edi
lea ecx, [ebp - 0x44]
call fcn.0040e200
mov esi, dword [ebp - 0x44]
lea eax, [edi + 1]
push eax
push esi
call fcn.004f4cbc
add esp, 8
cmp edi, dword [esi - 8]
jg 0x45c391
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
cmp dword [esi - 0xc], eax
jge 0x45c322
or edi, 0xffffffff
jmp 0x45c33f
push str.bizhi
push esi
call fcn.004cb4f4
mov edi, eax
add esp, 8
test edi, edi
jne 0x45c33b
or edi, 0xffffffff
jmp 0x45c33f
sub edi, esi
sar edi, 1
mov eax, dword [ebp - 0x50]
not edi
shr edi, 0x1f
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x7c], edi
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c369
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.004a7695
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409d40
push 0x80070057
call fcn.00409d40
push 0x80070057
call fcn.00409d40
int3
Function at 0x45c7e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528c30
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x576644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x45c8c1
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push edi
push 0x541a64
push eax
mov dword [ebp - 4], 0
call fcn.00413080
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp edi, 0x64
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov eax, 0x63
mov dword [ebp - 0x1c], 0x45c960
cmovl eax, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
call fcn.0045ef40
add esp, 4
mov dword [ebp - 0x20], vtable.mf_bind_t_1_class_CUninstaller__class_CUninstaller___void__int_.0
mov dword [ebp - 0x1c], 0
add esi, 0xfffffff0
mov dword [ebp - 0x18], 0
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45c8ad
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00409d40
int3
Function at 0x45c9b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528c96
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x576644]
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, ecx
mov dword [ebp - 0x25c], esi
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x254]
push ebx
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x254]
push dword [esi + 8]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
push eax
call esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x740055
push eax
lea eax, [ebp - 0x254]
mov dword [ebp - 0x48], 0x6c0069
push eax
mov dword [ebp - 0x44], 0x5c0073
mov dword [ebp - 0x40], 0x64006c
mov dword [ebp - 0x3c], 0x670073
mov dword [ebp - 0x38], 0x6d0061
mov dword [ebp - 0x34], 0x630065
mov dword [ebp - 0x30], 0x6e0065
mov dword [ebp - 0x2c], 0x650074
mov dword [ebp - 0x28], 0x5f0072
mov dword [ebp - 0x24], 0x690062
mov dword [ebp - 0x20], 0x68007a
mov dword [ebp - 0x1c], 0x2e0069
mov dword [ebp - 0x18], 0x6c0064
mov dword [ebp - 0x14], 0x6c
call esi
lea eax, [ebp - 0x254]
push eax
call fcn.004672b0
add esp, 4
test eax, eax
je 0x45cb68
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x45cb68
push str.Start4RunDll
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x45cb68
call fcn.0040d510
mov ecx, eax
test ecx, ecx
je 0x45cb86
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x258], eax
push str._S__PIDbizhi
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], ebx
call fcn.004115c0
test al, al
jne 0x45cb0d
push 0xd
push str._S__PIDbizhi
lea ecx, [ebp - 0x258]
call fcn.00412590
mov eax, dword [ebp - 0x25c]
lea ecx, [ebp - 0x258]
mov dword [ebp - 4], 1
cmp dword [eax + 0x78], 0
je 0x45cb2f
push 0xb
push str.__UNINSTALL
jmp 0x45cb36
push 0xd
push str.__NOUNINSTALL
call fcn.0043ba80
mov esi, dword [ebp - 0x258]
push esi
call edi
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45cb68
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
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.004a7695
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409d40
int3
Function at 0x45d220
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x528d5b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x576644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004ca680
add esp, 0xc
lea eax, [ebp - 0x218]
push str.config.set
push dword [esi + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
push 0x541abc
push str.open
push 0x53a280
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea ecx, [ebp - 0x219]
call fcn.00452200
lea ecx, [ebp - 0x21a]
mov dword [ebp - 4], 0
call fcn.0045ba40
push eax
lea ecx, [ebp - 0x219]
call fcn.00453d40
push eax
push 0x541ac0
call fcn.00455860
add esp, 8
lea ecx, [ebp - 0x21a]
call fcn.0045b6c0
push eax
lea ecx, [ebp - 0x219]
call fcn.00453d80
push eax
push str.Delete_AutoRun_Task_Schedule__ret___d
call fcn.00455860
add esp, 8
push 0x538a04
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
call fcn.004590f0
test eax, eax
je 0x45d358
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 0
push eax
push 0xf013f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d358
mov esi, dword [ebp - 0x220]
push 0x538a04
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test esi, esi
je 0x45d358
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x219]
call fcn.00452660
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a7695
mov esp, ebp
pop ebp
ret