joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a7c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x100
mov dword [ebp - 4], ecx
xor edi, edi
or edx, esi
add ebx, ebx
mov ecx, esi
and ecx, ebx
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add edi, dword [eax + ecx*4]
mov ecx, edx
xor ecx, ebx
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x41a7da
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a8ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, eax
bts esi, edx
mov ebx, ecx
cmp esi, 1
je 0x41a8e7
push edi
mov edi, dword [ebp + 0xc]
mov edx, esi
and esi, 1
shr edx, 1
neg esi
sar esi, 4
and esi, 0x7f
movzx ecx, word [ebx + edx*2]
shr ecx, 4
xor ecx, esi
mov esi, edx
add eax, dword [edi + ecx*4]
cmp esi, 1
jne 0x41a8c4
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41a8eb
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor esi, esi
inc edi
test ebx, ebx
je 0x41a932
mov eax, dword [ebp + 8]
mov edx, eax
movzx ecx, word [ecx + edi*2]
and edx, 1
shr eax, 1
add edi, edi
mov dword [ebp + 8], eax
or edi, edx
mov eax, edx
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add esi, dword [eax + ecx*4]
mov ecx, dword [ebp - 4]
sub ebx, 1
jne 0x41a900
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41e4fa
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push ebx
push esi
xor ebx, ebx
push edi
sub eax, 3
je 0x41e5bf
sub eax, 3
je 0x41e5ae
sub eax, 1
je 0x41e55e
dec eax
sub eax, 1
je 0x41e549
sub eax, 1
je 0x41e535
sub eax, 1
je 0x41e535
sub eax, 1
jne 0x41e5e9
mov eax, dword [ebp + 0x14]
push 0x40
pop ecx
mov word [eax], cx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
jmp 0x41e5e9
mov eax, dword [ebp + 0x14]
push 0x13
pop ecx
mov word [eax], cx
mov dword [eax + 8], 0x80
jmp 0x41e5e9
mov esi, dword [ebp + 0x14]
push 0x15
pop eax
push ebx
mov word [esi], ax
mov eax, dword [ebp + 8]
push 0x80
push 3
push ebx
mov ecx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
push 1
push SysReAllocString
push dword [ecx + eax*4]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41e5a7
lea eax, [esi + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov dword [esi + 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41e5e9
mov ebx, 0x80004005
jmp 0x41e5e9
mov eax, dword [ebp + 0x14]
push 0xb
pop ecx
mov word [eax], cx
xor ecx, ecx
mov word [eax + 8], cx
jmp 0x41e5e9
mov ebx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 8
pop eax
mov word [ebx], ax
mov edi, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edx, dword [ecx - 0xc]
mov ecx, dword [edi + esi*4]
lea ecx, [ecx + edx*2]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebx + 8], eax
xor ebx, ebx
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10
Function at 0x420361
Capabilities:
Delete file
Move file

Disassembly:
push 8
mov eax, 0x5be6a0
call fcn.005429ec
mov edi, ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
xor ebx, ebx
call fcn.0041f59d
mov dword [ebp - 4], ebx
mov ecx, edi
push dword [ebp + 8]
call fcn.00420498
test eax, eax
jne 0x420480
push ebx
push dword [ebp + 8]
call fcn.0057a0e7
pop ecx
pop ecx
test eax, eax
jne 0x420483
lea ecx, [ebp - 0x10]
call fcn.0040b03f
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._s.tmp
push eax
call fcn.004230c1
mov esi, dword [ebp - 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
push dword [ebp + 8]
call fcn.0057a1bd
pop ecx
pop ecx
test eax, eax
je 0x420404
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5fe14c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041e8d9
pop ecx
mov byte [ebp - 4], 2
jmp 0x420431
lea ecx, [esi - 0x10]
call fcn.0040c134
jmp 0x420483
push 4
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push dword [ebp + 8]
mov ecx, edi
call fcn.00420498
test eax, eax
jne 0x420478
push 0x5fe14c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041e8d9
pop ecx
mov byte [ebp - 4], 3
push dword [eax]
mov ecx, edi
call fcn.00420498
mov byte [ebp - 4], 1
mov edi, eax
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040c134
test edi, edi
je 0x4203fa
push 0x5fe14c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.0041e8d9
pop ecx
push 5
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.0040c134
lea ecx, [esi - 0x10]
call fcn.0040c134
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040c134
mov eax, ebx
call fcn.005429ba
ret 4
Function at 0x420739
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x5be78b
call fcn.005429ec
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.0040b03f
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0040b03f
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
call fcn.0041f8db
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0042124d
mov ecx, eax
call fcn.00421205
lea ecx, [ebp - 0x10]
test eax, eax
jle 0x420791
lea eax, [ebp - 0x18]
push eax
call fcn.0041ea9c
jmp 0x42079c
mov eax, dword [edi]
push dword [eax - 0xc]
push eax
call fcn.0041f62a
mov esi, dword [ebp - 0x10]
mov ecx, edi
push esi
call fcn.00420924
test eax, eax
jne 0x4208a1
push ebx
push esi
call fcn.0057a0e7
pop ecx
pop ecx
test eax, eax
jne 0x420907
lea ecx, [ebp + 8]
call fcn.0040b03f
push esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push str._s.tmp
push eax
call fcn.004230c1
mov edi, dword [ebp + 8]
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
push esi
call fcn.0057a1bd
pop ecx
pop ecx
test eax, eax
je 0x420821
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x5fe14c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e8d9
pop ecx
mov byte [ebp - 4], 3
jmp 0x42084d
lea ecx, [edi - 0x10]
call fcn.0040c134
xor ebx, ebx
jmp 0x420907
push 4
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00420924
test eax, eax
jne 0x420895
push 0x5fe14c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e8d9
pop ecx
mov byte [ebp - 4], 4
push dword [eax]
mov ecx, dword [ebp - 0x14]
call fcn.00420924
mov byte [ebp - 4], 2
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040c134
test ebx, ebx
je 0x420812
push 0x5fe14c
lea edx, [ebp - 0x10]
lea ecx, [ebp - 0x1c]
call fcn.0041e8d9
pop ecx
push 5
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040c134
xor ebx, ebx
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 1
call fcn.0040c134
push ebx
mov edi, str.TSVulFw_Cache
lea ecx, [ebp - 0x10]
push edi
call fcn.004216bd
cmp eax, 0xffffffff
je 0x420904
lea eax, [esi - 0x10]
push eax
call fcn.0041f0c0
add eax, 0x10
mov dword [ebp + 8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 8]
mov dword [esp], str.TSVulFw
push edi
call fcn.0042171d
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp + 8]
test eax, eax
je 0x4208fc
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push edi
push esi
call ebx
test eax, eax
jne 0x4208fc
push 5
push edi
push esi
call ebx
lea ecx, [edi - 0x10]
call fcn.0040c134
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040c134
lea ecx, [esi - 0x10]
call fcn.0040c134
mov eax, ebx
call fcn.005429ba
ret 4
Function at 0x420ac4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x420af7
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x420b03
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420ae5
jmp 0x420b06
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x420b0d
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push 4
mov eax, 0x5be7df
call fcn.005429ec
mov edi, ecx
push edi
lea ecx, [ebp - 0x10]
call fcn.0041f59d
xor esi, esi
push edi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420b82
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x420b82
lea ecx, [ebp - 0x10]
call fcn.00420a3e
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], esi
je 0x420b85
mov ecx, eax
call fcn.00420b0d
test eax, eax
je 0x420b85
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x420b82
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x420b85
xor esi, esi
inc esi
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040c134
mov eax, esi
call fcn.005429ba
ret

Function at 0x420cf5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
xor esi, esi
mov dword [ebp - 8], eax
push esi
lea ecx, [ebp - 4]
mov dword [ebp - 4], esi
push ecx
mov edi, edx
push edi
push ebx
push eax
jmp 0x420d28
add ebx, dword [ebp - 4]
sub edi, dword [ebp - 4]
je 0x420d34
push esi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x420d16
jmp 0x420d37
xor esi, esi
inc esi
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x424139
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
push edi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
call fcn.0042411f
lea esi, [ecx + 0x70]
push 8
mov ecx, edx
pop edi
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor ecx, eax
sub edi, 1
jne 0x424153
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x42414e
pop edi
pop esi
ret

Function at 0x4257b9
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4257df
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4257df
xor al, al
jmp 0x4257f3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x428339
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
push dword [ebp + 8]
mov esi, ecx
push edx
push edi
push edi
call fcn.00577219
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x428363
call fcn.004282e5
mov edi, eax
mov eax, edi
pop edi
pop esi
leave
ret
Function at 0x43b72e
Capabilities:
Set file attributes

Disassembly:
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret
Function at 0x445a6c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x445a7a
xor al, al
leave
ret
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 8
jb 0x445a85
mov ecx, dword [ecx]
movzx eax, byte [ebp + 0x14]
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [eax*2 + 2]
push ebx
push ebx
push eax
push ebx
push ebx
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x445b04
cmp byte [ebp + 0x14], bl
je 0x445ac2
push 2
push ebx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x445af8
push ebx
lea eax, [ebp - 4]
mov edi, ebx
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
jmp 0x445aea
add edi, dword [ebp - 4]
cmp edi, dword [ebp + 0x10]
je 0x445b0b
push ebx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0x10]
sub eax, edi
push eax
mov eax, dword [ebp + 0xc]
add eax, edi
push eax
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x445ad1
cmp esi, 0xffffffff
je 0x445b04
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov bl, 1
jmp 0x445afd

Function at 0x445b0f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp dword [eax + 0x14], 8
jb 0x445b22
mov eax, dword [eax]
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x445b94
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0x7fffffff
ja 0x445b8c
mov ecx, dword [ebp + 0xc]
push edi
call fcn.00443ea3
push edi
mov dword [ebp + 8], ebx
call fcn.00542051
pop ecx
push ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], eax
push ecx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x445b8c
cmp edi, dword [ebp + 8]
jne 0x445b8c
push dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [ebp - 4]
call fcn.0044483d
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x446376
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov esi, ecx
push 0
push eax
call fcn.00548bf0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0
push 0x25
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x4463bd
xor al, al
jmp 0x4463cd
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00409240
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00542357
leave
ret
Function at 0x447780
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], eax
push esi
push edi
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov eax, edi
shr eax, 4
xor eax, esi
mov dword [ebp - 8], 8
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor edi, eax
mov eax, edi
shr eax, 0x10
xor eax, esi
movzx eax, ax
xor esi, eax
shl eax, 0x10
xor edi, eax
mov eax, esi
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor esi, eax
mov ebx, esi
shr ebx, 8
xor ebx, edi
and ebx, 0xff00ff
xor edi, ebx
shl ebx, 8
xor ebx, esi
rol ebx, 1
mov eax, ebx
xor eax, edi
and eax, 0xaaaaaaaa
xor ebx, eax
xor eax, edi
rol eax, 1
mov edi, eax
mov eax, dword [ebp - 4]
mov edx, ebx
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5f0230]
or esi, dword [eax*4 + 0x5f0030]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5efe30]
or esi, dword [edx*4 + 0x5efc30]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
xor edx, ebx
mov ecx, edx
mov eax, edx
shr eax, 0x10
shr ecx, 0x18
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x5f0130]
or ecx, dword [eax*4 + 0x5eff30]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efd30]
or ecx, dword [edx*4 + 0x5efb30]
mov eax, dword [ebp - 4]
or ecx, esi
xor edi, ecx
mov edx, edi
ror edx, 4
xor edx, dword [eax]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, edx
shr ecx, 0x18
mov eax, edx
shr eax, 0x10
and ecx, 0x3f
and eax, 0x3f
mov esi, dword [ecx*4 + 0x5f0230]
or esi, dword [eax*4 + 0x5f0030]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5efe30]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x5efc30]
mov edx, dword [eax]
add eax, 4
xor edx, edi
mov dword [ebp - 4], eax
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, 0x3f
shr eax, 0x10
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x5f0130]
or ecx, dword [eax*4 + 0x5eff30]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efd30]
or ecx, dword [edx*4 + 0x5efb30]
or ecx, esi
xor ebx, ecx
sub dword [ebp - 8], 1
jne 0x4477fb
ror ebx, 1
mov edx, ebx
mov esi, dword [ebp - 0x10]
xor edx, edi
and edx, 0xaaaaaaaa
xor ebx, edx
xor edx, edi
ror edx, 1
mov eax, edx
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edx, eax
mov eax, edx
shr eax, 2
xor eax, ebx
and eax, 0x33333333
xor ebx, eax
shl eax, 2
xor edx, eax
mov eax, ebx
shr eax, 0x10
xor eax, edx
movzx eax, ax
xor edx, eax
shl eax, 0x10
xor ebx, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov eax, ecx
shl eax, 4
xor eax, ebx
xor ecx, edx
pop edi
mov dword [esi], eax
mov dword [esi + 4], ecx
pop esi
pop ebx
leave
ret
Function at 0x447a6a
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfc
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
movzx ebx, dx
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xfc], eax
movzx edx, byte [esi + str.80_]
mov eax, edx
and edx, 7
shr eax, 3
movsx ecx, byte [eax + edi]
movzx eax, word [edx*2 + 0x5f0410]
test eax, ecx
setne al
mov byte [ebp + esi - 0x3c], al
inc esi
cmp esi, 0x38
jl 0x447a96
push 0x1e
xor edi, edi
pop esi
cmp bx, 1
lea eax, [edi + edi]
mov edx, esi
cmovne edx, eax
movzx eax, byte [edi + 0x5f0360]
and dword [ebp + edx*4 - 0xf0], 0
and dword [ebp + edx*4 - 0xf4], 0
xor ecx, ecx
cmp eax, 0x1c
jge 0x447af5
mov bl, byte [ebp + eax - 0x3c]
jmp 0x447af9
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x1c
jl 0x447aea
movzx eax, byte [edi + 0x5f0360]
push 0x1c
pop ecx
add eax, ecx
cmp eax, 0x38
jge 0x447b1b
mov bl, byte [ebp + eax - 0x3c]
jmp 0x447b1f
mov bl, byte [ebp + eax - 0x58]
mov byte [ebp + ecx - 0x74], bl
inc ecx
inc eax
cmp ecx, 0x38
jl 0x447b10
xor ecx, ecx
movzx eax, byte [ecx + 0x5f0330]
cmp byte [ebp + eax - 0x74], 0
je 0x447b48
mov eax, dword [ecx*4 + 0x5f03b0]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x5f0348]
cmp byte [ebp + eax - 0x74], 0
je 0x447b64
mov eax, dword [ecx*4 + 0x5f03b0]
or dword [ebp + edx*4 - 0xf0], eax
inc ecx
cmp ecx, 0x18
jl 0x447b2c
mov ebx, dword [ebp - 0xf8]
sub esi, 2
inc edi
cmp esi, 0xfffffffe
jg 0x447ac5
mov edx, dword [ebp - 0xfc]
lea ecx, [ebp - 0xf4]
call fcn.0044798f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00542357
leave
ret
Function at 0x4484e4
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [edi + 2]
test eax, eax
js 0x4485f4
push 3
cdq
pop ecx
idiv ecx
cmp eax, 0x40000000
jge 0x4485f4
push esi
mov esi, dword [ebp + 0x10]
cmp edi, 2
jle 0x448584
lea eax, [edi - 3]
xor edx, edx
div ecx
push 3
lea edx, [eax + 1]
imul ecx, edx, 0xfffffffd
add edi, ecx
mov dword [ebp + 0xc], edi
pop edi
movzx ecx, byte [ebx]
shr ecx, 2
mov al, byte [ecx + 0x5f0620]
mov byte [esi], al
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
and ecx, edi
shr eax, 4
add ecx, ecx
mov al, byte [eax + ecx*8 + 0x5f0620]
mov byte [esi + 1], al
movzx ecx, byte [ebx + 1]
movzx eax, byte [ebx + 2]
and ecx, 0xf
shr eax, 6
mov al, byte [eax + ecx*4 + 0x5f0620]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, edi
and eax, 0x3f
mov al, byte [eax + 0x5f0620]
mov byte [esi + 3], al
add esi, 4
sub edx, 1
jne 0x448529
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4485de
movzx eax, byte [ebx]
shr eax, 2
mov al, byte [eax + 0x5f0620]
mov byte [esi], al
movzx ecx, byte [ebx]
and ecx, 3
shl ecx, 4
cmp edi, 1
jle 0x4485cc
movzx eax, byte [ebx + 1]
shr eax, 4
mov al, byte [eax + ecx + 0x5f0620]
mov byte [esi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov byte [esi + 3], 0x3d
mov al, byte [eax*4 + 0x5f0620]
mov byte [esi + 2], al
jmp 0x4485db
mov al, byte [ecx + 0x5f0620]
mov byte [esi + 1], al
mov word [esi + 2], 0x3d3d
add esi, 4
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4485ec
mov eax, esi
sub eax, dword [ebp + 0x10]
mov dword [ecx], eax
mov byte [esi], 0
xor eax, eax
pop esi
jmp 0x4485f7
or eax, 0xffffffff
pop edi
pop ebx
pop ebp
ret

Function at 0x449438
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
xor esi, esi
push eax
push 0x20019
push esi
push str.SoftwareTencentQQBrowser
push reloc.OLEAUT32.dll_SysReAllocString
mov edi, ecx
mov dword [ebp - 0x210], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4494d6
push ebx
mov ebx, 0x208
lea eax, [ebp - 0x20c]
push ebx
push esi
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x214], ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push esi
push 0x5ffa78
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop ebx
test eax, eax
jne 0x4494ca
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.00409240
inc esi
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00542357
leave
ret