joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4459e0
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa84
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xa78], 0
mov ecx, dword [ebp - 8]
call fcn.004441c0
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004586e0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
xor eax, eax
mov word [ebp - 0xa10], ax
push 0x7fe
push 0
lea eax, [ebp - 0xa0e]
push eax
call fcn.004586e0
add esp, 0xc
lea eax, [ebp - 0xa10]
push eax
push 0x3ff
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0xa14], eax
mov dword [ebp - 0xa18], 0
jmp 0x445a92
mov eax, dword [ebp - 0xa18]
add eax, 4
mov dword [ebp - 0xa18], eax
mov eax, dword [ebp - 0xa18]
cmp eax, dword [ebp - 0xa14]
jae 0x445c27
mov eax, dword [ebp - 0xa18]
lea ecx, [ebp + eax*2 - 0xa10]
push ecx
lea ecx, [ebp - 0xa1c]
call fcn.00401860
lea ecx, [ebp - 0xa1c]
call fcn.00401930
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x445b15
push 2
lea ecx, [ebp - 0xa7c]
push ecx
lea ecx, [ebp - 0xa1c]
call fcn.00430890
or dword [ebp - 0xa78], 1
mov ecx, eax
call fcn.00401930
push eax
call fcn.0042fbb0
add esp, 4
test eax, eax
jne 0x445b15
mov dword [ebp - 0xa84], 1
jmp 0x445b1f
mov dword [ebp - 0xa84], 0
mov dl, byte [ebp - 0xa84]
mov byte [ebp - 0xa7d], dl
mov eax, dword [ebp - 0xa78]
and eax, 1
je 0x445b48
and dword [ebp - 0xa78], 0xfffffffe
lea ecx, [ebp - 0xa7c]
call fcn.00401910
movzx ecx, byte [ebp - 0xa7d]
test ecx, ecx
je 0x445b63
lea ecx, [ebp - 0xa1c]
call fcn.00401910
jmp 0x445a83
mov dword [ebp - 0xa24], 0
xor eax, eax
mov dword [ebp - 0xa20], eax
mov dword [ebp - 0xa2c], 0
xor eax, eax
mov dword [ebp - 0xa28], eax
mov dword [ebp - 0xa34], 0
xor eax, eax
mov dword [ebp - 0xa30], eax
lea eax, [ebp - 0xa34]
push eax
lea ecx, [ebp - 0xa2c]
push ecx
lea edx, [ebp - 0xa24]
push edx
mov eax, dword [ebp - 0xa18]
lea ecx, [ebp + eax*2 - 0xa10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x445c17
lea ecx, [ebp - 0xa1c]
call fcn.004463f0
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x18
call fcn.00446500
mov ecx, dword [ebp - 0xa24]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa20]
mov dword [eax + 4], edx
lea eax, [ebp - 0xa1c]
push eax
mov ecx, dword [ebp - 8]
add ecx, 0x38
call fcn.00446500
mov ecx, dword [ebp - 0xa2c]
mov dword [eax], ecx
mov edx, dword [ebp - 0xa28]
mov dword [eax + 4], edx
lea ecx, [ebp - 0xa1c]
call fcn.00401910
jmp 0x445a83
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045875a
mov esp, ebp
pop ebp
ret
Function at 0x445c40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004586e0
add esp, 0xc
push 0
push 0x1a
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.360DownLoad
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.00401860
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045875a
mov esp, ebp
pop ebp
ret 4

Function at 0x449d00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 4], 0
push 0x4c0794
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x449d9f
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
push eax
mov ecx, 0x4dc540
call fcn.004324e0
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x449d9f
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x449d95
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00449c50
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x449db0
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4d9b30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea ecx, [ebp - 8]
call fcn.0042d0a0
call fcn.0044a410
mov ecx, eax
call fcn.0044aa30
push eax
call fcn.0044a410
mov ecx, eax
call fcn.0044a9a0
push eax
mov eax, dword [0x4dc8a8]
push eax
mov ecx, dword [ebp + 8]
push ecx
push str.http:__s.360.cn_safe_instcomp.htm_soft2023040419status_dpid_dmid_sm2_s
lea edx, [ebp - 8]
push edx
call fcn.00449310
add esp, 0x18
push 0x208
push 0
lea eax, [ebp - 0x210]
push eax
call fcn.004586e0
add esp, 0xc
push 0
push 0
push 0x104
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 8]
call fcn.00401930
push eax
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
jne 0x449e4a
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 8]
call fcn.00401910
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045875a
mov esp, ebp
pop ebp
ret
Function at 0x44a2d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x44a2fa
xor eax, eax
jmp 0x44a368
mov eax, dword [ebp - 4]
push eax
call fcn.0045af70
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x44a313
xor eax, eax
jmp 0x44a368
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x44a359
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 0x4cf314
mov edx, dword [ebp - 0xc]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
push eax
call fcn.0045ae19
add esp, 4
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b1b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44b1c7
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44b22c
mov byte [ebp - 2], 0
jmp 0x44b1de
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44b22a
movzx eax, byte [ebp - 1]
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 2]
movzx ecx, byte [ebp + 8]
shl ecx, 2
movzx esi, byte [ebp - 1]
shl esi, 2
lea ecx, [esi + ecx*4]
movzx esi, byte [ebp - 2]
add esi, dword [ebp + 0x10]
movzx ecx, byte [esi + ecx]
movzx edx, byte [edx + eax]
xor edx, ecx
movzx eax, byte [ebp - 2]
movzx ecx, byte [ebp - 1]
mov esi, dword [ebp + 0xc]
lea ecx, [esi + ecx*4]
mov byte [ecx + eax], dl
jmp 0x44b1d6
jmp 0x44b1bf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44b240
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44b257
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44b2a4
mov byte [ebp - 2], 0
jmp 0x44b26e
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44b2a2
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 1]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 2]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 1]
mov cl, byte [ecx + str.cw]
mov byte [edx + eax], cl
jmp 0x44b266
jmp 0x44b24f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c070
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44c087
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 4
jge 0x44c0d4
mov byte [ebp - 2], 0
jmp 0x44c09e
mov al, byte [ebp - 2]
add al, 1
mov byte [ebp - 2], al
movzx eax, byte [ebp - 2]
cmp eax, 4
jge 0x44c0d2
movzx eax, byte [ebp - 2]
mov ecx, dword [ebp + 8]
lea edx, [ecx + eax*4]
movzx eax, byte [ebp - 1]
movzx ecx, byte [edx + eax]
movzx edx, byte [ebp - 2]
mov eax, dword [ebp + 8]
lea edx, [eax + edx*4]
movzx eax, byte [ebp - 1]
mov cl, byte [ecx + 0x4c09a0]
mov byte [edx + eax], cl
jmp 0x44c096
jmp 0x44c07f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c220
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov byte [ebp - 1], 0
jmp 0x44c237
mov al, byte [ebp - 1]
add al, 1
mov byte [ebp - 1], al
movzx eax, byte [ebp - 1]
cmp eax, 0x10
jge 0x44c264
movzx eax, byte [ebp - 1]
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 0xc]
movzx ecx, byte [edx + ecx]
mov edx, dword [ebp + 8]
movzx eax, byte [edx + eax]
xor eax, ecx
movzx ecx, byte [ebp - 1]
mov edx, dword [ebp + 8]
mov byte [edx + ecx], al
jmp 0x44c22f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c420
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x10], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450a90
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
lea ecx, [ebp - 8]
call fcn.004261b0
cmp dword [ebp - 4], 0
je 0x450b0a
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
call fcn.00450fb0
lea eax, [ebp - 4]
push eax
push 0
lea ecx, [ebp - 0x20]
call fcn.00451020
push eax
push 1
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
push 0
lea ecx, [ebp - 0x20]
call fcn.00451020
push eax
lea ecx, [ebp - 8]
call fcn.004261f0
lea ecx, [ebp - 0x20]
call fcn.00450ff0
push 0x4ce399
push 0x4c0430
lea ecx, [ebp - 8]
call fcn.00446150
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.0042ff40
lea ecx, [ebp - 8]
call fcn.004261d0
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x450e10
Capabilities:
Decode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov ecx, dword [ebp + 0xc]
call fcn.00451220
cmp dword [ebp + 8], 0
je 0x450e79
mov dword [ebp - 4], 0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
cmp dword [ebp - 4], 0
je 0x450e79
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004510f0
push 0
push 0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 0xc]
call fcn.00451140
push eax
push 1
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455582
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4dc9a4], 0
push esi
jne 0x4554f0
call fcn.00455404
test eax, eax
je 0x455533
mov eax, dword [0x4dc9a4]
cmp eax, 1
jne 0x455511
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x455533
pop esi
ret
push eax
call dword [0x4dc9ac]
test eax, eax
jne 0x45557b
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x455537
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4dc9a4]
call dword [0x4dc9ac]
mov edi, eax
test edi, edi
je 0x45555c
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x455578
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4dc9a4]
call dword [0x4dc9a8]
add edi, 0x10
cmp edi, esi
jb 0x455564
mov eax, edi
pop edi
pop esi
ret
jmp 0x4554dd

Function at 0x455b80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x208], eax
push ebx
mov ebx, dword [esp + 0x214]
test ebx, ebx
jne 0x455bb8
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045875a
add esp, 0x20c
ret
push esi
push 0x208
lea eax, [esp + 0xc]
push 0
push eax
call fcn.004586e0
add esp, 0xc
push 0x104
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jbe 0x455c83
mov ecx, ebx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x455bf0
sub ecx, esi
sar ecx, 1
mov edx, 0x103
sub edx, ecx
cmp eax, edx
jae 0x455c83
push edi
lea edi, [esp + 0xc]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x455c12
mov eax, dword [0x4cf314]
mov dword [edi], eax
mov eax, ebx
mov edx, ebx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x455c30
lea edi, [esp + 0xc]
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x455c44
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]
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.0045875a
add esp, 0x20c
ret
mov ecx, dword [esp + 0x210]
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0045875a
add esp, 0x20c
ret
Function at 0x4564c0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c14
call fcn.004597e0
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x2c10], eax
mov eax, dword [esp + 0x2c18]
push edi
xor edi, edi
mov dword [esp + 0xc], eax
cmp eax, edi
je 0x45662b
cmp dword [esp + 0x2c20], edi
je 0x45662b
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0x10], edi
xor ebx, ebx
lea ebx, [ebx]
push ebx
push 0x4ce2e0
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.00427ce0
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push edi
lea ecx, [esp + 0x40]
push ecx
call ebp
mov esi, eax
cmp esi, 0xffffffff
je 0x456604
xor eax, eax
push 0x2710
lea edx, [esp + 0x514]
push edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.004586e0
add esp, 0xc
push edi
lea eax, [esp + 0x18]
push eax
push 0x2710
lea ecx, [esp + 0x51c]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4565f7
push 0x3e8
lea eax, [esp + 0x12c]
push edi
push eax
call fcn.004586e0
mov edx, dword [esp + 0x534]
lea ecx, [esp + 0x134]
push ecx
push 1
push edx
lea eax, [esp + 0x528]
push eax
call fcn.00458280
mov edx, dword [esp + 0x2c48]
mov eax, dword [esp + 0x34]
add esp, 0x1c
lea ecx, [esp + 0x128]
push ecx
push edx
push eax
call fcn.00427dd0
test eax, eax
jne 0x4565f7
mov dword [esp + 0x10], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], edi
jne 0x45660e
inc ebx
cmp ebx, 0x10
jl 0x456510
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
mov ecx, dword [esp + 0x2c10]
xor ecx, esp
call fcn.0045875a
add esp, 0x2c14
ret
mov ecx, dword [esp + 0x2c14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045875a
add esp, 0x2c14
ret
Function at 0x456910
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x2ec
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x2e8], eax
push edi
mov edi, dword [esp + 0x2f4]
mov dword [esp + 0x18], edi
test edi, edi
je 0x456b11
cmp dword [esp + 0x2f8], 0
je 0x456b11
push 0x64
lea eax, [esp + 0x20]
push 0
push eax
call fcn.004586e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 8
push 0
push 0x4c17ec
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456ad8
mov ecx, dword [esp + 4]
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x100]
push eax
push ebx
mov esi, 0x104
push ecx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x456acb
lea ebx, [ebx]
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x14]
push edx
push 1
push 0
lea eax, [esp + 0xf8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456a99
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x1f4]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x4ce374
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x34], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x456a8e
push 0x64
push eax
lea eax, [esp + 0x90]
push eax
call fcn.004586e0
lea ecx, [esp + 0x1fc]
push 0x64
push ecx
lea edi, [esp + 0x9c]
call fcn.00456800
add esp, 0x14
test eax, eax
je 0x456a8e
cmp byte [esp + 0x24], 0
je 0x456a52
lea edx, [esp + 0x24]
push edx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x456a8e
lea eax, [esp + 0x24]
lea esi, [esp + 0x88]
mov ecx, eax
mov edx, 0x64
sub esi, ecx
lea ecx, [edx + 0x7fffff9a]
test ecx, ecx
je 0x456a81
mov cl, byte [esi + eax]
test cl, cl
je 0x456a81
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x456a66
jmp 0x456a85
test edx, edx
jne 0x456a86
dec eax
mov byte [eax], 0
mov esi, 0x104
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x100]
push ecx
inc ebx
push ebx
push edx
mov dword [esp + 0x30], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x4569b0
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
cmp byte [esp + 0x1c], 0
je 0x456b11
mov edx, dword [esp + 0x2f8]
lea ecx, [esp + 0x1c]
push ecx
push edx
push edi
call fcn.00427dd0
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.0045875a
add esp, 0x2ec
ret
mov ecx, dword [esp + 0x2ec]
pop edi
xor ecx, esp
xor eax, eax
call fcn.0045875a
add esp, 0x2ec
ret
Function at 0x456eb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x45702d
cmp ebp, 0x20
jb 0x45702d
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.004586e0
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x4c185c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x45702d
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x456f40
sub eax, edx
cmp eax, 0x40
jne 0x45702d
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x456f7e
mov cl, byte [esi + eax]
test cl, cl
je 0x456f7e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x456f66
jmp 0x456f82
test edx, edx
jne 0x456f83
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x456fbb
mov cl, byte [edx + eax]
test cl, cl
je 0x456fbb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x456fa0
jmp 0x456fbf
test esi, esi
jne 0x456fc0
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.004586e0
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00455f30
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x45702d
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00427dd0
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0045875a
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0045875a
add esp, 0x50c
ret
Function at 0x457050
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x290
mov eax, dword [0x4d9b30]
xor eax, esp
mov dword [esp + 0x28c], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004586e0
push 0x80
lea ebx, [esp + 0x20]
mov ecx, edi
call fcn.00455f30
lea eax, [esp + 0x1a0]
mov edx, edi
mov ecx, eax
add esp, 0x10
mov esi, 0x104
sub edx, ecx
lea esp, [esp]
lea ecx, [esi + 0x7ffffefa]
test ecx, ecx
je 0x4570bb
mov cl, byte [edx + eax]
test cl, cl
je 0x4570bb
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x4570a0
jmp 0x4570bf
test esi, esi
jne 0x4570c0
dec eax
lea edx, [esp + 0x10]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x198]
push eax
call fcn.0042c530
push 0xff
lea ecx, [esp + 0x95]
push 0
push ecx
mov dword [esp + 0x18], 1
mov byte [esp + 0x9c], 0
call fcn.004586e0
add esp, 0xc
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0x4c185c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0x100
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x45719b
mov ecx, edi
lea eax, [esp + 0x90]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x457163
test dl, dl
je 0x45715f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x457163
add eax, 2
add ecx, 2
test dl, dl
jne 0x457143
xor eax, eax
jmp 0x457168
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x45719b
lea eax, [esp + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x457176
sub eax, edx
push eax
lea edx, [esp + 0x94]
push edx
push 1
push str.mid_old
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
lea eax, [esp + 0x190]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4571a5
sub eax, edx
push eax
lea eax, [esp + 0x194]
push eax
push 1
push 0x4c185c
push str.Software360SafeLiveup
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ecx, dword [esp + 0x294]
pop esi
pop ebx
xor ecx, esp
call fcn.0045875a
add esp, 0x290
ret

Function at 0x45875a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d9b30]
jne 0x458764
repz ret
jmp fcn.0045f7c7