joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov byte [ebp - 0x805], 0
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov dword [ebp - 0x81c], ecx
lea esi, [eax + 0xb4]
mov ecx, dword [ebp + 0x18]
push edi
or edi, 0xffffffff
mov dword [ebp - 0x814], ecx
cmp dword [esi + 0x14], 0x10
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x810], eax
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x820], ecx
mov dword [ebp - 0x80c], edi
jb 0x4b23c0
mov esi, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call ebx
push eax
push esi
push str._s_send__x.gz
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.004c6bdd
add esp, 0x14
test eax, eax
js 0x4b24ca
lea eax, [ebp - 0x804]
push 0x517a1c
push eax
call fcn.004e7e91
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b24c4
push dword [ebp + 0x10]
push dword [ebp - 0x81c]
push ebx
call fcn.004e7a7e
push ebx
mov esi, eax
call fcn.004e7d8f
add esp, 0x10
test esi, esi
je 0x4b24aa
push dword [ebp - 0x814]
mov ebx, dword [ebp - 0x818]
lea eax, [ebp - 0x80c]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x820]
lea eax, [ebp - 0x804]
push eax
sub esp, 0x18
xor eax, eax
mov edx, esp
mov dword [edx + 0x14], 7
mov dword [edx + 0x10], 0
mov word [edx], ax
cmp word [ebx], ax
jne 0x4b246f
xor ecx, ecx
jmp 0x4b2483
mov ecx, ebx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b2474
sub ecx, esi
sar ecx, 1
push ecx
push ebx
mov ecx, edx
call fcn.00407560
mov eax, dword [ebp - 0x810]
add eax, 0x12c
push eax
call fcn.004b4b20
mov edi, dword [ebp - 0x80c]
mov byte [ebp - 0x805], 1
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp byte [ebp - 0x805], 0
jne 0x4b259c
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, dword [ebp - 0x810]
cmp dword [eax + 0xdc], 0
je 0x4b259c
cmp dword [eax + 0xe0], 0x10
lea esi, [eax + 0xcc]
jb 0x4b24ee
mov esi, dword [esi]
call ebx
push eax
push esi
push str._s_send__x.gz
lea eax, [ebp - 0x804]
push 0x7ff
push eax
call fcn.004c6bdd
add esp, 0x14
test eax, eax
js 0x4b259c
lea eax, [ebp - 0x804]
push 0x517a1c
push eax
call fcn.004e7e91
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b259c
push dword [ebp + 0x10]
push dword [ebp - 0x81c]
push ebx
call fcn.004e7a7e
push ebx
mov esi, eax
call fcn.004e7d8f
add esp, 0x10
test esi, esi
je 0x4b258f
push dword [ebp - 0x814]
lea eax, [ebp - 0x80c]
push dword [ebp + 0x14]
push eax
push dword [ebp - 0x820]
lea eax, [ebp - 0x804]
push eax
sub esp, 0x18
mov ecx, esp
push dword [ebp - 0x818]
call fcn.00406c40
mov eax, dword [ebp - 0x810]
add eax, 0x12c
push eax
call fcn.004b4b20
mov edi, dword [ebp - 0x80c]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4b25c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f50c6
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x52fe80]
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 - 0x850], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x858], eax
mov eax, dword [ebp + 0xc]
push 0x50fac8
push eax
mov dword [ebp - 0x854], ecx
call fcn.004c0ed5
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b2820
push 2
push 0
push ebx
call fcn.004c13fe
push ebx
call fcn.004c1811
push 0
push 0
push ebx
mov edi, eax
call fcn.004c13fe
add esp, 0x1c
lea esi, [ebp - 0x81c]
cmp edi, 0x800
jb 0x4b265c
lea eax, [edi + 1]
push eax
call fcn.004bae68
add esp, 4
mov esi, eax
push ebx
push edi
push 1
push esi
call fcn.004c12c3
add esp, 0x10
test eax, eax
je 0x4b27fd
cmp edi, 8
jle 0x4b27fd
xor eax, eax
mov byte [ebp - 0x1c], 0
push 8
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.004c59e0
lea ecx, [ebp - 0x1c]
add esp, 0xc
lea edx, [ecx + 1]
jmp 0x4b26a0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b26a0
sub ecx, edx
je 0x4b26d4
push dword [ebp - 0x854]
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [edi - 8]
push eax
lea eax, [esi + 8]
push eax
push dword [ebp - 0x858]
call fcn.004b2360
mov edi, eax
jmp 0x4b26d7
or edi, 0xffffffff
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x1c]
push eax
call fcn.004b2e90
test al, al
jne 0x4b2800
push 0
push 0x50ddb1
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], al
call fcn.004038d0
cmp byte [ebp - 0x1c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
jne 0x4b2746
xor ecx, ecx
jmp 0x4b2759
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b2750
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84c]
call fcn.004038d0
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x84c]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x834]
push eax
push eax
push 5
call fcn.004b47f0
cmp dword [ebp - 0x838], 0x10
jb 0x4b27a7
push dword [ebp - 0x84c]
call fcn.0048185e
add esp, 4
cmp dword [ebp - 0x820], 0x10
mov dword [ebp - 0x838], 0xf
mov dword [ebp - 0x83c], 0
mov byte [ebp - 0x84c], 0
mov dword [ebp - 4], 0xffffffff
jb 0x4b27e0
push dword [ebp - 0x834]
call fcn.0048185e
add esp, 4
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], 0
jmp 0x4b2800
or edi, 0xffffffff
push ebx
call fcn.004c0d4e
lea eax, [ebp - 0x81c]
add esp, 4
cmp esi, eax
je 0x4b281c
push esi
call fcn.004bbca6
add esp, 4
mov eax, edi
jmp 0x4b2823
or eax, 0xffffffff
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.004bc1bd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b4730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b477f
mov edx, dword [ebp + 8]
cmp edx, 1
jne 0x4b475c
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x52f8f4]
call fcn.004b2360
pop ebp
ret 0x10
test edx, edx
jne 0x4b4778
push eax
push edx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x52f8f8]
call fcn.004b2360
pop ebp
ret 0x10
or eax, 0xffffffff
pop ebp
ret 0x10
cmp byte [ecx + 0x9a], 0
je 0x4b4795
mov dword [ebp + 0x14], 0
pop ebp
jmp fcn.004b31f0
push esi
mov esi, dword [ebp + 0x10]
push edi
lea eax, [esi + 0x10]
push eax
call fcn.004bc2f0
mov ecx, dword [ebp + 8]
mov edi, eax
push esi
push dword [ebp + 0xc]
mov dword [edi], ecx
lea ecx, [edi + 0xc]
push ecx
mov dword [edi + 4], 0
mov dword [edi + 8], esi
call fcn.004bebf0
push 0
push 0
push edi
push 0x4b31c0
push 0
push 0
call fcn.004bf54c
add esp, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4b58f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x4b5918
mov eax, dword [esi]
jmp 0x4b591a
mov eax, esi
mov byte [eax], 0
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x114], 0x104
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x110]
push eax
push str.svrid
push str.SoftwareClasses9B7A98EC_7EF9_468c_ACC8_37C793DBD7E0Implemented_CategoriesA5F7140E_4311_4ef9_AABC_F55941B5EBE5
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x4b5a03
cmp dword [ebp - 0x110], 1
jne 0x4b5a03
cmp byte [ebp - 0x108], al
jne 0x4b5995
xor ecx, ecx
jmp 0x4b59a9
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b59a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004038d0
cmp dword [esi + 0x10], 0
jbe 0x4b5a03
push 1
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 0x10c], 0xa
push eax
mov ecx, esi
call fcn.0040fc50
cmp eax, 0xffffffff
je 0x4b59ef
push 1
push eax
mov ecx, esi
call fcn.00403a90
push esi
call fcn.004b69a0
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b5a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f54fb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x216]
push 0x206
push 0
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.firstinstalltime
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x4b5abe
cmp ax, 0x30
jne 0x4b5b0c
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
push str.firstinstalltime
push str.SoftwareKingsoftKBROWSER
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x4b5b66
cmp ax, 0x30
je 0x4b5b66
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042403f
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041ecb0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5b74
push eax
call fcn.004bbc6e
add esp, 4
jmp 0x4b5b74
push 1
push 0x50ff38
mov ecx, esi
call fcn.004038d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b5b90
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x55b3a4]
test al, 1
jne 0x4b5bdd
or eax, 1
mov dword [0x55b3a0], 7
mov dword [0x55b3a4], eax
xor eax, eax
push 0x4f6330
mov dword [0x55b39c], 0
mov word [0x55b38c], ax
call fcn.004bbc59
add esp, 4
cmp dword [0x55b39c], 0
jne 0x4b5cb4
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf240
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4b5cb4
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c011e
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x210]
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x4b5cb4
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x502000
push 0x104
push eax
call fcn.0040a0d0
add esp, 0x10
cmp word [ebp - 0x20c], 0
jne 0x4b5c8a
xor ecx, ecx
jmp 0x4b5ca2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b5c93
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, 0x55b38c
call fcn.00407560
mov ecx, dword [ebp - 4]
mov eax, 0x55b38c
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b5cd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f553b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x216]
push 0x206
push 0
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x500164
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x4b5d6e
cmp ax, 0x30
jne 0x4b5dbc
xor eax, eax
mov dword [ebp - 0x2a0], 1
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x2a4]
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x2a4], 0x208
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x500164
push str.SoftwareKingsoftKBROWSER
push reloc.WS2_32.dll_accept
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x4b5e16
cmp ax, 0x30
je 0x4b5e16
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042403f
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041ecb0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5e24
push eax
call fcn.004bbc6e
add esp, 4
jmp 0x4b5e24
push 1
push 0x50ff38
mov ecx, esi
call fcn.004038d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b5e40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f557b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52fe80]
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]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x4fcdc4
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b5ee6
push 1
push 0x50ff38
mov ecx, esi
call fcn.004038d0
jmp 0x4b5f4c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042403f
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b5f1c
xor ecx, ecx
jmp 0x4b5f2a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5f21
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004038d0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5f4c
push eax
call fcn.004bbc6e
add esp, 4
xor eax, eax
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.004bc1bd
mov esp, ebp
pop ebp
ret

Function at 0x4b5f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f55bb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52fe80]
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]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x4f9598
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b6016
push 1
push 0x50ff38
mov ecx, esi
call fcn.004038d0
jmp 0x4b607c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042403f
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b604c
xor ecx, ecx
jmp 0x4b605a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6051
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004038d0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b607c
push eax
call fcn.004bbc6e
add esp, 4
xor eax, eax
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.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b6870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f569b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52fe80]
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]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.004bf240
add esp, 0xc
mov dword [ebp - 0x2a4], 0x208
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2a0], 1
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2a0]
push eax
push 0x512fe4
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b6916
push 1
push 0x50ff38
mov ecx, esi
call fcn.004038d0
jmp 0x4b697c
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042403f
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b694c
xor ecx, ecx
jmp 0x4b695a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b6951
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004038d0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b697c
push eax
call fcn.004bbc6e
add esp, 4
xor eax, eax
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.004bc1bd
mov esp, ebp
pop ebp
ret

Function at 0x4b7840
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + str.91__]
mov esi, ebx
dec eax
shr esi, 3
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b787f
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ebp - 0x14], edx
mov ecx, 7
sub ecx, edx
mov dl, 1
shl dl, cl
mov cl, 7
sub cl, byte [ebp - 0x14]
mov byte [ebp - 0xd], dl
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp - 0xd]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov al, bl
shr dl, cl
and al, 7
mov cl, 7
sub cl, al
mov eax, ebx
and eax, 7
shl dl, cl
mov ecx, 7
inc ebx
sub ecx, eax
mov al, 1
shl al, cl
not al
and al, byte [esi + edi]
or dl, al
mov byte [esi + edi], dl
cmp ebx, 0x38
jb 0x4b7863
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
Function at 0x4b78f0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
movzx eax, byte [ebx + 0x52f938]
dec eax
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7918
dec edx
or edx, 0xfffffff8
inc edx
mov dword [ebp - 8], edx
mov ecx, 7
sub ecx, edx
mov byte [ebp - 1], 1
mov ch, byte [ebp - 1]
cdq
shl ch, cl
and edx, 7
add eax, edx
mov cl, 7
sub cl, byte [ebp - 8]
mov edx, ebx
sar eax, 3
shr edx, 3
and ch, byte [eax + edi]
mov al, bl
and al, 7
shr ch, cl
mov cl, 7
sub cl, al
mov eax, ebx
shl ch, cl
and eax, 7
mov byte [ebp - 1], ch
inc ebx
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
not al
and al, byte [edx + esi]
or al, byte [ebp - 1]
mov byte [edx + esi], al
cmp ebx, 0x30
jb 0x4b7901
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7ae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 4]
sub eax, 0
je 0x4b7afa
dec eax
jne 0x4b7b03
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b7b10
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b7be0
pop ebp
ret

Function at 0x4b7be0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x78]
call fcn.004c6062
mov edi, eax
add esp, 0xc
mov esi, edi
test edi, edi
jle 0x4b7c83
nop
cmp esi, 8
jge 0x4b7c38
mov eax, 8
sub eax, edi
push eax
lea eax, [ebp - 0xc]
add eax, edi
push eax
push dword [ebx + 0x78]
call fcn.004c6062
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x4b7c38
add esi, edi
jmp 0x4b7c10
test esi, esi
jle 0x4b7c7b
mov ecx, 8
sub ecx, esi
test ecx, ecx
jle 0x4b7c60
mov eax, 8
sub eax, ecx
mov edi, edi
cmp eax, 8
jae 0x4b7c94
mov byte [ebp + eax - 0xc], 0
dec ecx
inc eax
test ecx, ecx
jg 0x4b7c50
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.004b7ca0
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x7c]
call fcn.004c373c
add esp, 0x14
test edi, edi
jg 0x4b7bf6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret
call fcn.004bfbbc
int3
Function at 0x4b7de0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 8], eax
mov ebx, 8
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0xc], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x52fa40]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7e1b
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 1], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 1]
sar eax, 3
and dl, byte [ebp + eax - 8]
mov eax, dword [ebp - 0xc]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp + 8]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x30
jl 0x4b7df8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7e70
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x52fe80]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
mov eax, dword [ecx]
xor edi, edi
mov dword [ebp - 0xc], eax
mov ebx, 8
mov eax, dword [ecx + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], eax
jmp 0x4b7ea0
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x52f9c0]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7ec3
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, 7
mov dl, 1
sub ecx, ebx
inc edi
shl dl, cl
mov cl, 7
mov byte [ebp - 0xd], dl
sub cl, bl
cdq
mov ebx, 8
and edx, 7
add eax, edx
mov dl, byte [ebp - 0xd]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x14]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
mov ecx, 7
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 0x18]
not al
and al, byte [esi]
or dl, al
mov byte [esi], dl
cmp edi, 0x40
jl 0x4b7ea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc1bd
mov esp, ebp
pop ebp
ret