joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497a30
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510fbb
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x550144]
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
cmp dword [edi + 4], 0
je 0x497c6e
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x234], 0
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea edx, [ecx + 2]
mov word [ebp - 0x234], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x497ac1
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044a760
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 1
jb 0x497b33
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
movzx ecx, word [eax + ecx*2 - 2]
xor eax, eax
cmp cx, word [eax + 0x534fe4]
je 0x497b33
add eax, 2
cmp eax, 4
jb 0x497b10
push 1
push 0x536b50
lea ecx, [ebp - 0x234]
call fcn.0044aee0
lea eax, [ebp - 0x24c]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.0048e320
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0048f270
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x497b98
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497b8e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c89
push edx
push ecx
call fcn.004de50a
add esp, 8
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
mov ecx, esi
cmovae eax, dword [ebp - 0x234]
cmp dword [esi + 0x14], 8
jb 0x497bb6
mov ecx, dword [esi]
push eax
push ecx
push str.Copy_File___s______s_
push 0x550bb8
call fcn.0048d880
add esp, 0x10
cmp dword [0x550bb8], 0
jne 0x497c05
mov eax, dword [0x550bc4]
mov dword [0x550bb8], 1
test eax, eax
je 0x497c05
mov ecx, dword [0x550bc0]
test ecx, ecx
je 0x497bfc
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x550bc4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x220], 8
lea eax, [ebp - 0x234]
cmovae eax, dword [ebp - 0x234]
cmp dword [esi + 0x14], 8
jb 0x497c21
mov esi, dword [esi]
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edx, dword [ebp - 0x220]
mov dword [edi + 4], 0
cmp edx, 8
jb 0x497c6e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497c64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497c8e
push edx
push ecx
call fcn.004de50a
add esp, 8
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.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
call fcn.004e36fa
int3
Function at 0x498a60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51103d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov ecx, ebx
call fcn.0046dbc0
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], edi
cmp esi, 0xffffffff
je 0x498b79
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0x200000
ja 0x498b72
lea edx, [eax + 1]
mov dword [ebp - 0x14], edi
mov edi, eax
test edx, edx
js 0x498b8d
mov eax, dword [ebx]
mov ecx, 1
mov dword [ebp - 0x10], eax
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x498b09
push edx
mov ecx, ebx
call fcn.0046d940
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
jmp 0x498b0c
mov eax, dword [ebp - 0x10]
mov ebx, eax
nop
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x498b70
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x498b70
add ebx, eax
sub edi, eax
jne 0x498b10
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov eax, dword [edi]
test eax, eax
jne 0x498b47
xor ecx, ecx
jmp 0x498b59
push dword [eax - 8]
push eax
call fcn.004e37d6
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x498b8d
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x498b8d
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov edi, 1
mov byte [ecx + eax], 0
jmp 0x498b72
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00450260
int3
Function at 0x499890
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51113d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [ebp - 4], 0
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
lea ebx, [esi + 0x14]
mov dword [ebp - 0x14], ebx
push 0x14
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.004de4da
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebx], eax
lea eax, [esi + 0x1c]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], eax
push 0x14
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004de4da
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 3
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [ebp - 4], 4
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [ebp - 4], 5
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 6
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499a35
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 7
push eax
call fcn.004e7f10
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, esi
mov dword [esi], eax
call fcn.00499f10
mov ecx, esi
call fcn.0049a260
push dword [esi + 0x24]
mov ecx, esi
push edi
push ebx
call fcn.0049a490
push dword [esi + 0x28]
lea eax, [esi + 8]
mov ecx, esi
push eax
lea edi, [esi + 0x1c]
push edi
call fcn.0049a490
push ebx
call fcn.00499ea0
push edi
mov dword [esi + 0xc], eax
call fcn.00499ea0
mov dword [esi + 0x10], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
int3
Function at 0x499a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509c80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [edi + 0x30]
or esi, 0xffffffff
sub edx, 0x10
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499a93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x2c]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499aad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x28]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499ac7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 0x24]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499ae1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x1c]
push ecx
call fcn.0049b410
lea ecx, [edi + 0x14]
push ecx
call fcn.0049b410
mov edx, dword [edi + 8]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499b0d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [edi + 4]
sub edx, 0x10
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x499b25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x499c40
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51117d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x499e02
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], edi
push eax
call fcn.004e7f10
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
xor eax, 0xf1f1f1
push eax
lea eax, [ebp - 0x10]
push 0x538f38
push eax
call fcn.0048cfa0
mov eax, dword [ebx + 0x30]
add esp, 0x10
mov esi, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x499d17
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
push 0x80
push 2
push 1
push edi
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.00491970
test eax, eax
jne 0x499d02
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x499ce0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.00491bd0
test eax, eax
jne 0x499d07
lea edi, [eax + 1]
jmp 0x499d07
mov edi, 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x499d1c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x499d1c
mov edi, 4
mov eax, dword [ebx + 0x2c]
cmp dword [eax - 0xc], 0
je 0x499dcc
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentReport
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x499db2
mov eax, dword [ebx + 0x2c]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x499da4
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x499d70
sub edx, dword [ebp - 0x14]
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push esi
push 1
push 0
push dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
cmove ebx, ecx
mov ecx, edi
or ecx, 8
test ebx, ebx
cmovne ecx, edi
mov edi, ecx
jmp 0x499db8
mov eax, dword [ebp - 0x10]
or edi, 0x10
test eax, eax
je 0x499dc3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x499dcf
or edi, 0x20
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x499dee
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
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
int3
Function at 0x49bc80
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x848
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x20a
mov dword [ebp - 0x840], eax
lea eax, [ebp - 0x424]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x424]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x20a
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e02e0
push 0x20a
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.004e02e0
push 0x20a
lea eax, [ebp - 0x83c]
push 0
push eax
call fcn.004e02e0
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x630]
push eax
lea eax, [ebp - 0x424]
push eax
call fcn.00489e40
xor edi, edi
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x848], edi
add esp, 0x34
mov dword [ebp - 0xc], ebx
mov esi, 1
mov dword [ebp - 0x844], esi
cmp ax, word [ebp - 0x218]
je 0x49bd7c
lea eax, [ebp - 0x218]
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x848]
lea ecx, [ebp - 0x844]
call fcn.00498e00
add esp, 0xc
test al, al
je 0x49bd7c
mov esi, dword [ebp - 0x844]
mov edi, dword [ebp - 0x848]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x840]
test edx, edx
jne 0x49bd8a
xor ecx, ecx
jmp 0x49bda8
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x840], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49bd95
sub ecx, dword [ebp - 0x840]
sar ecx, 1
push ecx
push edx
mov ecx, 0x554134
call fcn.0044f580
sub esp, 0x14
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x424]
push eax
lea edx, [ebp - 0x630]
call fcn.0049b610
mov esi, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
add esp, 0x28
push fcn.0049bbe0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 0x840]
push eax
push 5
lea eax, [ebp - 0xc]
mov dword [ebp - 0x840], 0
push eax
push esi
mov dword [ebp - 0xc], 0x4c2c033
mov byte [ebp - 8], 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push eax
call ebx
mov eax, dword [0x554148]
test eax, eax
je 0x49be59
mov dword [eax + 0x1c], 0x2710
cmp word [0x53656c], 0
je 0x49be59
mov eax, dword [0x554148]
push 0x53656c
add eax, 0x55c
push 0x3c
push eax
call fcn.004e7b74
mov eax, dword [0x554148]
add esp, 0xc
xor ecx, ecx
mov word [eax + 0x5d2], cx
push fcn.0049bbe0
call esi
lea eax, [ebp - 0x840]
mov dword [ebp - 0x840], 0
push eax
push 5
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0x4c2c033
push eax
push esi
mov byte [ebp - 8], 0
call edi
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x49c640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x18]
mov dword [ebp - 0x214], edx
mov dword [ebp - 0x218], eax
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x49c7d1
test edi, edi
je 0x49c7d1
test ecx, ecx
je 0x49c7d1
test ebx, ebx
je 0x49c7d1
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004e02e0
push 0xffffffffffffffff
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f39d5
push 0xffffffffffffffff
push 0x536b50
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f3700
push 0x103
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f3700
mov eax, dword [ebp - 0x210]
add esp, 0x3c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x49c709
push eax
call ebx
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push reloc.WS2_32.dll_closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x49c7aa
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c7b0
lea ecx, [ebp - 0x214]
push ecx
push 0
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49c7aa
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x14]
jbe 0x49c772
mov dword [esi], eax
mov esi, 0x80028016
mov eax, dword [ebp - 0x210]
jmp 0x49c7b5
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c7b0
lea ecx, [ebp + 0x14]
push ecx
push dword [ebp - 0x218]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x49c7aa
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
xor esi, esi
mov eax, dword [ebp - 0x210]
jmp 0x49c7b5
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x49c7bc
push eax
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x14
Function at 0x49c7f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0x214], eax
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x49c90c
test edi, edi
je 0x49c90c
test ecx, ecx
je 0x49c90c
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004e02e0
push 0xffffffffffffffff
push 0x539a7c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f39d5
push 0xffffffffffffffff
push 0x536b50
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f3700
push 0x103
push str.QQDoctorQQDoctorComCfg
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f3700
add esp, 0x3c
lea eax, [ebp - 0x20c]
push 0
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.0049c550
test eax, eax
je 0x49c8e1
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c8e7
mov esi, dword [ebp + 0x10]
push esi
push dword [ebp - 0x214]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x49c8e1
mov eax, dword [ebp - 0x210]
mov dword [ebx], esi
xor esi, esi
jmp 0x49c8ec
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x49c8f7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49dbd0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x511508
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x535d90
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0044c0b0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4a27c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5118f5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044ae50
mov byte [ebp - 4], 1
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov esi, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
test esi, esi
je 0x4a28df
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp word [edx + ecx*2], 0x5c
lea ecx, [edx + ecx*2]
je 0x4a2841
nop dword [eax + eax]
cmp ecx, edx
je 0x4a28df
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4a2830
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4a28df
cmp esi, ecx
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x30], 0
cmovb ecx, esi
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
push eax
call fcn.0044a760
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a28b7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a28ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a29a7
push edx
push ecx
call fcn.004de50a
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
push eax
movq qword [ebp - 0x18], xmm0
call fcn.0044ae50
call fcn.004a27c0
add esp, 0x18
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4a2909
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4a2909
or esi, 0xffffffff
jmp 0x4a290b
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a2941
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2937
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a29a7
push edx
push ecx
call fcn.004de50a
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x4a298b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2981
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a29a7
push edx
push ecx
call fcn.004de50a
add esp, 8
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.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3