joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48e1f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9bbb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
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 esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x48e394
cmp dword [esi + 0x28], 0
je 0x48e394
lea ecx, [ebp - 0x238]
call fcn.00495ad0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x48e250
mov edi, dword [esi]
jmp 0x48e252
mov edi, esi
lea ecx, [ebp - 0x238]
call fcn.00495be0
test eax, eax
js 0x48e329
push edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 2
push 0x104
push eax
call fcn.004ae4a4
add esp, 0xc
cmp dword [esi + 0x28], 0
jbe 0x48e2a9
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x48e295
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00495ec0
test eax, eax
js 0x48e329
cmp dword [esi + 0x40], 0
jbe 0x48e2ca
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x48e2ba
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00495c50
test eax, eax
js 0x48e329
cmp dword [esi + 0x70], 0
jbe 0x48e2eb
cmp dword [esi + 0x74], 8
lea eax, [esi + 0x60]
jb 0x48e2db
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00495f90
test eax, eax
js 0x48e329
cmp dword [esi + 0x58], 0
jbe 0x48e33a
cmp dword [esi + 0x5c], 8
lea edi, [esi + 0x48]
jb 0x48e2fe
mov eax, dword [edi]
jmp 0x48e300
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e33a
cmp dword [edi + 0x14], 8
jb 0x48e313
mov edi, dword [edi]
push dword [esi + 0x90]
lea ecx, [ebp - 0x238]
push edi
call fcn.00495df0
test eax, eax
jns 0x48e34d
lea ecx, [ebp - 0x238]
xor esi, esi
call fcn.00495b50
mov eax, esi
jmp 0x48e396
push 0
push 0
lea ecx, [ebp - 0x238]
call fcn.00495df0
test eax, eax
js 0x48e329
cmp dword [esi + 0x88], 0
jbe 0x48e371
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x48e361
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x238]
call fcn.00495d20
test eax, eax
js 0x48e329
lea ecx, [ebp - 0x238]
call fcn.00496060
test eax, eax
js 0x48e329
lea ecx, [ebp - 0x238]
mov esi, 1
call fcn.00495b50
mov eax, esi
jmp 0x48e396
xor eax, eax
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.004a474b
mov esp, ebp
pop ebp
ret 4
Function at 0x48e3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9bfb
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 0x20]
push esi
mov dword [ebp - 0xb0], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e429
mov edx, 1
mov ecx, esi
call fcn.00488ab0
lea ecx, [ebp - 0xa8]
call fcn.00489ad0
mov dword [ebp - 4], 0
cmp word [esi], 0
mov dword [ebp - 0x18], 0
jne 0x48e44c
xor ecx, ecx
jmp 0x48e460
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e451
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xa8]
call fcn.004393e0
cmp word [edi], 0
jne 0x48e477
xor ecx, ecx
jmp 0x48e48f
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e480
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x90]
call fcn.004393e0
cmp word [ebx], 0
jne 0x48e4a6
xor ecx, ecx
jmp 0x48e4bf
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e4b0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x78]
call fcn.004393e0
mov ebx, dword [ebp - 0xac]
cmp word [ebx], 0
jne 0x48e4d9
xor ecx, ecx
jmp 0x48e4ef
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e4e0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x48]
call fcn.004393e0
mov ebx, dword [ebp - 0xb0]
cmp word [ebx], 0
jne 0x48e509
xor ecx, ecx
jmp 0x48e51f
mov ecx, ebx
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e510
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x30]
call fcn.004393e0
mov ebx, dword [ebp - 0xb4]
cmp ebx, 0x4ec230
jne 0x48e563
cmp word [edi], 0
jne 0x48e543
xor ecx, ecx
push ecx
push edi
jmp 0x48e583
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e550
sub ecx, edx
sar ecx, 1
push ecx
push edi
jmp 0x48e583
cmp word [ebx], 0
jne 0x48e56d
xor ecx, ecx
jmp 0x48e581
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e572
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x60]
call fcn.004393e0
lea eax, [ebp - 0xa8]
push eax
call fcn.0048e1f0
lea ecx, [ebp - 0xa8]
mov esi, eax
call fcn.0048a080
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 - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x48e5d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x515c00], 0
jne 0x48e663
push esi
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push 0x4fb218
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004bbb52
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x48e662
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
push esi
sbb eax, eax
add eax, 2
mov dword [0x515c00], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor eax, eax
cmp dword [0x515c00], 1
sete al
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x48e680
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push str.RtlGetVersion
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x118
mov esi, eax
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
test esi, esi
je 0x48e6de
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
je 0x48e704
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x48e704
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
cmp dword [ebp - 0x11c], 0xa
pop esi
jne 0x48e72a
cmp dword [ebp - 0x118], 0
jne 0x48e72a
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48eb00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9c48
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
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 edi, ecx
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x181
movups xmmword [ebp - 0x2c], xmm0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48eb66
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00422000
add esp, 0x10
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov ecx, 0xa
cmp dword [ebp + 0xc], eax
cmovne ax, cx
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48ebeb
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_s__cmd:_s
push 0x515408
call fcn.0048c0f0
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x48ec54
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 2
test eax, eax
je 0x48ec35
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48ec24
push ebx
push str.CQMTProcess::RunApp_WAIT_TIMEOUT_path_s.
push 0x515408
call fcn.0048c0f0
add esp, 0xc
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x48ec35
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 1
test edi, edi
je 0x48ec4d
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x48ec54
push esi
call eax
mov dword [ebp - 4], 0xffffffff
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x48ec73
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48ec90
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, edx
mov dword [ebp - 0x234], 0
push 0
push 2
mov dword [ebp - 0x238], eax
mov ebx, ecx
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x48ecf3
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x48ed05
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop dword [eax]
cmp dword [ebp - 0x228], 0
jbe 0x48ed2d
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004aa58e
add esp, 8
test eax, eax
je 0x48ed3d
lea eax, [ebp - 0x230]
push eax
push esi
call edi
test eax, eax
jne 0x48ed10
jmp 0x48ed55
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x234], 1
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x234]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x48ed80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], ecx
push edi
mov ebx, 1
mov dword [ebp - 8], esi
nop word [eax + eax]
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
call fcn.0048ec90
mov edi, dword [ebp - 4]
test eax, eax
je 0x48ee0d
push edi
xor ebx, ebx
push ebx
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48ee0a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x1f4
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jne 0x48ee0a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x48ee0a
push edi
push str.QMTProcess::CloseProcessByID___d
push 0x515408
call fcn.0048be90
add esp, 0xc
mov esi, dword [ebp - 8]
inc esi
mov dword [ebp - 8], esi
test edi, edi
je 0x48ee1d
mov ecx, dword [ebp - 0xc]
cmp esi, 0xa
jl 0x48eda0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48f2c0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9cbb
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
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 dword [ebp - 0x244], edx
mov edi, ecx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x248], 0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48f31b
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
push 0
push 2
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48f370
add esi, 0xfffffff0
mov ecx, esi
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 4], ebx
mov dword [edi], eax
or eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48f3f8
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x48f3f8
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x23c], 0x22c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x48f3ca
nop dword [eax]
mov eax, dword [ebp - 0x244]
cmp dword [ebp - 0x234], eax
je 0x48f3b2
lea eax, [ebp - 0x23c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x48f390
jmp 0x48f3ca
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x240]
call fcn.0041cdf0
mov esi, dword [ebp - 0x240]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 0xfffffff0
mov ecx, esi
call fcn.0041c6e0
add eax, 0x10
mov dword [edi], eax
or eax, 0xffffffff
mov dword [ebp - 4], eax
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48f3f8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48f420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9cfb
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
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
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
call fcn.00421280
mov dword [ebp - 0x24c], eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov dword [ebp - 0x244], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x48f4b6
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x48f4ff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
xor edi, edi
push esi
push dword [esi]
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0048f710
push dword [ebp - 0x24c]
call fcn.004a4746
add esp, 4
mov eax, edi
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.004a474b
mov esp, ebp
pop ebp
ret
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
nop word [eax + eax]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0048fcc0
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 0x228]
mov dword [eax + 0x14], ecx
lea eax, [ebp - 0x240]
push eax
push esi
call edi
test eax, eax
jne 0x48f510
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 0xa
mov esi, dword [ebp - 0x24c]
mov ecx, esi
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x48f5cc
mov edx, dword [ebp - 0x244]
nop dword [eax]
cmp dword [eax + 0x10], edx
jae 0x48f57a
mov eax, dword [eax + 8]
jmp 0x48f57e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x48f570
cmp ecx, esi
je 0x48f5cc
cmp edx, dword [ecx + 0x10]
jb 0x48f5cc
mov eax, edi
dec edi
test eax, eax
je 0x48f5cc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x254]
push eax
lea ecx, [ebp - 0x24c]
call fcn.0048fcc0
mov eax, dword [ebp - 0x254]
mov ecx, ebx
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x244]
push eax
call fcn.0048f610
jmp 0x48f552
mov edi, 1
jmp 0x48f4be
Function at 0x490350
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9d78
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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 + 8], 0
jne 0x490448
mov edi, dword [ebp + 8]
test edi, edi
je 0x4903dd
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x490393
sub ecx, edx
sar ecx, 1
inc ecx
cmp ecx, 0x3fffffff
jg 0x4903dd
lea eax, [ecx + ecx]
mov dword [ebp - 0x14], eax
call fcn.004a5180
mov esi, esp
test esi, esi
je 0x4903dd
push 0
push 0
push dword [ebp - 0x14]
mov byte [esi], 0
push esi
push 0xffffffffffffffff
push edi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x4903df
xor esi, esi
call fcn.0041bef0
push eax
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push esi
call fcn.00490580
push 2
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.004904c0
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x14]
push 0
push eax
push dword [esi - 0xc]
push esi
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x490425
call fcn.00433370
mov edi, eax
jmp 0x490427
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x490490
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x490490
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, eax
push eax
push dword [ebp + 8]
push dword [ebx]
call esi
test eax, eax
jne 0x490470
call fcn.00433370
mov edi, eax
test edi, edi
js 0x490490
push 0
lea eax, [ebp - 0x18]
push eax
push 4
push 0x4edd0c
push dword [ebx]
call esi
test eax, eax
jne 0x49048e
call fcn.00433370
mov edi, eax
jmp 0x490490
xor edi, edi
not edi
shr edi, 0x1f
mov eax, edi
lea esp, [ebp - 0x28]
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.004a474b
mov esp, ebp
pop ebp
ret 8
Function at 0x4926b0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9fa0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
mov esi, dword [eax + 0x14]
mov esi, dword [esi]
cmp esi, dword [eax + 0x14]
je 0x4928af
nop dword [eax + eax]
lea ebx, [esi + 0x10]
push ebx
call fcn.004930a0
mov edi, eax
test edi, edi
je 0x4928a1
movzx ecx, word [esi + 0xa]
cmp ecx, dword [ebp + 8]
jne 0x4928a1
movzx eax, word [esi + 8]
sub eax, 0
je 0x4927de
sub eax, 1
jne 0x4928a1
mov dword [ebp - 4], 1
mov ebx, dword [esi + 0x14]
mov dword [ebp - 0x10], eax
cmp dword [esi + 0xc], eax
je 0x49273d
call fcn.00488a60
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4927bd
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
jle 0x4927bd
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push str.HandleRegister_Write_key_s__subkey_s__name_s.
push 0x515408
call fcn.0048c0f0
add esp, 0x14
cmp dword [esi + 0x1c], 4
push dword [esi + 0x20]
jne 0x49279d
call fcn.004afcd3
add esp, 4
lea ecx, [ebp - 0x10]
push eax
push dword [esi + 0x18]
call fcn.0043fb20
jmp 0x4927a8
push dword [esi + 0x18]
lea ecx, [ebp - 0x10]
call fcn.0043fb50
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4927b6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4927c0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4927d2
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], 0
jmp 0x4928a1
mov eax, dword [esi + 0x18]
cmp dword [eax - 0xc], 0
jne 0x492810
push dword [esi + 0x14]
push dword [ebx]
push str.HandleRegister_DeleteSubKeyTree_key_s__subkey_s.
push 0x515408
call fcn.0048c0f0
push dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov ecx, edi
call fcn.0048a5c0
add esp, 0x14
jmp 0x4928a1
push eax
push dword [esi + 0x14]
push dword [esi + 0x10]
push str.HandleRegister_DeleteValue_key_s__subkey_s__name_s.
push 0x515408
call fcn.0048c0f0
add esp, 0x14
mov dword [ebp - 4], 0
cmp dword [esi + 0xc], 0
mov ebx, dword [esi + 0x14]
mov dword [ebp - 0x14], 0
je 0x492845
call fcn.00488a60
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x492888
test eax, eax
je 0x492883
push dword [esi + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x492883
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x49289a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x18]
mov esi, dword [esi]
cmp esi, dword [eax + 0x14]
jne 0x4926f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x492fe0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
call fcn.0048aaa0
test eax, eax
jne 0x49304e
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0x104
push eax
push str.VerMode
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov ecx, dword [ebp - 4]
xor edx, edx
test eax, eax
cmovne ecx, edx
push ecx
push eax
push str.GetVerMode__ret_d__vermode_d
push 0x515408
mov dword [ebp - 4], ecx
call fcn.0048c0f0
add esp, 0x10
cmp dword [ebp - 4], 1
je 0x49304e
xor esi, esi
jmp 0x493053
mov esi, 1
mov edi, dword [ebp + 8]
push esi
push edi
push str.CBasicProcessor::CheckRunVerMode_vermode_d__isjoinedSMB_d
push 0x515408
call fcn.0048be90
add esp, 0x10
cmp edi, 1
jne 0x493080
test esi, esi
je 0x493088
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test edi, edi
jne 0x493073
test esi, esi
je 0x493073
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4