joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ee6d
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 0x41ef94
jmp 0x41f021
xor ecx, ecx
test ecx, ecx
jne 0x41ef89
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 0x41efbd
jmp 0x41f01f
xor eax, eax
test eax, eax
jne 0x41efb2
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 0x41f023
jmp 0x41f01a
jmp 0x41f01a
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x41f07e
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 0x41f0e8
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 0x41f11e
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 0x41f158
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 0x41f1c2
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 0x41f1f8
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 0x41f232
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 str.TenSafe
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
test eax, eax
jne 0x41f331
xor eax, eax
jmp 0x41f404
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 0x41f351
jmp 0x41f402
xor eax, eax
test eax, eax
jne 0x41f346
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 0x41f3b2
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 0x41f3fa
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 0x41f404
jmp 0x41f3fa
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f409
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 0x41f570
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 0x41f6f9
xor eax, eax
jmp 0x41f6fc
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret
Function at 0x41f91f
Capabilities:
Contain obfuscated stackstrings
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x5c], 0x53
mov byte [ebp - 0x5b], 0x4f
mov byte [ebp - 0x5a], 0x46
mov byte [ebp - 0x59], 0x54
mov byte [ebp - 0x58], 0x57
mov byte [ebp - 0x57], 0x41
mov byte [ebp - 0x56], 0x52
mov byte [ebp - 0x55], 0x45
mov byte [ebp - 0x54], 0x5c
mov byte [ebp - 0x53], 0x41
mov byte [ebp - 0x52], 0x70
mov byte [ebp - 0x51], 0x70
mov byte [ebp - 0x50], 0x44
mov byte [ebp - 0x4f], 0x61
mov byte [ebp - 0x4e], 0x74
mov byte [ebp - 0x4d], 0x61
mov byte [ebp - 0x4c], 0x4c
mov byte [ebp - 0x4b], 0x6f
mov byte [ebp - 0x4a], 0x77
mov byte [ebp - 0x49], 0x5c
mov byte [ebp - 0x48], 0x54
mov byte [ebp - 0x47], 0x65
mov byte [ebp - 0x46], 0x6e
mov byte [ebp - 0x45], 0x63
mov byte [ebp - 0x44], 0x65
mov byte [ebp - 0x43], 0x6e
mov byte [ebp - 0x42], 0x74
mov byte [ebp - 0x41], 0x5c
mov byte [ebp - 0x40], 0x50
mov byte [ebp - 0x3f], 0x52
mov byte [ebp - 0x3e], 0x49
mov byte [ebp - 0x3d], 0x53
mov byte [ebp - 0x3c], 0x4d
mov byte [ebp - 0x3b], 0x5c
mov byte [ebp - 0x3a], 0x7b
mov byte [ebp - 0x39], 0x43
mov byte [ebp - 0x38], 0x34
mov byte [ebp - 0x37], 0x42
mov byte [ebp - 0x36], 0x44
mov byte [ebp - 0x35], 0x34
mov byte [ebp - 0x34], 0x44
mov byte [ebp - 0x33], 0x43
mov byte [ebp - 0x32], 0x42
mov byte [ebp - 0x31], 0x2d
mov byte [ebp - 0x30], 0x36
mov byte [ebp - 0x2f], 0x32
mov byte [ebp - 0x2e], 0x33
mov byte [ebp - 0x2d], 0x43
mov byte [ebp - 0x2c], 0x2d
mov byte [ebp - 0x2b], 0x34
mov byte [ebp - 0x2a], 0x38
mov byte [ebp - 0x29], 0x35
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], 0x2d
mov byte [ebp - 0x26], 0x38
mov byte [ebp - 0x25], 0x41
mov byte [ebp - 0x24], 0x35
mov byte [ebp - 0x23], 0x30
mov byte [ebp - 0x22], 0x2d
mov byte [ebp - 0x21], 0x34
mov byte [ebp - 0x20], 0x44
mov byte [ebp - 0x1f], 0x34
mov byte [ebp - 0x1e], 0x31
mov byte [ebp - 0x1d], 0x33
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1b], 0x37
mov byte [ebp - 0x1a], 0x41
mov byte [ebp - 0x19], 0x44
mov byte [ebp - 0x18], 0x34
mov byte [ebp - 0x17], 0x36
mov byte [ebp - 0x16], 0x43
mov byte [ebp - 0x15], 0x7d
mov byte [ebp - 0x14], 0
mov byte [ebp - 0xc], 0x50
mov byte [ebp - 0xb], 0x61
mov byte [ebp - 0xa], 0x74
mov byte [ebp - 9], 0x68
mov byte [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x41fa7a
cmp dword [ebp + 0xc], 0
jne 0x41fa7c
jmp 0x41faa5
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 3
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 0x5c]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov dword [ebp - 0x10], 1
mov eax, dword [ebp - 0x10]
jmp 0x41faa7
jmp 0x41faa0
mov esp, ebp
pop ebp
ret 8
Function at 0x41faad
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 - 0x18], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 3
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
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], 0x43
mov byte [ebp - 0x40], 0x34
mov byte [ebp - 0x3f], 0x42
mov byte [ebp - 0x3e], 0x44
mov byte [ebp - 0x3d], 0x34
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x43
mov byte [ebp - 0x3a], 0x42
mov byte [ebp - 0x39], 0x2d
mov byte [ebp - 0x38], 0x36
mov byte [ebp - 0x37], 0x32
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x43
mov byte [ebp - 0x34], 0x2d
mov byte [ebp - 0x33], 0x34
mov byte [ebp - 0x32], 0x38
mov byte [ebp - 0x31], 0x35
mov byte [ebp - 0x30], 0x65
mov byte [ebp - 0x2f], 0x2d
mov byte [ebp - 0x2e], 0x38
mov byte [ebp - 0x2d], 0x41
mov byte [ebp - 0x2c], 0x35
mov byte [ebp - 0x2b], 0x30
mov byte [ebp - 0x2a], 0x2d
mov byte [ebp - 0x29], 0x34
mov byte [ebp - 0x28], 0x44
mov byte [ebp - 0x27], 0x34
mov byte [ebp - 0x26], 0x31
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x45
mov byte [ebp - 0x23], 0x37
mov byte [ebp - 0x22], 0x41
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x20], 0x34
mov byte [ebp - 0x1f], 0x36
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0x7d
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xf], 0x61
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x68
mov byte [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x41fc15
cmp dword [ebp + 0xc], 0
jne 0x41fc17
jmp 0x41fc4f
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0x64]
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41fc41
jmp 0x41fc4d
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
jmp 0x41fc51
jmp 0x41fc48
jmp 0x41fc48
mov esp, ebp
pop ebp
ret 8
Function at 0x421620
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
mov eax, dword [0x45f064]
test eax, eax
je 0x421632
mov eax, dword [0x45f074]
test eax, eax
jne 0x42163f
call fcn.004216a0
test eax, eax
je 0x42163f
or eax, 0xffffffff
ret
mov eax, dword [0x454ce4]
cmp eax, 0xffffffff
jne 0x421665
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [0x454ce4], eax
jne 0x421665
mov eax, 0xfffffffe
ret
mov cl, byte [esp + 0xc]
test cl, cl
mov ecx, 0x45f060
jne 0x421677
mov ecx, 0x45f070
mov edx, dword [esp + 4]
push 0x10
push ecx
mov ecx, dword [esp + 0x10]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
jne 0x42169d
call fcn.00421790
mov eax, 0xfffffffd
ret
xor eax, eax
ret

Function at 0x4216a0
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x4216c4
or eax, 0xffffffff
add esp, 0x190
ret
mov ecx, dword [str.tss_qos_stat.gamesafe.qq.com]
push 0x45f060
push ecx
call fcn.00421710
add esp, 8
test eax, eax
je 0x4216e8
mov eax, 0xfffffffe
add esp, 0x190
ret
mov edx, dword [str.tss_qos_alarm.gamesafe.qq.com]
push 0x45f070
push edx
call fcn.00421710
add esp, 8
neg eax
sbb eax, eax
and al, 0xfd
add esp, 0x190
ret

Function at 0x421710
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x421729
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, dword [edi + 0xc]
xor esi, esi
cmp dword [eax], 0
je 0x421742
mov ecx, dword [eax + 4]
add eax, 4
inc esi
test ecx, ecx
jne 0x421733
test esi, esi
jne 0x42174a
pop edi
mov eax, 0xfffffffe
pop esi
ret
push 0
call dword [sym.imp.MSVCRT.dll_time]
xor edx, edx
mov ecx, dword [edi + 0xc]
div esi
mov esi, dword [esp + 0x14]
add esp, 4
push 0x1f90
mov edx, dword [ecx + edx*4]
mov eax, dword [edx]
mov word [esi], 2
mov dword [esi + 4], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
pop edi
xor eax, eax
pop esi
ret

Function at 0x422070
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push 0
push 0
push esi
push 0x422460
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
test eax, eax
jne 0x4220aa
push str.m_MainCtrl_CreateThread_failed
push eax
push 0x3f7
push 0x3f3
call fcn.00421850
add esp, 0x10
or eax, 0xffffffff
ret
xor eax, eax
ret
Function at 0x422810
Capabilities:
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44ad28
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov byte [esi + 5], 1
mov eax, dword [esi]
test eax, eax
jne 0x422847
xor eax, eax
pop esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
push ebx
push edi
xor edi, edi
mov al, byte [esi + 4]
test al, al
je 0x422880
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp edi, 0xa
jae 0x422869
push 0xa
call ebx
inc edi
mov al, byte [esi + 4]
test al, al
jne 0x422858
mov al, byte [esi + 4]
test al, al
je 0x422880
mov eax, dword [esi]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x422981
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea edi, [esi + 0x10]
push ebp
push edi
mov dword [esp + 0x14], edi
call ebx
mov eax, dword [esi + 0x2c]
lea ecx, [esi + 0x28]
push eax
mov dword [esp + 0x34], 0
mov edx, dword [eax]
push edx
lea edx, [esp + 0x1c]
push edx
call fcn.00422c00
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ebp, [esi + 0x38]
push ebp
call ebx
mov eax, dword [esi + 0x7c]
test eax, eax
jbe 0x422979
lea eax, [esi + 0x54]
mov ecx, eax
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [ecx + 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xc]
push edx
mov dword [esp + 0x28], ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [esi + 0x5c]
mov ecx, dword [esi + 0x7c]
add esp, 4
add edx, 4
dec ecx
mov dword [esi + 0x5c], edx
mov eax, edx
mov dword [esi + 0x7c], ecx
je 0x422905
cmp eax, dword [esi + 0x58]
jne 0x42296e
mov eax, dword [esi + 0x60]
lea ecx, [eax + 4]
mov dword [esi + 0x60], ecx
mov edx, dword [eax]
push edx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 0x7c]
add esp, 4
test eax, eax
jne 0x422953
lea ebx, [esi + 0x54]
xor eax, eax
xor ecx, ecx
xor edx, edx
mov dword [ebx], eax
xor edi, edi
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
lea ebx, [esi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x74]
push eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edi
call sub.MFC42.DLL_operatordelete
add esp, 4
jmp 0x42296e
mov eax, dword [esi + 0x60]
lea ebx, [esi + 0x54]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edi, ecx
lea edx, [ecx + 0x1000]
mov dword [ebx + 4], edx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x7c]
test eax, eax
ja 0x4228c5
push ebp
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
mov ecx, dword [esi]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
pop edi
mov dword [esi], 0
pop ebx
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret