joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4247e4
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4722
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0xc]
jne 0x424842
lea ecx, [edi - 0x38]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fa06
jmp 0x4249ac
xor ebx, ebx
cmp dword [edi + 0x10], eax
jne 0x424863
push 5
push ebx
push ebx
push str.http:__www.liebao.cn_go_security_doctor_feedback.html
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4249ac
xor ecx, ecx
inc ecx
cmp dword [edi + 0x64], eax
jne 0x42486f
push ecx
push ecx
jmp 0x4248cc
cmp dword [edi + 0x68], eax
jne 0x424879
push ecx
push 2
jmp 0x4248cc
cmp dword [edi + 0x6c], eax
jne 0x424883
push ecx
push 4
jmp 0x4248cc
cmp dword [edi + 0x70], eax
jne 0x42488d
push ecx
push 8
jmp 0x4248cc
cmp dword [edi + 0x74], eax
jne 0x424897
push ecx
push 0x10
jmp 0x4248cc
cmp dword [edi + 0x78], eax
jne 0x4248a1
push ecx
push 0x40
jmp 0x4248cc
cmp dword [edi + 0x7c], eax
jne 0x4248ae
push ecx
push 0x200
jmp 0x4248cc
cmp dword [edi + 0x80], eax
jne 0x4248be
push ecx
push 0x400
jmp 0x4248cc
cmp dword [edi + 0x84], eax
jne 0x4248da
push ecx
push 0x800
call fcn.0041349f
mov ecx, eax
call fcn.004134e1
jmp 0x42490b
cmp dword [edi + 0x3c], eax
jne 0x42490b
sub esp, 0x18
lea eax, [edi + 0x88]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00403034
mov dword [esp + 0xd8], ebx
or dword [esp + 0xd8], 0xffffffff
call fcn.0041e426
add esp, 0x18
mov esi, 0x4b5338
lea ecx, [esp + 0x2c]
push esi
call fcn.00403059
mov dword [esp + 0xc0], 1
lea ecx, [esp + 0x14]
push esi
call fcn.00403059
mov byte [esp + 0xc0], 2
lea ecx, [esp + 0x44]
call fcn.0041f92d
mov esi, eax
mov byte [esp + 0xc0], 3
lea ecx, [edi - 0x38]
mov edx, dword [ecx]
call dword [edx + 8]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esi]
push edx
push ebx
push 0x4b87a0
push 0x4b9200
push dword [ecx + 4]
mov ecx, esi
call dword [eax]
mov byte [esp + 0xc0], 2
lea ecx, [esp + 0x48]
call fcn.0041f9f7
mov byte [esp + 0xc0], 1
lea ecx, [esp + 0x14]
push ebx
push 1
call fcn.0040314a
or dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x2c]
push ebx
push 1
call fcn.0040314a
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret 4
Function at 0x425044
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4848
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [ecx + 0xc], eax
jne 0x4250ac
add ecx, 0xffffffc8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fa06
push str.result
lea ecx, [esp + 0x14]
call fcn.004014ed
xor esi, esi
mov dword [esp + 0x38], esi
fldz
jmp 0x425192
cmp dword [ecx + 0x10], eax
jne 0x4250c1
push 5
xor esi, esi
push esi
push esi
push str.http:__www.liebao.cn_go_security_doctor_feedback.html
jmp 0x4251e5
cmp dword [ecx + 0x1c], eax
jne 0x4250d7
call fcn.00413a9c
mov ecx, eax
call fcn.00413afd
jmp 0x4251f1
cmp dword [ecx + 0x20], eax
jne 0x425123
add ecx, 0xffffffc8
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fa06
push str.result
lea ecx, [esp + 0x14]
call fcn.004014ed
xor esi, esi
inc esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x10]
fld1
push ecx
push ecx
fstp qword [esp]
push eax
mov ecx, 0x4d8824
call fcn.0046bba0
or dword [esp + 0x38], 0xffffffff
push 0
push esi
jmp 0x4251ae
cmp dword [ecx + 0x24], eax
jne 0x4251b9
add ecx, 0xffffffc8
mov eax, dword [ecx]
call dword [eax + 8]
push 0x60
mov edi, eax
call fcn.0047b5be
pop ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x38], 2
xor esi, esi
test eax, eax
je 0x42515a
push edi
mov ecx, eax
call fcn.00425210
jmp 0x42515c
mov eax, esi
or dword [esp + 0x38], 0xffffffff
mov ecx, edi
push esi
push eax
call fcn.0044fa2e
mov ecx, dword [edi + 0x4c]
lea eax, [edi + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push str.result
lea ecx, [esp + 0x14]
call fcn.004014ed
mov dword [esp + 0x38], 3
fld qword [0x4bfc50]
push ecx
push ecx
lea eax, [esp + 0x18]
mov ecx, 0x4d8824
fstp qword [esp]
push eax
call fcn.0046bba0
or dword [esp + 0x38], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x18]
call fcn.0040162e
jmp 0x4251f1
cmp dword [ecx + 0x2c], eax
jne 0x4251cb
push 5
xor esi, esi
push esi
push esi
push str.http:__bbs.duba.net_thread_23394783_1_1.html
jmp 0x4251e5
cmp dword [ecx + 0x30], eax
je 0x4251f1
cmp dword [ecx + 0x34], eax
je 0x4251f1
cmp dword [ecx + 0x38], eax
jne 0x4251f1
push 5
xor esi, esi
push esi
push esi
push str.http:__bbs.duba.net_thread_23391005_1_1.html
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret 4
Function at 0x425698
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4950
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
cmp eax, dword [edi + 0xc]
jne 0x4256f6
lea ecx, [edi - 0x38]
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fa06
jmp 0x4258b2
cmp dword [edi + 0x10], eax
jne 0x425717
push 5
xor ebx, ebx
push ebx
push ebx
push str.http:__www.liebao.cn_go_security_doctor_feedback.html
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4258b2
cmp dword [edi + 0x1c], eax
jne 0x425837
mov ecx, 0x4b4a8c
call fcn.0041e4c5
xor ebx, ebx
test al, al
je 0x4257dc
mov esi, 0x4b5338
lea ecx, [esp + 0x2c]
push esi
call fcn.00403059
mov dword [esp + 0xc0], ebx
lea ecx, [esp + 0x14]
push esi
call fcn.00403059
mov byte [esp + 0xc0], 1
lea ecx, [esp + 0x44]
call fcn.0041f92d
mov esi, eax
mov byte [esp + 0xc0], 2
lea ecx, [edi - 0x38]
mov edx, dword [ecx]
call dword [edx + 8]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x18]
mov ecx, dword [eax + 4]
mov eax, dword [esi]
push edx
push 1
push 0x4b87a0
push 0x4b8f7c
push dword [ecx + 4]
mov ecx, esi
call dword [eax]
mov esi, eax
mov byte [esp + 0xc0], 1
lea ecx, [esp + 0x48]
call fcn.0041f9f7
mov byte [esp + 0xc0], bl
lea ecx, [esp + 0x14]
push ebx
push 1
call fcn.0040314a
or dword [esp + 0xc0], 0xffffffff
lea ecx, [esp + 0x2c]
push ebx
push 1
call fcn.0040314a
cmp esi, 2
je 0x4258b2
lea ecx, [edi - 0x38]
mov eax, dword [ecx]
call dword [eax + 8]
push 0x64
mov esi, eax
call fcn.0047b5be
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc0], 4
test eax, eax
je 0x42580d
push esi
mov ecx, eax
call fcn.004258d8
mov edi, eax
jmp 0x42580f
mov edi, ebx
or dword [esp + 0xc0], 0xffffffff
mov ecx, esi
push ebx
push edi
call fcn.0044fa2e
mov ecx, dword [esi + 0x4c]
lea eax, [esi + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push 0xffffffffffffffff
mov ecx, edi
call fcn.00425b73
jmp 0x4258b2
cmp eax, dword [edi + 0x24]
jne 0x4258b2
push 5
xor ebx, ebx
push ebx
push ebx
push str.http:__www.liebao.cn_go_security_doctor_contact.html
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
add edi, 0xffffffc8
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
push 0xd8
mov esi, eax
call fcn.0047b5be
pop ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc0], 5
test eax, eax
je 0x425887
push esi
mov ecx, eax
call fcn.00423757
jmp 0x425889
mov eax, ebx
or dword [esp + 0xc0], 0xffffffff
mov ecx, esi
push ebx
push eax
call fcn.0044fa2e
mov ecx, dword [esi + 0x4c]
lea eax, [esi + 0x20]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test edi, edi
je 0x4258b2
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret 4
Function at 0x425bdc
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [esi + 0xc], eax
jne 0x425c2a
call fcn.0041349f
mov ecx, eax
call fcn.0041351c
test al, al
je 0x425bf9
call fcn.0041349f
lea eax, [esi - 0x38]
test eax, eax
je 0x425c05
lea eax, [esi + 4]
jmp 0x425c07
xor eax, eax
push eax
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fc12
mov eax, dword [esi - 0x38]
lea ecx, [esi - 0x38]
call dword [eax + 8]
mov ecx, eax
call fcn.0044fa06
jmp 0x425c46
cmp dword [esi + 0x10], eax
jne 0x425c46
push 5
xor eax, eax
push eax
push eax
push str.http:__www.liebao.cn_go_security_doctor_feedback.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop esi
ret 4

Function at 0x425f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ecx
push esi
push edi
mov edi, ecx
xor esi, esi
mov dword [esp + 8], esi
cmp dword [edi], esi
je 0x425ffa
lea eax, [esp + 8]
push eax
push esi
lea eax, [esp + 0x14]
push eax
push esi
push str.Install_Path_Dir
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esp + 0xc], 1
mov dword [edi + 4], eax
jne 0x425ffa
mov ecx, dword [esp + 0x18]
push ebp
call fcn.004123cb
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
shr eax, 1
inc eax
push eax
call fcn.004121ed
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
lea eax, [esp + 0x18]
push eax
push esi
push str.Install_Path_Dir
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [edi + 4], eax
test eax, eax
jne 0x425ff9
mov eax, dword [esp + 0xc]
xor ecx, ecx
shr eax, 1
push 0xffffffffffffffff
mov word [ebp + eax*2], cx
mov ecx, dword [esp + 0x20]
call fcn.0041994d
inc esi
pop ebp
pop edi
mov eax, esi
pop esi
pop ecx
pop ecx
ret 8

Function at 0x426137
Capabilities:
Create directory

Disassembly:
push ebx
push esi
push 0
push 0x3000010
push 1
push 0
push 3
mov esi, ecx
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
cmp eax, 0xffffffff
setne bl
test ebx, ebx
je 0x426168
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x426171
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop esi
pop ebx
ret
Function at 0x4262a9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x4a4b4f
call fcn.0048373d
mov esi, ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00419880
and dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
push esi
call fcn.00419880
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.00426068
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x426334
mov ecx, dword [ebp - 0x10]
call fcn.00426137
test eax, eax
jne 0x426334
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov edi, 0xb7
cmp eax, edi
je 0x426334
lea ecx, [ebp - 0x14]
call fcn.004260db
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x426332
call fcn.004262a9
test eax, eax
je 0x426332
mov ecx, dword [ebp - 0x10]
call fcn.00426137
test eax, eax
jne 0x426334
call esi
cmp eax, edi
je 0x426334
xor ebx, ebx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00411bb2
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00411bb2
mov eax, ebx
call fcn.0048370b
ret

Function at 0x4263b6
Capabilities:
Acquire debug privileges

Disassembly:
push 0x30
push 0x4cb960
call fcn.0049c3c0
xor esi, esi
mov ebx, esi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 4], esi
lea eax, [ebp - 0x34]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42644a
lea eax, [ebp - 0x40]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x42644a
xor edi, edi
inc edi
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 2
push esi
push esi
push esi
lea eax, [ebp - 0x30]
push eax
push esi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x42644a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
cmovne ebx, edi
mov dword [ebp - 0x38], ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.00426463
mov eax, ebx
call fcn.0049c408
ret
Function at 0x426e71
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a4c72
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x4d8f48]
xor ebx, ebx
mov edi, 0x4d8f50
test al, 1
jne 0x426ee7
or eax, 1
mov dword [0x4d8f48], eax
mov dword [esp + 0x40], ebx
call fcn.0040224a
push eax
mov ecx, edi
call fcn.0041217c
mov byte [esp + 0x40], bl
push 0x4a7e8d
call fcn.0047b48c
pop ecx
or dword [esp + 0x40], 0xffffffff
mov edx, dword [0x4d8f50]
cmp dword [edx - 0xc], 0
je 0x426f03
push edi
mov ecx, esi
call fcn.00413d94
xor eax, eax
inc eax
jmp 0x426fdc
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x40], 2
sub esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00425f39
test eax, eax
je 0x426f2e
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.00425f70
push dword [esi]
lea ecx, [esp + 0x1c]
call fcn.00403059
mov byte [esp + 0x40], 3
lea ecx, [esp + 0x18]
call fcn.004260a4
mov edi, 0x4b4a8c
push edi
call fcn.00402919
pop ecx
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.0040413e
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
je 0x426f84
cmp dword [esp + 0x2c], 8
lea eax, [esp + 0x18]
cmovae eax, dword [esp + 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x426f84
xor edi, edi
inc edi
jmp 0x426fa4
push 0x4b5338
mov ecx, esi
call fcn.0041210a
mov ecx, esi
call fcn.004273f8
mov ecx, esi
mov edi, eax
call fcn.004260db
test edi, edi
je 0x426faf
push esi
mov ecx, 0x4d8f50
call fcn.00413d94
mov byte [esp + 0x40], 2
lea ecx, [esp + 0x18]
push ebx
push 1
call fcn.0040314a
or dword [esp + 0x40], 0xffffffff
cmp dword [esp + 0x10], 0
je 0x426fd6
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], ebx
mov eax, edi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047aabf
mov esp, ebp
pop ebp
ret
Function at 0x426ffa
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x238
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x234], eax
push ebp
push edi
xor ebp, ebp
mov dword [esp + 0xc], ecx
push ebp
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x427031
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4270e7
push ebx
push esi
push 0x228
lea eax, [esp + 0x20]
mov dword [esp + 0x14], ebp
push ebp
push eax
mov esi, 0x490
call fcn.00482250
add esp, 0xc
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4270a0
lea eax, [esp + 0x3c]
push 0x4b4a70
push eax
call fcn.0047b6f6
pop ecx
pop ecx
test eax, eax
je 0x427094
lea eax, [esp + 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42706d
jmp 0x4270a4
mov eax, dword [esp + 0x20]
mov esi, ebp
mov dword [esp + 0x10], eax
jmp 0x4270a4
call ebx
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call ebp
push dword [esp + 0x10]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x4270c8
call ebx
jmp 0x4270e5
push dword [esp + 0x14]
push 0xf01ff
push edi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x4270e0
call ebx
mov esi, eax
push edi
call ebp
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x23c]
pop edi
pop ebp
xor ecx, esp
call fcn.0047aabf
add esp, 0x238
ret
Function at 0x42a5e5
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4a53e0
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x4d3a00]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d3a00]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov esi, ecx
mov ebp, dword [esp + 0x244]
xor eax, eax
mov dword [esp + 0x14], vtable.ATL::CAccessToken.0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x23c], eax
mov edi, eax
mov bl, al
test esi, esi
je 0x42a65d
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], esi
call fcn.00428d47
mov bl, al
xor eax, eax
push 0x206
push eax
mov word [esp + 0x2c], ax
lea eax, [esp + 0x2e]
push eax
call fcn.00482250
add esp, 0xc
lea eax, [esp + 0x24]
push eax
push 0
push esi
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42a6a8
lea eax, [esp + 0x24]
push eax
call fcn.00402919
pop ecx
push eax
lea eax, [esp + 0x28]
mov ecx, ebp
push eax
call fcn.00403190
xor edi, edi
inc edi
test bl, bl
je 0x42a6b6
push ecx
lea ecx, [esp + 0x18]
call fcn.0041a7d4
test esi, esi
je 0x42a6ca
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
and dword [esp + 0x18], 0
call dword [edx + 4]
or dword [esp + 0x23c], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], vtable.ATL::CAccessToken.0
call fcn.00419c75
mov eax, edi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.0047aabf
add esp, 0x22c
ret
Function at 0x42af7a
Capabilities:
Check if file exists

Disassembly:
push 0x26c
mov eax, 0x4a55c3
call fcn.00483770
mov ebx, ecx
call fcn.00428d15
test al, al
je 0x42b159
xor eax, eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x238], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x240]
push 0x20019
push str.SoftwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004020cc
xor esi, esi
test eax, eax
jne 0x42b134
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.00482250
add esp, 0xc
mov dword [ebp - 0x244], 0x104
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0x240]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.ProgramPath
call fcn.00411b3f
test eax, eax
jne 0x42b134
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b134
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x42b03d
push 6
pop ecx
mov esi, str.kismain.exe
lea eax, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403059
mov byte [ebp - 4], 1
mov esi, str.__defendmon:lockliebao
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040413e
lea ecx, [ebp - 0x278]
call fcn.00442da0
mov eax, ecx
mov dword [ebp - 0x26c], ebx
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x248]
call fcn.004427e0
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
push eax
call fcn.00442c40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.00431910
lea ecx, [ebp - 0x250]
call fcn.00442d20
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00431910
xor eax, eax
mov byte [ebp - 4], al
lea ecx, [ebp - 0x234]
push eax
push 1
call fcn.0040314a
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x240], 0
je 0x42b128
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x240], esi
jmp 0x42b12a
xor esi, esi
mov dword [ebp - 0x23c], esi
mov al, bl
jmp 0x42b15b
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x240], 0
je 0x42b153
push dword [ebp - 0x240]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x23c], esi
xor al, al
call fcn.0048371f
ret
Function at 0x42d6ee
Capabilities:
Check if file exists

Disassembly:
push 0x26c
mov eax, 0x4a55c3
call fcn.00483770
call fcn.00428d15
test al, al
je 0x42d896
xor ebx, ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x240]
push 0x20019
push str.SoftwarekingsoftKISCommon
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004020cc
test eax, eax
jne 0x42d85e
push 0x206
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.00482250
add esp, 0xc
mov dword [ebp - 0x244], 0x104
lea eax, [ebp - 0x244]
lea ecx, [ebp - 0x240]
push eax
lea eax, [ebp - 0x21c]
push eax
push str.ProgramPath
call fcn.00411b3f
test eax, eax
jne 0x42d85e
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42d85e
lea edi, [ebp - 0x21c]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x42d7ad
push 6
pop ecx
mov esi, str.kismain.exe
lea eax, [ebp - 0x21c]
rep movsd dword es:[edi], dword [esi]
push eax
movsw word es:[edi], word [esi]
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403059
mov byte [ebp - 4], 1
mov esi, str.__defendmon:lockliebao
push esi
call fcn.00402919
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040413e
lea ecx, [ebp - 0x278]
call fcn.00442da0
push eax
lea edx, [ebp - 0x234]
lea ecx, [ebp - 0x248]
call fcn.004427e0
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x250]
push eax
call fcn.00442c40
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x244]
call fcn.00431910
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.00431910
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x234]
push ebx
push 1
call fcn.0040314a
mov eax, dword [ebp - 0x240]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x42d879
push eax
call esi
mov eax, ebx
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], ebx
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x42d890
push eax
call esi
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x23c], ebx
call fcn.0048371f
ret