joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404714
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x633128], 2
push esi
mov esi, ecx
jne 0x404799
push edi
call fcn.00406483
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x404798
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], esi
push eax
mov edx, edi
lea ecx, [ebp - 8]
call fcn.004069e2
mov esi, dword [ebp - 8]
add esp, 8
cmp esi, dword [edi + 4]
je 0x404798
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [edi + 4]
lea ecx, [esi + 8]
push esi
call fcn.00406b40
add dword [edi + 4], 0xfffffff8
mov eax, dword [edi + 4]
pop ecx
cmp dword [edi], eax
jne 0x404798
mov ecx, edi
call fcn.0040677c
push 0xc
push edi
call fcn.00541bf5
pop ecx
pop ecx
call fcn.00406483
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
leave
ret

Function at 0x404c28
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x633130], 2
push esi
push edi
mov edi, ecx
jne 0x404ca8
call fcn.0040645c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x404ca8
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
mov dword [ebp - 4], eax
mov ecx, esi
lea eax, [ebp - 4]
push eax
call fcn.00406aec
cmp eax, dword [esi]
je 0x404ca8
cmp dword [eax + 0x14], edi
jne 0x404ca8
push eax
mov ecx, esi
call fcn.00406d88
cmp dword [esi + 4], 0
jne 0x404c8f
push ecx
mov ecx, esi
call fcn.00404cb0
call fcn.0040645c
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp byte [ebp + 8], 0
je 0x404c9a
xor eax, eax
inc eax
jmp 0x404caa
call dword [sym.imp.USER32.dll_ReleaseCapture]
neg eax
sbb eax, eax
neg eax
jmp 0x404caa
xor al, al
pop edi
pop esi
leave
ret 4

Function at 0x404cd0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x633130], 2
push esi
mov dword [ebp - 4], ecx
jne 0x404d08
call fcn.0040645c
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x404d08
lea eax, [ebp - 4]
mov ecx, esi
push eax
call fcn.00406aec
cmp eax, dword [esi]
je 0x404d08
mov eax, dword [eax + 0x14]
jmp 0x404d0a
xor eax, eax
pop esi
leave
ret

Function at 0x4067a2
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov edx, 0x633130
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4067f1
push esi
push 4
call fcn.00415ffa
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x4067d4
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x4067d6
xor esi, esi
mov dword [0x633134], esi
mov dword [0x633130], 2
pop esi
leave
ret
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x633130], 2
jne 0x4067e9
leave
ret
Function at 0x4067fc
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push ecx
xor ecx, ecx
mov edx, 0x633128
inc ecx
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x40684b
push esi
push 4
call fcn.00415ffa
mov esi, eax
mov dword [ebp - 4], esi
pop ecx
test esi, esi
je 0x40682e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [esi], eax
jmp 0x406830
xor esi, esi
mov dword [0x63312c], esi
mov dword [0x633128], 2
pop esi
leave
ret
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x633128], 2
jne 0x406843
leave
ret

Function at 0x40950b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x62a3b4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0x5c
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call fcn.00548bf0
add esp, 0xc
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push esi
push 0x5c
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
push 0x118
lea eax, [ebp - 0x11c]
push ebx
push eax
call fcn.00548bf0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x11c], 6
jne 0x409581
cmp byte [ebp - 6], cl
jne 0x40958e
mov bl, cl
cmp dword [ebp - 0x11c], 6
movzx ebx, bl
cmova ebx, ecx
mov ecx, str.Tahoma
test bl, bl
mov eax, 0x5fb0ec
cmove eax, ecx
push eax
lea eax, [esi + 0x1c]
push 0x20
push eax
call fcn.00567229
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
pop ebx
call fcn.00542347
leave
ret

Function at 0x40d856
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
mov esi, ecx
call fcn.0040dbfb
test al, al
jne 0x40d86a
mov ecx, esi
pop esi
jmp fcn.00404714
pop esi
ret

Function at 0x411913
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 8]
push ebx
push esi
push edi
push 0x5fb384
mov esi, edx
mov dword [ebp - 4], ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x4119b5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4119b5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4119b5
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4119ae
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4119a7
push ebx
push edi
push eax
call fcn.00547fb0
and dword [ebp + 8], 0
lea eax, [ebp + 8]
add esp, 0xc
push eax
push 0
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x4119a0
push dword [ebp + 8]
mov ecx, dword [ebp - 4]
call fcn.004112dc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420361
Capabilities:
Delete file
Move file

Disassembly:
push 8
mov eax, 0x5be6a0
call fcn.005429dc
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 0x5fe15c
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 0x5fe15c
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 0x5fe15c
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.005429aa
ret 4
Function at 0x420739
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x5be78b
call fcn.005429dc
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 0x5fe15c
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 0x5fe15c
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 0x5fe15c
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.005429aa
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.005429dc
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.005429aa
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 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.00542041
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.00542347
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 + 0x5f0240]
or esi, dword [eax*4 + 0x5f0040]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5efe40]
or esi, dword [edx*4 + 0x5efc40]
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 + 0x5f0140]
or ecx, dword [eax*4 + 0x5eff40]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efd40]
or ecx, dword [edx*4 + 0x5efb40]
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 + 0x5f0240]
or esi, dword [eax*4 + 0x5f0040]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or esi, dword [eax*4 + 0x5efe40]
mov eax, dword [ebp - 4]
or esi, dword [edx*4 + 0x5efc40]
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 + 0x5f0140]
or ecx, dword [eax*4 + 0x5eff40]
mov eax, edx
shr eax, 8
and edx, 0x3f
and eax, 0x3f
or ecx, dword [eax*4 + 0x5efd40]
or ecx, dword [edx*4 + 0x5efb40]
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 + 0x5f0420]
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 + 0x5f0370]
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 + 0x5f0370]
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 + 0x5f0340]
cmp byte [ebp + eax - 0x74], 0
je 0x447b48
mov eax, dword [ecx*4 + 0x5f03c0]
or dword [ebp + edx*4 - 0xf4], eax
movzx eax, byte [ecx + 0x5f0358]
cmp byte [ebp + eax - 0x74], 0
je 0x447b64
mov eax, dword [ecx*4 + 0x5f03c0]
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.00542347
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 + 0x5f0630]
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 + 0x5f0630]
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 + 0x5f0630]
mov byte [esi + 2], al
movzx eax, byte [ebx + 2]
add ebx, edi
and eax, 0x3f
mov al, byte [eax + 0x5f0630]
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 + 0x5f0630]
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 + 0x5f0630]
mov byte [esi + 1], al
movzx eax, byte [ebx + 1]
and eax, 0xf
mov byte [esi + 3], 0x3d
mov al, byte [eax*4 + 0x5f0630]
mov byte [esi + 2], al
jmp 0x4485db
mov al, byte [ecx + 0x5f0630]
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 0x5ffa88
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.00542347
leave
ret