joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2510
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4796
mov eax, dword fs:[0]
push eax
sub esp, 0x84c
mov eax, dword [0x52de80]
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 0x50ca38
push eax
mov dword [ebp - 0x854], ecx
call fcn.004c0e35
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4b2770
push 2
push 0
push ebx
call fcn.004c135d
push ebx
call fcn.004c1770
push 0
push 0
push ebx
mov edi, eax
call fcn.004c135d
add esp, 0x1c
lea esi, [ebp - 0x81c]
cmp edi, 0x800
jb 0x4b25ac
lea eax, [edi + 1]
push eax
call fcn.004badc8
add esp, 4
mov esi, eax
push ebx
push edi
push 1
push esi
call fcn.004c1222
add esp, 0x10
test eax, eax
je 0x4b274d
cmp edi, 8
jle 0x4b274d
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.004c5b30
lea ecx, [ebp - 0x1c]
add esp, 0xc
lea edx, [ecx + 1]
jmp 0x4b25f0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b25f0
sub ecx, edx
je 0x4b2624
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.004b22b0
mov edi, eax
jmp 0x4b2627
or edi, 0xffffffff
mov ecx, dword [ebp - 0x850]
lea eax, [ebp - 0x1c]
push eax
call fcn.004b2de0
test al, al
jne 0x4b2750
push 0
push 0x50c74d
lea ecx, [ebp - 0x834]
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], al
call fcn.004025a0
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 0x4b2696
xor ecx, ecx
jmp 0x4b26a9
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b26a0
sub ecx, edx
push ecx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x84c]
call fcn.004025a0
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.004b4750
cmp dword [ebp - 0x838], 0x10
jb 0x4b26f7
push dword [ebp - 0x84c]
call fcn.00481594
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 0x4b2730
push dword [ebp - 0x834]
call fcn.00481594
add esp, 4
mov dword [ebp - 0x820], 0xf
mov dword [ebp - 0x824], 0
mov byte [ebp - 0x834], 0
jmp 0x4b2750
or edi, 0xffffffff
push ebx
call fcn.004c0cae
lea eax, [ebp - 0x81c]
add esp, 4
cmp esi, eax
je 0x4b276c
push esi
call fcn.004bbc06
add esp, 4
mov eax, edi
jmp 0x4b2773
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.004bc11d
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b4690
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b46df
mov edx, dword [ebp + 8]
cmp edx, 1
jne 0x4b46bc
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x52d8f4]
call fcn.004b22b0
pop ebp
ret 0x10
test edx, edx
jne 0x4b46d8
push eax
push edx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x52d8f8]
call fcn.004b22b0
pop ebp
ret 0x10
or eax, 0xffffffff
pop ebp
ret 0x10
cmp byte [ecx + 0x9a], 0
je 0x4b46f5
mov dword [ebp + 0x14], 0
pop ebp
jmp fcn.004b3150
push esi
mov esi, dword [ebp + 0x10]
push edi
lea eax, [esi + 0x10]
push eax
call fcn.004bc250
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.004beb50
push 0
push 0
push edi
push 0x4b3120
push 0
push 0
call fcn.004bf4ac
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 0x4b5850
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x52de80]
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 0x4b5878
mov eax, dword [esi]
jmp 0x4b587a
mov eax, esi
mov byte [eax], 0
lea eax, [ebp - 0x107]
push 0x103
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.004bf1a0
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 0x4b5963
cmp dword [ebp - 0x110], 1
jne 0x4b5963
cmp byte [ebp - 0x108], al
jne 0x4b58f5
xor ecx, ecx
jmp 0x4b5909
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5900
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.004025a0
cmp dword [esi + 0x10], 0
jbe 0x4b5963
push 1
push 0
lea eax, [ebp - 0x10c]
mov byte [ebp - 0x10c], 0xa
push eax
mov ecx, esi
call fcn.0040f950
cmp eax, 0xffffffff
je 0x4b594f
push 1
push eax
mov ecx, esi
call fcn.004026a0
push esi
call fcn.004b6900
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b5980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4bcb
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52de80]
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.004bf1a0
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 0x4b5a1e
cmp ax, 0x30
jne 0x4b5a6c
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 0x4b5ac6
cmp ax, 0x30
je 0x4b5ac6
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042409e
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041eff0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5ad4
push eax
call fcn.004bbbce
add esp, 4
jmp 0x4b5ad4
push 1
push 0x50cde0
mov ecx, esi
call fcn.004025a0
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.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b5af0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x5591c4]
test al, 1
jne 0x4b5b3d
or eax, 1
mov dword [0x5591c0], 7
mov dword [0x5591c4], eax
xor eax, eax
push 0x4f59f0
mov dword [0x5591bc], 0
mov word [0x5591ac], ax
call fcn.004bbbb9
add esp, 4
cmp dword [0x5591bc], 0
jne 0x4b5c14
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4b5c14
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004c007e
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 0x4b5c14
push dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x501150
push 0x104
push eax
call fcn.004212ec
add esp, 0x10
cmp word [ebp - 0x20c], 0
jne 0x4b5bea
xor ecx, ecx
jmp 0x4b5c02
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4b5bf3
sub ecx, edx
sar ecx, 1
push ecx
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, 0x5591ac
call fcn.004064c0
mov ecx, dword [ebp - 4]
mov eax, 0x5591ac
xor ecx, ebp
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b5c30
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4c0b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52de80]
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.004bf1a0
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 0x4ff2b4
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ax, word [ebp - 0x218]
test ax, ax
je 0x4b5cce
cmp ax, 0x30
jne 0x4b5d1c
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 0x4ff2b4
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 0x4b5d76
cmp ax, 0x30
je 0x4b5d76
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042409e
push dword [ebp - 0x29c]
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041eff0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5d84
push eax
call fcn.004bbbce
add esp, 4
jmp 0x4b5d84
push 1
push 0x50cde0
mov ecx, esi
call fcn.004025a0
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.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b5da0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4c4b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52de80]
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.004bf1a0
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 0x4fbdb4
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b5e46
push 1
push 0x50cde0
mov ecx, esi
call fcn.004025a0
jmp 0x4b5eac
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042409e
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b5e7c
xor ecx, ecx
jmp 0x4b5e8a
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5e81
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004025a0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5eac
push eax
call fcn.004bbbce
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.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x4b5ed0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4c8b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52de80]
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.004bf1a0
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 0x4f858c
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b5f76
push 1
push 0x50cde0
mov ecx, esi
call fcn.004025a0
jmp 0x4b5fdc
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042409e
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b5fac
xor ecx, ecx
jmp 0x4b5fba
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b5fb1
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004025a0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b5fdc
push eax
call fcn.004bbbce
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.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b67d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f4d6b
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x52de80]
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.004bf1a0
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 0x510ec4
push str.SOFTWAREliebao
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
cmp word [ebp - 0x218], 0
jne 0x4b6876
push 1
push 0x50cde0
mov ecx, esi
call fcn.004025a0
jmp 0x4b68dc
lea eax, [ebp - 0x298]
mov dword [ebp - 0x29c], eax
lea ecx, [ebp - 0x29c]
push 3
lea eax, [ebp - 0x218]
push eax
call fcn.0042409e
mov edx, dword [ebp - 0x29c]
mov dword [ebp - 4], 0
cmp byte [edx], 0
jne 0x4b68ac
xor ecx, ecx
jmp 0x4b68ba
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4b68b1
sub ecx, edi
push ecx
push edx
mov ecx, esi
call fcn.004025a0
mov eax, dword [ebp - 0x29c]
lea ecx, [ebp - 0x298]
cmp eax, ecx
je 0x4b68dc
push eax
call fcn.004bbbce
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.004bc11d
mov esp, ebp
pop ebp
ret

Function at 0x4b77a0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x52de80]
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 0x4b77df
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 0x4b77c3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b7850
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 + 0x52d938]
dec eax
mov edx, eax
and edx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7878
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 0x4b7861
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7a40
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 0x4b7a5a
dec eax
jne 0x4b7a63
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b7a70
mov dword [ebp + 8], ecx
pop ebp
jmp fcn.004b7b40
pop ebp
ret

Function at 0x4b7b40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x52de80]
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.004c5c54
mov edi, eax
add esp, 0xc
mov esi, edi
test edi, edi
jle 0x4b7be3
nop
cmp esi, 8
jge 0x4b7b98
mov eax, 8
sub eax, edi
push eax
lea eax, [ebp - 0xc]
add eax, edi
push eax
push dword [ebx + 0x78]
call fcn.004c5c54
mov edi, eax
add esp, 0xc
test edi, edi
jle 0x4b7b98
add esi, edi
jmp 0x4b7b70
test esi, esi
jle 0x4b7bdb
mov ecx, 8
sub ecx, esi
test ecx, ecx
jle 0x4b7bc0
mov eax, 8
sub eax, ecx
mov edi, edi
cmp eax, 8
jae 0x4b7bf4
mov byte [ebp + eax - 0xc], 0
dec ecx
inc eax
test ecx, ecx
jg 0x4b7bb0
lea eax, [ebp - 0xc]
push eax
push ebx
call fcn.004b7c00
push 8
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x7c]
call fcn.004c365c
add esp, 0x14
test edi, edi
jg 0x4b7b56
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
call fcn.004bfb1c
int3
Function at 0x4b7d40
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 + 0x52da40]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7d7b
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 0x4b7d58
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b7dd0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x52de80]
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 0x4b7e00
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x52d9c0]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7e23
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 0x4b7e00
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4b7e90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x52de80]
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 0x4b7ec0
xor edx, edx
mov eax, edi
div ebx
mov dword [ebp - 0x14], edx
lea esi, [eax + ecx]
movzx eax, byte [edi + 0x52da00]
dec eax
mov ebx, eax
and ebx, reloc.OLEAUT32.dll_VariantInit
jns 0x4b7ee3
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 0x4b7ec0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret