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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510b9b
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 0x497d1e
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004dfec0
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 0x497b71
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x234]
call fcn.0044a770
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x224]
cmp ecx, 1
jb 0x497be3
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 + 0x534df4]
je 0x497be3
add eax, 2
cmp eax, 4
jb 0x497bc0
push 1
push 0x536960
lea ecx, [ebp - 0x234]
call fcn.0044aee0
lea eax, [ebp - 0x24c]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.0048e3a0
push eax
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 1
call fcn.0048f2f0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x497c48
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497c3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497d39
push edx
push ecx
call fcn.004de0ea
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 0x497c66
mov ecx, dword [esi]
push eax
push ecx
push str.Copy_File___s______s_
push 0x550bb8
call fcn.0048d900
add esp, 0x10
cmp dword [0x550bb8], 0
jne 0x497cb5
mov eax, dword [0x550bc4]
mov dword [0x550bb8], 1
test eax, eax
je 0x497cb5
mov ecx, dword [0x550bc0]
test ecx, ecx
je 0x497cac
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 0x497cd1
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 0x497d1e
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x497d14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x497d3e
push edx
push ecx
call fcn.004de0ea
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
call fcn.004e32da
int3
Function at 0x498b10
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510c1d
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.0046dc30
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 0x498c29
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0x200000
ja 0x498c22
lea edx, [eax + 1]
mov dword [ebp - 0x14], edi
mov edi, eax
test edx, edx
js 0x498c3d
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 0x498bb9
push edx
mov ecx, ebx
call fcn.0046d9b0
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
jmp 0x498bbc
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 0x498c20
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x498c20
add ebx, eax
sub edi, eax
jne 0x498bc0
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 0x498bf7
xor ecx, ecx
jmp 0x498c09
push dword [eax - 8]
push eax
call fcn.004e33b6
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x498c3d
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x498c3d
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov edi, 1
mov byte [ecx + eax], 0
jmp 0x498c22
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 0x499950
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d1d
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 0x499af5
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 0x499af5
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.004de0ba
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.004de0ba
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 0x499af5
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 0x499af5
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 0x499af5
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 0x499af5
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.004e7af0
mov eax, dword [ebp - 0x18]
add esp, 4
mov ecx, esi
mov dword [esi], eax
call fcn.00499fd0
mov ecx, esi
call fcn.0049a320
push dword [esi + 0x24]
mov ecx, esi
push edi
push ebx
call fcn.0049a550
push dword [esi + 0x28]
lea eax, [esi + 8]
mov ecx, esi
push eax
lea edi, [esi + 0x1c]
push edi
call fcn.0049a550
push ebx
call fcn.00499f60
push edi
mov dword [esi + 0xc], eax
call fcn.00499f60
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 0x499b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x509860
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 0x499b53
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 0x499b6d
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 0x499b87
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 0x499ba1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [edi + 0x1c]
push ecx
call fcn.0049b4d0
lea ecx, [edi + 0x14]
push ecx
call fcn.0049b4d0
mov edx, dword [edi + 8]
mov eax, esi
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x499bcd
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 0x499be5
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 0x499d00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510d5d
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 0x499ec2
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.004e7af0
mov eax, dword [ebp - 0x1c]
mov dword [ebx], eax
xor eax, 0xf1f1f1
push eax
lea eax, [ebp - 0x10]
push 0x538d38
push eax
call fcn.0048d020
mov eax, dword [ebx + 0x30]
add esp, 0x10
mov esi, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x499dd7
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.004919f0
test eax, eax
jne 0x499dc2
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x499da0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x20]
call fcn.00491c80
test eax, eax
jne 0x499dc7
lea edi, [eax + 1]
jmp 0x499dc7
mov edi, 2
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x499ddc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x499ddc
mov edi, 4
mov eax, dword [ebx + 0x2c]
cmp dword [eax - 0xc], 0
je 0x499e8c
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 0x499e72
mov eax, dword [ebx + 0x2c]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x499e64
mov edx, esi
lea ecx, [edx + 2]
mov dword [ebp - 0x14], ecx
nop
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x499e30
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 0x499e78
mov eax, dword [ebp - 0x10]
or edi, 0x10
test eax, eax
je 0x499e83
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x499e8f
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 0x499eae
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 0x49bd40
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.004dfec0
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.004dfec0
push 0x20a
lea eax, [ebp - 0x630]
push 0
push eax
call fcn.004dfec0
push 0x20a
lea eax, [ebp - 0x83c]
push 0
push eax
call fcn.004dfec0
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.00489eb0
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 0x49be3c
lea eax, [ebp - 0x218]
push eax
push ecx
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x848]
lea ecx, [ebp - 0x844]
call fcn.00498eb0
add esp, 0xc
test al, al
je 0x49be3c
mov esi, dword [ebp - 0x844]
mov edi, dword [ebp - 0x848]
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x840]
test edx, edx
jne 0x49be4a
xor ecx, ecx
jmp 0x49be68
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x840], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x49be55
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.0049b6d0
mov esi, dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
add esp, 0x28
push fcn.0049bca0
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 0x49bf19
mov dword [eax + 0x1c], 0x2710
cmp word [0x53637c], 0
je 0x49bf19
mov eax, dword [0x554148]
push 0x53637c
add eax, 0x55c
push 0x3c
push eax
call fcn.004e7754
mov eax, dword [0x554148]
add esp, 0xc
xor ecx, ecx
mov word [eax + 0x5d2], cx
push fcn.0049bca0
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x49c700
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 0x49c891
test edi, edi
je 0x49c891
test ecx, ecx
je 0x49c891
test ebx, ebx
je 0x49c891
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004dfec0
push 0xffffffffffffffff
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f35b5
push 0xffffffffffffffff
push 0x536960
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f32e0
push 0x103
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f32e0
mov eax, dword [ebp - 0x210]
add esp, 0x3c
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x49c7c9
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 0x49c86a
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c870
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 0x49c86a
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x14]
jbe 0x49c832
mov dword [esi], eax
mov esi, 0x80028016
mov eax, dword [ebp - 0x210]
jmp 0x49c875
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c870
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 0x49c86a
mov eax, dword [ebp + 0x14]
mov dword [esi], eax
xor esi, esi
mov eax, dword [ebp - 0x210]
jmp 0x49c875
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x49c87c
push eax
call ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
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.004de0fd
mov esp, ebp
pop ebp
ret 0x14
Function at 0x49c8b0
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 0x49c9cc
test edi, edi
je 0x49c9cc
test ecx, ecx
je 0x49c9cc
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004dfec0
push 0xffffffffffffffff
push 0x53987c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f35b5
push 0xffffffffffffffff
push 0x536960
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f32e0
push 0x103
push str.QQDoctorQQDoctorComCfg
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004f32e0
add esp, 0x3c
lea eax, [ebp - 0x20c]
push 0
push eax
push ecx
lea ecx, [ebp - 0x210]
call fcn.0049c610
test eax, eax
je 0x49c9a1
mov eax, dword [ebp - 0x210]
test eax, eax
je 0x49c9a7
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 0x49c9a1
mov eax, dword [ebp - 0x210]
mov dword [ebx], esi
xor esi, esi
jmp 0x49c9ac
mov eax, dword [ebp - 0x210]
mov esi, 0x80004005
test eax, eax
je 0x49c9b7
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.004de0fd
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
xor ecx, ebp
pop ebx
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 0x10

Function at 0x49dc90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5110e8
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 0x535ba0
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 0x4a2880
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5114d5
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 0x4a299f
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 0x4a2901
nop dword [eax + eax]
cmp ecx, edx
je 0x4a299f
sub ecx, 2
cmp word [ecx], 0x5c
jne 0x4a28f0
sub ecx, edx
sar ecx, 1
cmp ecx, 0xffffffff
je 0x4a299f
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.0044a770
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a2977
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a296d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2a67
push edx
push ecx
call fcn.004de0ea
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.004a2880
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 0x4a29c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4a29c9
or esi, 0xffffffff
jmp 0x4a29cb
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4a2a01
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a29f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2a67
push edx
push ecx
call fcn.004de0ea
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 0x4a2a4b
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4a2a41
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4a2a67
push edx
push ecx
call fcn.004de0ea
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
int3