joyce8/EMBER2024-capa huggingface dataset:
Function at 0x480b10
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da33d
mov eax, dword fs:[0]
push eax
sub esp, 0x1a0
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1a4], edi
mov eax, dword [0x515384]
xorps xmm0, xmm0
mov dword [edi], 0
mov dword [edi + 4], vtable.._AV__Thread_U__BindMember0_VTransportMgr_DataTransport__P812_AEXPAX_Z_fund___fund__.0
mov dword [edi + 8], 0
mov dword [edi + 0x14], edi
mov dword [edi + 0x18], 0x481d20
mov byte [edi + 0x1c], 1
mov dword [ebp - 0x1a8], edi
movq qword [edi + 0xc], xmm0
mov dword [ebp - 4], 0
lea esi, [edi + 0x24]
mov dword [edi + 0x20], eax
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00484d10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [edi + 0x2c]
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00484c60
mov dword [esi], eax
mov al, byte [ebp + 0xc]
lea ecx, [edi + 0x43c]
mov byte [edi + 0x34], al
mov byte [ecx], 0
mov byte [edi + 0x43d], 0
mov byte [edi + 0x43e], 1
mov dword [edi + 0x440], 0
mov dword [edi + 0x444], 0
mov dword [edi + 0x448], 0
lea eax, [edi + 0x44c]
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
cmp dword [eax + 0x14], 0x10
jb 0x480c19
mov eax, dword [eax]
mov byte [eax], 0
xor eax, eax
lea esi, [edi + 0x474]
mov word [edi + 0x464], ax
mov dword [edi + 0x468], eax
mov dword [edi + 0x46c], eax
mov dword [edi + 0x470], eax
mov dword [ebp - 0x1a4], esi
mov dword [esi], 0xffffffff
mov byte [esi + 4], al
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x2710
push ecx
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 5
call fcn.00483430
mov byte [esi + 0x1c], 1
lea eax, [ebp - 0x1a0]
push eax
push 0x102
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x480c83
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push 0x400
lea eax, [edi + 0x38]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.004a8960
add esp, 0xc
cmp byte [edi + 0x34], 0
je 0x480ca7
mov ecx, edi
call fcn.00480fd0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, edi
mov dword [edi + 0x438], eax
call fcn.00480ef0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8

Function at 0x480ef0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp byte [esi + 0x43c], 0
jne 0x480f59
push edi
push dword [esi + 0x438]
mov byte [esi + 0x43c], 1
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea edi, [esi + 4]
lea ecx, [ebp - 4]
mov byte [edi + 0x18], 0
push ecx
push 0
lea eax, [edi + 8]
mov dword [edi + 0xc], 0
mov dword [eax], edi
push eax
push 0x4839a0
push 0
push 0
call fcn.004afd9b
xor ecx, ecx
add esp, 0x18
cmp eax, 0xffffffff
cmove eax, ecx
mov dword [edi + 4], eax
test eax, eax
jne 0x480f58
mov byte [edi + 0x18], 1
mov byte [esi + 0x43c], cl
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x482090
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
cmp dword [edi + 0x14], 0x10
jb 0x4820b2
mov ecx, dword [edi]
jmp 0x4820b4
mov ecx, edi
call fcn.00482000
test eax, eax
je 0x48212e
mov ecx, dword [eax + 0xc]
cmp dword [ecx], 0
je 0x48212e
mov dword [ebx + 0x468], 0
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
lea ecx, [ebx + 0x2c]
push edi
lea eax, [ebp - 0x2c]
push eax
call fcn.00485420
mov ecx, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x24]
mov edx, ebx
mov dword [ecx + 0x28], ebx
mov dword [ecx + 0x2c], esi
lea ecx, [ebp - 0x20]
call fcn.004806b0
mov ecx, dword [ebp - 0xc]
cmp ecx, 0x10
jb 0x482119
inc ecx
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x20]
call fcn.00433760
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4
inc dword [ebx + 0x468]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
lea ecx, [ebp - 0x2c]
mov esi, eax
push ecx
lea ecx, [ebx + 0x2c]
call fcn.00485420
mov ecx, dword [ebp - 0x2c]
xor eax, eax
pop edi
mov dword [ecx + 0x2c], esi
mov dword [ecx + 0x28], 0
mov ecx, dword [ebp - 8]
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4
Function at 0x487250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da9b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], edx
push 0x4faba8
xor edi, edi
mov dword [ebp - 4], edx
push eax
mov dword [ebp - 0x34], edi
call fcn.004b169c
add esp, 8
mov dword [ebp - 0x30], eax
test eax, eax
je 0x48744e
push 2
push edi
push eax
call fcn.004b1988
add esp, 0xc
push dword [ebp - 0x30]
call fcn.004b1f81
add esp, 4
mov dword [ebp - 0x44], eax
push edi
push edi
push dword [ebp - 0x30]
call fcn.004b1988
mov eax, dword [ebp - 0x44]
add esp, 0xc
cmp eax, 0xc800
jg 0x4873f1
inc eax
push 0x5142bc
push eax
mov dword [ebp - 0x4c], eax
call fcn.004a65b0
add esp, 8
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4873f1
push dword [ebp - 0x4c]
push edi
push eax
call fcn.004a8960
mov eax, dword [ebp - 0x44]
add esp, 0xc
mov edi, dword [ebp - 0x34]
push dword [ebp - 0x30]
push eax
push 1
push edi
call fcn.004b2158
add esp, 0x10
lea ecx, [ebp - 0x2c]
push edi
call fcn.004387d0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push eax
push ecx
lea eax, [ebp - 0x2c]
push eax
call fcn.00486780
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00433720
push 0x5142bc
push 0x2800
call fcn.004a65b0
mov edi, eax
add esp, 8
test edi, edi
je 0x4873f1
push 0x2800
push esi
push edi
call fcn.004a8960
mov esi, dword [ebp - 0x40]
add esp, 0xc
mov eax, dword [ebp - 0x3c]
cmp esi, eax
je 0x4873ec
cmp ebx, esi
je 0x487395
push 0xffffffffffffffff
push 0
push esi
mov ecx, ebx
call fcn.004388d0
mov eax, dword [ebp - 0x3c]
cmp dword [ebx + 0x10], 0
je 0x4873e5
push 0x27ff
mov ecx, ebx
call fcn.00433710
push eax
push edi
call fcn.004bc210
add esp, 0xc
mov eax, edi
mov cl, byte [eax]
cmp cl, 0x20
je 0x4873bf
cmp cl, 9
jne 0x4873c2
inc eax
jmp 0x4873b3
cmp byte [eax], 0x3b
je 0x4873e2
push 0x3b
push edi
call fcn.004a8820
add esp, 8
test eax, eax
je 0x4873d9
mov byte [eax], 0
mov ecx, dword [ebp - 0x48]
push edi
call fcn.004869d0
mov eax, dword [ebp - 0x3c]
add esi, 0x18
cmp esi, eax
jne 0x487382
mov esi, 1
push dword [ebp - 0x30]
call fcn.004b5ee2
mov eax, dword [ebp - 0x34]
add esp, 4
test eax, eax
je 0x48740c
push eax
call fcn.004a5d88
add esp, 4
test edi, edi
je 0x487419
push edi
call fcn.004a5d88
add esp, 4
mov ebx, dword [ebp - 0x40]
test ebx, ebx
je 0x48744e
push dword [ebp - 0x48]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, ebx
call fcn.00485640
mov ecx, dword [ebp - 0x38]
mov eax, 0x2aaaaaab
sub ecx, ebx
add esp, 8
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
push ecx
push ebx
call fcn.00483ec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 0xc
Function at 0x488270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daaf8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x48839e
cmp byte [ebx + 0x3d], 0
je 0x48839e
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4882c9
xor al, al
jmp 0x4883a0
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.0044d3f0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x48832f
sub eax, 1
je 0x488333
mov ecx, dword [ebp - 0x14]
sub eax, 2
je 0x488386
xor bl, bl
jmp 0x488388
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae eax, edx
sub esi, eax
je 0x488368
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004bce1c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
jne 0x48832b
cmp byte [ebx + 0x3d], 0
je 0x488386
test esi, esi
jne 0x4882f1
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0044d2d0
jmp 0x4882ee
mov bl, 1
cmp ecx, 0x10
jb 0x48839a
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433760
mov al, bl
jmp 0x4883a0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x489f30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dad70
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov ecx, dword [esi]
sub ecx, 0x10
call fcn.0041c670
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0xb
push str.BitDefender
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041c490
push 0xb
push str.BitDefender
lea ecx, [ebp - 0x14]
call fcn.0041c490
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edi, dword [ebp - 0x14]
test eax, eax
je 0x489fd2
push edi
push esi
push str.MoveOrCopyBD_from__ws__to__ws
push 0x515488
call fcn.0048d4b0
push 0
mov edx, edi
mov ecx, esi
call fcn.004891a0
add esp, 0x14
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x489ff0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48a00c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x48a030
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.004a8960
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
lea eax, [ebp - 0x218]
push str.TSKSP
jb 0x48a07e
push str..Global_s
jmp 0x48a083
push str.._s
push 0x104
push eax
call fcn.004385e0
add esp, 0x10
lea eax, [ebp - 0x218]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48a0e8
push 0
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], esi
push eax
push 0
push 0
push 4
lea eax, [ebp - 0x21c]
push eax
push 0x22e05c
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push dword [ebp - 0x21c]
push str.UpdateSelfProtect__Leave__bEnable_d__bResult_d
push 0x515488
call fcn.0048d710
mov ecx, dword [ebp - 4]
add esp, 0x10
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48a2a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dad9b
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x114], 0
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48a3c3
push 0x80
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.004a8960
push 0x80
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.004a8960
mov eax, dword [ebp - 0x114]
add esp, 0x18
mov dword [ebp - 0x118], 0x40
test eax, eax
je 0x48a3c9
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x11c]
push ecx
push 0
push str.Version
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48a3c3
lea eax, [ebp - 0x90]
push eax
call fcn.004b11f4
mov esi, eax
add esp, 4
cmp esi, 9
jne 0x48a3bb
mov eax, dword [ebp - 0x114]
test eax, eax
je 0x48a3d6
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 0x11c]
push ecx
push 0
push str.svcVersion
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48a3bb
lea eax, [ebp - 0x110]
push eax
call fcn.004b11f4
add esp, 4
mov esi, eax
mov eax, dword [ebp - 0x114]
jmp 0x48a3cb
mov eax, dword [ebp - 0x114]
xor esi, esi
test eax, eax
je 0x48a3d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48a400
Capabilities:
Check if file exists
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6108
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [esi], ax
jne 0x48a448
xor ecx, ecx
jmp 0x48a45f
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a450
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00439160
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48a4f0
test al, 0x10
je 0x48a4dc
test al, 2
je 0x48a4a6
push 0x90
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x48a4a6
push str.CreateDeepDirectory__failed_to_SetFileAttributes.
push 0x515488
call fcn.0048d4b0
add esp, 8
mov esi, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x48a4c0
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00433600
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov edx, 1
mov ecx, esi
call fcn.0048a5b0
test eax, eax
jne 0x48a4f0
xor esi, esi
jmp 0x48a4ab
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48a4a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48a4a6
lea ecx, [ebp - 0x28]
call fcn.0048a1a0
cmp dword [ebp - 0x18], 0
jne 0x48a51c
xor esi, esi
jmp 0x48a4ab
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0048a400
test eax, eax
jne 0x48a537
xor esi, esi
jmp 0x48a4ab
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x48a4a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x48a4a6
xor esi, esi
jmp 0x48a4ab
Function at 0x48b320
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daf9b
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x21c], edi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], 0
push 0
push eax
call fcn.004a8960
add esp, 0xc
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x48b38a
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48b426
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b3d0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0041ccd0
push 0x10
push str.TencentQQPCMgr_
lea ecx, [ebp - 0x21c]
call fcn.0041c490
mov esi, dword [ebp - 0x21c]
mov ecx, esi
call fcn.0048a400
test eax, eax
jne 0x48b426
lea ecx, [ebp - 0x21c]
call fcn.0041ca30
mov esi, dword [ebp - 0x21c]
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
cmp dword [edi + 0x14], 8
jb 0x48b43e
mov eax, dword [edi]
jmp 0x48b440
mov eax, edi
xor ecx, ecx
mov word [eax], cx
cmp word [esi], cx
je 0x48b45f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b450
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, edi
call fcn.00439160
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48b487
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48b4b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daff2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x220], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x21c], 0
call fcn.004a8960
add esp, 0xc
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x48b526
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0x23
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48b5a0
push str.TencentQQPCMgr_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x218]
call fcn.0048a400
test eax, eax
je 0x48b5a0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b582
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0041ccd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48bfd0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], 0
mov esi, edx
mov dword [ebp - 0x414], 0
mov ebx, ecx
mov dword [ebp - 0x418], esi
push 0
push eax
mov dword [ebp - 0x41c], ebx
call fcn.004a8960
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
test edi, edi
je 0x48c040
call fcn.0048a560
lea eax, [ebp - 0x410]
push eax
push 0xf003f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48c109
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x424]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0x200
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
push dword [ebp - 0x410]
call ebx
test eax, eax
jne 0x48c0f0
nop word [eax + eax]
mov ecx, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
push edi
call fcn.0048bfd0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48c11a
lea eax, [ebp - 0x424]
mov dword [ebp - 0x414], 0x200
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x40c]
push eax
push esi
push dword [ebp - 0x410]
call ebx
test eax, eax
je 0x48c0a0
mov esi, dword [ebp - 0x418]
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48c3e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x210], ax
jne 0x48c44e
xor ecx, ecx
jmp 0x48c466
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c457
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret