joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007e3c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x1007e3cf
cmp dword [ebp + 0x10], 0
jg 0x1007e3d7
mov eax, dword [ebp + 8]
jmp 0x1007e574
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x1007e535
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100ae188]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100ae188]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x100ae188]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100ae188]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100ae188]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x100ae188]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100ae188]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x100ae188]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1007e3e0
cmp dword [ebp + 0x10], 0
je 0x1007e56e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x100ae188]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x1007e53b
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x1007eaa0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f1a3
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call fcn.1001bd40
mov dword [ebp - 4], 0
push 1
push 0x23
push 0x105
lea ecx, [ebp - 0x10]
call fcn.10024ba0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.100104c0
lea ecx, [ebp - 0x10]
call fcn.10003c70
test eax, eax
jle 0x1007eb31
lea ecx, [ebp - 0x10]
call fcn.10003c70
sub eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.10010340
movzx eax, ax
cmp eax, 0x5c
je 0x1007eb31
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100102b0
push str.TencentQQPCMgrTrojanLog_
lea ecx, [ebp - 0x10]
call fcn.1000ec00
lea ecx, [ebp - 0x10]
call fcn.10015020
push eax
call fcn.10025400
add esp, 4
test eax, eax
jne 0x1007eb66
push 0
lea ecx, [ebp - 0x10]
call fcn.10015020
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100103f0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000b440
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x1007eba0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f1ce
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x18]
call fcn.1001bd40
mov dword [ebp - 4], 0
push 0x104
push 0x105
lea ecx, [ebp - 0x18]
call fcn.10024ba0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.100104c0
push 0x5c
lea ecx, [ebp - 0x18]
call fcn.1000ecc0
add eax, 1
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x18]
call fcn.1000eeb0
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x28]
push edx
lea ecx, [ebp - 0x18]
call fcn.1000ebe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.1000b440
push str.TAVConfig.ini
lea ecx, [ebp - 0x18]
call fcn.1000ec00
lea ecx, [ebp - 0x18]
call fcn.10015020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1007ec70
mov byte [ebp - 0x1d], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000b440
mov al, byte [ebp - 0x1d]
jmp 0x1007ecb1
mov dword [ebp - 0x10], 0xffffffff
push 0xffffffffffffffff
push 0x100ae7a0
push 0x100ae7b4
push reloc.WS2_32.dll_bind
call fcn.1007e8d0
add esp, 0x10
mov dword [ebp - 0x14], eax
xor eax, eax
cmp dword [ebp - 0x14], 0xffffffff
setne al
mov byte [ebp - 0x1e], al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000b440
mov al, byte [ebp - 0x1e]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x1007ecc0
Capabilities:
Check for time delay via gettickcount
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f5d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1010cfb0], 0
jne 0x1007ecf4
jmp 0x1007eecc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1010d174]
cmp eax, 0x927c0
jae 0x1007ed0c
jmp 0x1007eecc
cmp dword [0x1010cfc0], 0x400000
jle 0x1007ed22
jmp 0x1007eecc
push 0x800000
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x400000
je 0x1007ed48
cmp dword [ebp - 0x10], 0
jne 0x1007ee92
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1010d174], eax
cmp dword [0x100c98b4], 0xffffffff
je 0x1007ee7c
push 0x1010cda8
call fcn.1007e880
add esp, 4
mov ecx, dword [0x100c98b4]
xor esi, esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], esi
mov edx, dword [ebp - 0x20]
cmp edx, dword [ebp - 0x28]
jb 0x1007ee7c
ja 0x1007ed9b
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jb 0x1007ee7c
push 0x1010cda8
lea ecx, [ebp - 0x14]
call fcn.10010730
mov dword [ebp - 4], 0
push 0x100ae9b8
lea ecx, [ebp - 0x14]
call fcn.1000ec00
lea ecx, [ebp - 0x14]
call fcn.10015020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [0x1010cfb0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x1010cfb0], 0
lea ecx, [ebp - 0x14]
call fcn.10015020
push eax
push 0x1010cda8
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [ebp - 0x18]
call fcn.10004a40
mov byte [ebp - 4], 1
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push 0x1010cda8
lea ecx, [ebp - 0x18]
call fcn.100256e0
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x1007ee61
push 2
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.10025680
lea ecx, [ebp - 0x18]
call fcn.1000c380
mov dword [0x1010cfb0], eax
movzx edx, byte [0x1010cda0]
test edx, edx
je 0x1007ee61
push str.NewFile
push 0
push 0
call fcn.1007f9a0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10025740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.1000b440
mov eax, 0xff800000
sub eax, dword [ebp - 0x10]
push eax
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x1007eecc
cmp dword [ebp - 0x10], 0x400000
jle 0x1007eead
push 0xff800000
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
jmp 0x1007eecc
cmp dword [ebp - 0x10], 0
jle 0x1007eecc
cmp dword [ebp - 0x10], 0x400000
jge 0x1007eecc
push 0xffc00000
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007f140
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009fb3d
mov eax, dword fs:[0]
push eax
sub esp, 0x134
push ebx
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.1001bd40
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.:__Tid_d_
lea eax, [ebp - 0x10]
push eax
call fcn.10025650
add esp, 0xc
mov ecx, dword [ebp + 0x10]
call fcn.10003c70
test eax, eax
jle 0x1007f1c2
mov ecx, dword [ebp + 0x10]
call fcn.10003c70
sub eax, 1
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10024890
movsx ecx, al
cmp ecx, 0xa
je 0x1007f1c2
push 0xa
mov ecx, dword [ebp + 0x10]
call fcn.10025410
lea edx, [ebp - 0x18]
push edx
call fcn.1007e930
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x12c]
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.100254a0
add esp, 0xc
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x130]
mov dword [ebp - 0x134], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x134]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.100254a0
add esp, 0xc
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x13c]
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10019f90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.1000b440
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.1000b440
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.1000b440
movzx ecx, byte [0x1010d173]
test ecx, ecx
je 0x1007f2b8
push 0xfde9
mov ecx, dword [ebp + 0x10]
call fcn.10015020
push eax
lea ecx, [ebp - 0x124]
call fcn.10024580
mov dword [ebp - 0x140], eax
mov ecx, dword [ebp - 0x140]
call fcn.10015020
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x124]
call fcn.10011340
call fcn.1007ecc0
cmp dword [0x1010cfc0], 0x400000
jge 0x1007f31a
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 0x400000
jge 0x1007f30f
cmp dword [0x1010cfb0], 0
je 0x1007f30f
mov dword [ebp - 0x14], 0
push 0
lea edx, [ebp - 0x14]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.10003c70
push eax
mov ecx, dword [ebp + 0x10]
call fcn.10015020
push eax
mov eax, dword [0x1010cfb0]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x1010cfc0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp dword [ebp + 8], 0
je 0x1007f345
movzx ecx, byte [0x1010d172]
test ecx, ecx
je 0x1007f345
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
push 0x100aea90
mov ecx, dword [ebp + 0xc]
push ecx
mov ebx, dword [ebp + 8]
call fcn.1004e7cc
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000b440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1007f590
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a0106
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push esi
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x1010cfbc
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
cmp eax, 1
je 0x1007f5cb
jmp 0x1007f768
cmp dword [ebp + 0xc], 0
jne 0x1007f5d8
mov dword [ebp + 0xc], 0xc800000
mov eax, dword [ebp + 0xc]
mov dword [0x100c98b4], eax
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x10]
call fcn.1001bd40
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x1007f637
push 0
lea ecx, [ebp - 0x24]
push ecx
call fcn.1007f4d0
add esp, 8
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ebe0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.1000b440
lea ecx, [ebp - 0x10]
call fcn.10015020
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
push 0x100ae9f8
push 0x104
push 0x1010cda8
call fcn.10057529
add esp, 0x10
cmp dword [ebp + 0xc], 0xffffffff
je 0x1007f6d6
mov edx, dword [ebp + 8]
push edx
call fcn.1007e880
add esp, 4
mov ecx, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], esi
mov edx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x38]
jb 0x1007f6d6
ja 0x1007f687
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x3c]
jb 0x1007f6d6
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x20]
call fcn.10010730
mov byte [ebp - 4], 2
push str..old
lea ecx, [ebp - 0x20]
call fcn.1000ec00
lea ecx, [ebp - 0x20]
call fcn.10015020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x20]
call fcn.10015020
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 0x19], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.1000b440
lea ecx, [ebp - 0x14]
call fcn.10004a40
mov byte [ebp - 4], 3
push 0
push 0
push 0x80
movzx eax, byte [ebp - 0x19]
neg eax
sbb eax, eax
and eax, 0xfffffffe
add eax, 4
push eax
push 1
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x14]
call fcn.100256e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1007f74d
push 2
push 0
push 0
lea ecx, [ebp - 0x14]
call fcn.10025680
lea ecx, [ebp - 0x14]
call fcn.1000c380
mov dword [0x1010cfb0], eax
movzx edx, byte [0x1010cda0]
test edx, edx
je 0x1007f74d
push str.BEGAIN_n
push 0
push 0
call fcn.1007f9a0
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10025740
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.1000b440
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1007fbb0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100c7210]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x11c
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10053730
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1007fc1f
mov dword [ebp - 0x128], 0x114
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1007fc1f
xor eax, eax
jmp 0x1007fc3c
cmp dword [ebp - 0x124], 6
jne 0x1007fc3a
cmp dword [ebp - 0x120], 0
jb 0x1007fc3a
mov eax, 1
jmp 0x1007fc3c
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10053547
mov esp, ebp
pop ebp
ret

Function at 0x1007ff00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100c7210]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
mov ecx, 0x1010d168
call fcn.1000ef30
movzx eax, al
test eax, eax
je 0x1007ff71
mov word [ebp - 0x218], 0
push 0x20a
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10053730
add esp, 0xc
push 1
push 0x24
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010d168
call fcn.10010450
push 0x1010d168
mov ecx, dword [ebp + 8]
call fcn.100103f0
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053547
mov esp, ebp
pop ebp
ret

Function at 0x1007ffa0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100c7210]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x21c], 0
mov ecx, 0x1010d164
call fcn.1000ef30
movzx eax, al
test eax, eax
je 0x10080011
mov word [ebp - 0x218], 0
push 0x20a
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.10053730
add esp, 0xc
push 1
push 0x25
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x1010d164
call fcn.10010450
push 0x1010d164
mov ecx, dword [ebp + 8]
call fcn.100103f0
mov ecx, dword [ebp - 0x21c]
or ecx, 1
mov dword [ebp - 0x21c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053547
mov esp, ebp
pop ebp
ret
Function at 0x10080080
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x100c7210]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x420], 0
mov word [ebp - 0x418], 0
push 0x40e
push 0
lea eax, [ebp - 0x416]
push eax
call fcn.10053730
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
push 0x207
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0x207
ja 0x100800e9
cmp dword [ebp - 0x41c], 0
jne 0x1008010a
push 0x100aec6c
mov ecx, dword [ebp + 8]
call fcn.10010730
mov edx, dword [ebp - 0x420]
or edx, 1
mov dword [ebp - 0x420], edx
mov eax, dword [ebp + 8]
jmp 0x1008012b
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp + 8]
call fcn.10010730
mov ecx, dword [ebp - 0x420]
or ecx, 1
mov dword [ebp - 0x420], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10053547
mov esp, ebp
pop ebp
ret
Function at 0x10082240
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x14], ecx
movzx eax, byte [0x100c98a2]
test eax, eax
je 0x10082288
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 8]
push ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
push 0x100af678
push str._s:_Option.uiUdpRtyInterval_d__Option.uiUdpRtyTimes_d__Option.uiTcpRtyInterval_d__Option.uiTcpRtyTimes_d_n
push 0x65
push 0x100aa13b
call fcn.1007f9a0
add esp, 0x20
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x90], 0
je 0x100822a0
mov ecx, dword [ebp - 0x14]
call fcn.10081b80
test eax, eax
jne 0x100822fa
movzx ecx, byte [0x100c98a2]
test ecx, ecx
je 0x100822d7
mov ecx, dword [ebp - 0x14]
call fcn.10081b80
push eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
push eax
push str.CQMConfirmNetwork::SendWithRetry
push str._s:_m_pNetworkMgr_is__d___IsNetWorkOk___is__d
push 0x65
push 0x100aa146
call fcn.1007f9a0
add esp, 0x18
mov ecx, dword [ebp + 0x10]
push ecx
push 3
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
mov edx, dword [eax]
call edx
xor eax, eax
jmp 0x1008240d
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x48]
test ecx, ecx
jne 0x1008240b
cmp dword [ebp - 0x14], 0
je 0x10082328
mov edx, dword [ebp - 0x14]
add edx, 4
mov dword [ebp - 0x18], edx
jmp 0x1008232f
mov dword [ebp - 0x18], 0
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x800000c9
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x90]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx + 0x90]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10082378
mov eax, 1
jmp 0x1008240d
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 5
jbe 0x100823a7
mov edx, dword [ebp + 0x10]
push edx
push 3
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
mov eax, dword [edx]
call eax
xor eax, eax
jmp 0x1008240d
mov ecx, dword [ebp - 8]
add ecx, 0x1f4
cmp ecx, 0xbb8
jae 0x100823c6
mov edx, dword [ebp - 8]
add edx, 0x1f4
mov dword [ebp - 0x1c], edx
jmp 0x100823cd
mov dword [ebp - 0x1c], 0xbb8
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.10016ca0
movzx ecx, al
test ecx, ecx
jne 0x10082406
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 8]
jae 0x10082406
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100823dc
jmp 0x10082308
xor eax, eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100839f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009f71d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x100c7210]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.1000b260
mov dword [ebp - 4], 0
push 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.100266d0
mov byte [ebp - 4], 1
push 0xa
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.100266d0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
add ecx, 0x4c
call fcn.10004a40
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x50], 0
mov ecx, dword [ebp - 0x18]
mov word [ecx + 0x54], 0
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x58], 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [0x1010d0d8]
mov dword [eax + 0x5c], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x60
call fcn.1000d650
mov ecx, dword [ebp - 0x18]
add ecx, 0x9c
call fcn.1001bd40
mov byte [ebp - 4], 4
lea edx, [ebp - 0x14]
push edx
call fcn.10080140
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x9c
call fcn.1000ebe0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x14]
call fcn.1000b440
push str.TencentQQPCMgrQMConfirm2.ini
mov ecx, dword [ebp - 0x18]
add ecx, 0x9c
call fcn.1000ec00
lea edx, [ebp - 0x10]
push edx
call fcn.10080140
add esp, 4
mov byte [ebp - 4], 6
push str.TencentQQPCMgrQMConfirm.ini
lea ecx, [ebp - 0x10]
call fcn.1000ec00
lea ecx, [ebp - 0x10]
call fcn.10015020
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.1000b440
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret