joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cae2
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push edi
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jbe 0x40cb5a
mov edx, dword [ebp - 0x118]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
je 0x40cc56
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x118]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x40cc56
mov word [ebp - 0x11c], 0x409
mov word [ebp - 0x11a], 0x4b0
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 4]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x110]
push edx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x40cbce
cmp dword [ebp - 0x120], 4
jb 0x40cbce
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 0x11c], ecx
mov edx, dword [ebp - 0x11a]
and edx, 0xffff
push edx
mov eax, dword [ebp - 0x11c]
and eax, 0xffff
push eax
push str.StringFileInfo_04x_04xFileVersion
push 0x103
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea edx, [ebp - 0x120]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x110]
push edx
call sub.VERSION.dll_VerQueryValueA
push 0x2c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
je 0x40cc56
mov ecx, dword [ebp - 0x124]
add ecx, 1
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x110], 0
je 0x40cc84
mov edx, dword [ebp - 0x118]
push edx
push 0
mov eax, dword [ebp - 0x110]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x114]
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x40cf79
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44a231
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov dword [eax], 0x44f128
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x60], 0x44f110
mov dword [ebp - 4], 0xc
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x1c0], 1
mov ecx, dword [ebp - 0x18]
call fcn.0040cf1c
push 0x64
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1b8]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x40cfee
push 0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x1b8], 0
je 0x40d017
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x1b8], 0
mov edx, dword [ebp - 0x18]
cmp dword [edx + 0x1cc], 0
je 0x40d075
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1cc]
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x1cc]
mov edx, dword [eax]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x1cc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x40d061
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0040dc70
mov dword [ebp - 0x1c], eax
jmp 0x40d068
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x1cc], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x1fc
call fcn.0040dde0
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x18]
add ecx, 0x1fc
call fcn.0040d8f0
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x1ec
call fcn.00415f25
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x18]
add ecx, 0x198
call fcn.0040d880
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x18]
add ecx, 0x14c
call fcn.0040d7f0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x18]
add ecx, 0x12c
call fcn.0040d7f0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x18]
add ecx, 0x10c
call fcn.0040d7f0
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x18]
add ecx, 0xec
call fcn.0040d7f0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x18]
add ecx, 0xcc
call fcn.0040d7f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x18]
add ecx, 0xac
call fcn.0040d7f0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x90
call fcn.0043f2e2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0x8c
call fcn.0043f2e2
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
add ecx, 0x88
call fcn.0043f2e2
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
call fcn.0043f2dc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40d178
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push esi
push edi
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x130], 1
mov ecx, 6
mov esi, str..TenProtectBugTrace.dll
lea edi, [ebp - 0x12c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 7
mov esi, str..TenProtectBugTrace__d.dll
lea edi, [ebp - 0x150]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 4], 0
mov dword [ebp - 0x110], 0
mov byte [ebp - 0x10c], 0
mov ecx, 0x41
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x110]
add eax, 1
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x150]
push edx
push 0x104
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 4
push 0
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x40d1e1
push 0
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x12c]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [ebp - 0x130]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x413b55
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa2c
push edi
mov byte [ebp - 0xa28], 0
mov ecx, 0x289
xor eax, eax
lea edi, [ebp - 0xa27]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp dword [ebp + 8], 0
jne 0x413b80
jmp 0x413bc0
lea eax, [ebp + 0xc]
mov dword [ebp - 0xa2c], eax
mov ecx, dword [ebp - 0xa2c]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0xa27
lea eax, [ebp - 0xa28]
push eax
call dword [sym.imp.MSVCRT.dll__vsnprintf]
add esp, 0x10
lea ecx, [ebp - 0xa28]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0xa2c], 0
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41dc62
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0x41dc94
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
xor eax, eax
cmp dword [edx], 0
setne al
mov esp, ebp
pop ebp
ret

Function at 0x41dd01
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0xfc786653
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 4
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 5
je 0x41dd5c
cmp dword [ebp - 0x28], 0x1f
je 0x41ddb7
jmp 0x41de0d
lea edx, [ebp - 0x1c]
push edx
push 0xf003f
push 0
push str.SOFTWARETencentDNFTenProtectTP001
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dd85
jmp 0x41de34
xor eax, eax
test eax, eax
jne 0x41dd7a
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0x4548ec
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x41de0d
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push 0
push str.SOFTWARETencentYLZTGAMETenProtectTP001
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dddd
jmp 0x41de32
xor ecx, ecx
test ecx, ecx
jne 0x41ddd5
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push str.TP002
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jne 0x41de1c
mov dword [ebp - 0x20], 0
jmp 0x41de30
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
jmp 0x41de36
jmp 0x41de2b
jmp 0x41de2b
jmp 0x41de2b
mov esp, ebp
pop ebp
ret
Function at 0x41e0e5
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
push edi
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x110], 0
xor eax, eax
mov dword [ebp - 0x10c], eax
mov byte [ebp - 0x108], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41e168
jmp 0x41e1ef
xor eax, eax
test eax, eax
jne 0x41e15d
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x41e1ae
jmp 0x41e1ed
xor ecx, ecx
test ecx, ecx
jne 0x41e1a3
push 0
push 0
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x118], edx
mov eax, dword [ebp - 0x118]
jmp 0x41e1f1
jmp 0x41e1e5
jmp 0x41e1e5
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41ee9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push edi
mov dword [ebp - 0x134], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x10c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x130], 0x42
mov byte [ebp - 0x12f], 0x75
mov byte [ebp - 0x12e], 0x67
mov byte [ebp - 0x12d], 0x54
mov byte [ebp - 0x12c], 0x72
mov byte [ebp - 0x12b], 0x61
mov byte [ebp - 0x12a], 0x63
mov byte [ebp - 0x129], 0x6b
mov byte [ebp - 0x128], 0x2e
mov byte [ebp - 0x127], 0x69
mov byte [ebp - 0x126], 0x6e
mov byte [ebp - 0x125], 0x69
mov byte [ebp - 0x124], 0
mov byte [ebp - 0x120], 0x55
mov byte [ebp - 0x11f], 0x49
mov byte [ebp - 0x11e], 0x50
mov byte [ebp - 0x11d], 0x30
mov byte [ebp - 0x11c], 0x30
mov byte [ebp - 0x11b], 0x30
mov byte [ebp - 0x11a], 0x30
mov byte [ebp - 0x119], 0
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x50
mov byte [ebp - 0x116], 0x30
mov byte [ebp - 0x115], 0x30
mov byte [ebp - 0x114], 0x30
mov byte [ebp - 0x113], 0x31
mov byte [ebp - 0x112], 0
mov dword [ebp - 0x110], 0
push 0x103
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41efc4
jmp 0x41f051
xor ecx, ecx
test ecx, ecx
jne 0x41efb9
push 0x5c
lea edx, [ebp - 0x10c]
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x41efed
jmp 0x41f04f
xor eax, eax
test eax, eax
jne 0x41efe2
mov ecx, dword [ebp - 0x110]
mov byte [ecx + 1], 0
lea edx, [ebp - 0x130]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
push eax
lea eax, [ebp - 0x130]
push eax
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
lea edx, [ebp - 0x10c]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 8], 1
mov eax, dword [ebp - 8]
jmp 0x41f053
jmp 0x41f04a
jmp 0x41f04a
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f0ae
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentDNFTenProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f118
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4549ac
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f14e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 3
push 0
push 0x4549b4
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8

Function at 0x41f188
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentYLZTGAMETenProtect
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f1f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4549e4
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41f228
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push 3
push 0
push str.TP001
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret 8
Function at 0x41f262
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
push edi
mov dword [ebp - 0x31c], ecx
mov dword [ebp - 0x318], 0
mov byte [ebp - 0x20c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x314], 0
mov eax, dword [str...Client.exe]
mov dword [ebp - 0x108], eax
mov ecx, dword [0x4549f8]
mov dword [ebp - 0x104], ecx
mov edx, dword [0x4549fc]
mov dword [ebp - 0x100], edx
mov ax, word [0x454a00]
mov word [ebp - 0xfc], ax
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0xfa]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, dword [str...QQLogin.exe]
mov dword [ebp - 0x310], ecx
mov edx, dword [0x454a08]
mov dword [ebp - 0x30c], edx
mov eax, dword [0x454a0c]
mov dword [ebp - 0x308], eax
mov cx, word [0x454a10]
mov word [ebp - 0x304], cx
mov dl, byte [0x454a12]
mov byte [ebp - 0x302], dl
mov ecx, 0x3d
xor eax, eax
lea edi, [ebp - 0x301]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x454a14
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x41f361
xor eax, eax
jmp 0x41f434
push 0x5c
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x41f381
jmp 0x41f432
xor eax, eax
test eax, eax
jne 0x41f376
mov ecx, dword [ebp - 4]
mov byte [ecx], 0
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x454a1c
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f3e2
mov dword [ebp - 0x318], 0x1f
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x314], 0
push 0x454a20
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x314], eax
cmp dword [ebp - 0x314], 0
je 0x41f42a
mov dword [ebp - 0x318], 5
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov dword [ebp - 0x314], 0
mov eax, dword [ebp - 0x318]
jmp 0x41f434
jmp 0x41f42a
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f439
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 0x58], ecx
mov byte [ebp - 0x54], 0x53
mov byte [ebp - 0x53], 0x4f
mov byte [ebp - 0x52], 0x46
mov byte [ebp - 0x51], 0x54
mov byte [ebp - 0x50], 0x57
mov byte [ebp - 0x4f], 0x41
mov byte [ebp - 0x4e], 0x52
mov byte [ebp - 0x4d], 0x45
mov byte [ebp - 0x4c], 0x5c
mov byte [ebp - 0x4b], 0x41
mov byte [ebp - 0x4a], 0x70
mov byte [ebp - 0x49], 0x70
mov byte [ebp - 0x48], 0x44
mov byte [ebp - 0x47], 0x61
mov byte [ebp - 0x46], 0x74
mov byte [ebp - 0x45], 0x61
mov byte [ebp - 0x44], 0x4c
mov byte [ebp - 0x43], 0x6f
mov byte [ebp - 0x42], 0x77
mov byte [ebp - 0x41], 0x5c
mov byte [ebp - 0x40], 0x54
mov byte [ebp - 0x3f], 0x65
mov byte [ebp - 0x3e], 0x6e
mov byte [ebp - 0x3d], 0x63
mov byte [ebp - 0x3c], 0x65
mov byte [ebp - 0x3b], 0x6e
mov byte [ebp - 0x3a], 0x74
mov byte [ebp - 0x39], 0x5c
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x37], 0x52
mov byte [ebp - 0x36], 0x49
mov byte [ebp - 0x35], 0x53
mov byte [ebp - 0x34], 0x4d
mov byte [ebp - 0x33], 0x5c
mov byte [ebp - 0x32], 0x7b
mov byte [ebp - 0x31], 0x46
mov byte [ebp - 0x30], 0x45
mov byte [ebp - 0x2f], 0x34
mov byte [ebp - 0x2e], 0x38
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x2c], 0x44
mov byte [ebp - 0x2b], 0x42
mov byte [ebp - 0x2a], 0x41
mov byte [ebp - 0x29], 0x2d
mov byte [ebp - 0x28], 0x44
mov byte [ebp - 0x27], 0x45
mov byte [ebp - 0x26], 0x33
mov byte [ebp - 0x25], 0x39
mov byte [ebp - 0x24], 0x2d
mov byte [ebp - 0x23], 0x34
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x62
mov byte [ebp - 0x20], 0x39
mov byte [ebp - 0x1f], 0x2d
mov byte [ebp - 0x1e], 0x41
mov byte [ebp - 0x1d], 0x44
mov byte [ebp - 0x1c], 0x33
mov byte [ebp - 0x1b], 0x42
mov byte [ebp - 0x1a], 0x2d
mov byte [ebp - 0x19], 0x34
mov byte [ebp - 0x18], 0x35
mov byte [ebp - 0x17], 0x33
mov byte [ebp - 0x16], 0x37
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x42
mov byte [ebp - 0x13], 0x36
mov byte [ebp - 0x12], 0x31
mov byte [ebp - 0x11], 0x36
mov byte [ebp - 0x10], 0x31
mov byte [ebp - 0xf], 0x41
mov byte [ebp - 0xe], 0x30
mov byte [ebp - 0xd], 0x7d
mov byte [ebp - 0xc], 0
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0
push 4
lea eax, [ebp + 8]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x54]
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x41f5a0
Capabilities:
Contain obfuscated stackstrings
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x18], 4
mov byte [ebp - 0x64], 0x53
mov byte [ebp - 0x63], 0x4f
mov byte [ebp - 0x62], 0x46
mov byte [ebp - 0x61], 0x54
mov byte [ebp - 0x60], 0x57
mov byte [ebp - 0x5f], 0x41
mov byte [ebp - 0x5e], 0x52
mov byte [ebp - 0x5d], 0x45
mov byte [ebp - 0x5c], 0x5c
mov byte [ebp - 0x5b], 0x41
mov byte [ebp - 0x5a], 0x70
mov byte [ebp - 0x59], 0x70
mov byte [ebp - 0x58], 0x44
mov byte [ebp - 0x57], 0x61
mov byte [ebp - 0x56], 0x74
mov byte [ebp - 0x55], 0x61
mov byte [ebp - 0x54], 0x4c
mov byte [ebp - 0x53], 0x6f
mov byte [ebp - 0x52], 0x77
mov byte [ebp - 0x51], 0x5c
mov byte [ebp - 0x50], 0x54
mov byte [ebp - 0x4f], 0x65
mov byte [ebp - 0x4e], 0x6e
mov byte [ebp - 0x4d], 0x63
mov byte [ebp - 0x4c], 0x65
mov byte [ebp - 0x4b], 0x6e
mov byte [ebp - 0x4a], 0x74
mov byte [ebp - 0x49], 0x5c
mov byte [ebp - 0x48], 0x50
mov byte [ebp - 0x47], 0x52
mov byte [ebp - 0x46], 0x49
mov byte [ebp - 0x45], 0x53
mov byte [ebp - 0x44], 0x4d
mov byte [ebp - 0x43], 0x5c
mov byte [ebp - 0x42], 0x7b
mov byte [ebp - 0x41], 0x46
mov byte [ebp - 0x40], 0x45
mov byte [ebp - 0x3f], 0x34
mov byte [ebp - 0x3e], 0x38
mov byte [ebp - 0x3d], 0x43
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x42
mov byte [ebp - 0x3a], 0x41
mov byte [ebp - 0x39], 0x2d
mov byte [ebp - 0x38], 0x44
mov byte [ebp - 0x37], 0x45
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x39
mov byte [ebp - 0x34], 0x2d
mov byte [ebp - 0x33], 0x34
mov byte [ebp - 0x32], 0x31
mov byte [ebp - 0x31], 0x62
mov byte [ebp - 0x30], 0x39
mov byte [ebp - 0x2f], 0x2d
mov byte [ebp - 0x2e], 0x41
mov byte [ebp - 0x2d], 0x44
mov byte [ebp - 0x2c], 0x33
mov byte [ebp - 0x2b], 0x42
mov byte [ebp - 0x2a], 0x2d
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x35
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x26], 0x37
mov byte [ebp - 0x25], 0x43
mov byte [ebp - 0x24], 0x42
mov byte [ebp - 0x23], 0x36
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x36
mov byte [ebp - 0x20], 0x31
mov byte [ebp - 0x1f], 0x41
mov byte [ebp - 0x1e], 0x30
mov byte [ebp - 0x1d], 0x7d
mov byte [ebp - 0x1c], 0
mov byte [ebp - 8], 0x44
mov byte [ebp - 7], 0x61
mov byte [ebp - 6], 0x74
mov byte [ebp - 5], 0x61
mov byte [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x64]
push ecx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jne 0x41f729
xor eax, eax
jmp 0x41f72c
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret