joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4166b0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4934b0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x38], ebx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41670d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARELenovoDrivers_ManagementUpdate
push reloc.WS2_32.dll_bind
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x4167bd
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [esp + 0x2c]
movzx eax, word [esp + 0x2a]
movzx ecx, word [esp + 0x28]
push edx
movzx edx, word [esp + 0x2a]
push eax
movzx eax, word [esp + 0x2a]
push ecx
movzx ecx, word [esp + 0x2c]
push edx
push eax
push ecx
push str._04d_02d_02d_02d_02d_02d
lea edi, [esp + 0x38]
call fcn.004039d0
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
add esp, 0x1c
xor edi, edi
cmp ebp, ebx
je 0x4167bd
mov eax, esi
lea edx, [eax + 2]
jmp 0x416790
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x416790
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push ebx
push str.cs3oddtime
push ebp
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, ebx
jne 0x4167bd
mov edi, 1
push esi
push edi
push str.KHelper::SetLastRebootTipTime_return:_d__Time:_ws
mov ecx, 0x4ba960
call fcn.0041d5c0
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [esp + 0x38], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4167f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x416800
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret
Function at 0x417980
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x494740
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
xor ebx, ebx
xor esi, esi
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x14]
mov dword [esp + 0x30], ebx
push eax
mov dword [esp + 0x10], 0xffffffff
call fcn.0040fb20
mov byte [esp + 0x30], 1
cmp dword [edi + 0xc8], esi
jle 0x417a20
cmp dword [esp + 0x18], 0
mov eax, dword [ebp + 8]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
jne 0x417a09
mov ecx, edi
call fcn.004180a0
jmp 0x417a0f
push edi
call fcn.004181c0
mov esi, eax
test esi, esi
jne 0x417a20
add ebx, 1
cmp ebx, dword [edi + 0xc8]
jl 0x4179eb
mov byte [esp + 0x30], 0
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x14], vtable.KAppendFile.0
je 0x417a46
push eax
call fcn.00460bb5
add esp, 4
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a6e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x14], vtable.IHttpWrite.0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417a9e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4180a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x494710
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
lea esi, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.0045af80
mov dword [esp + 0x64], ebx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
mov eax, dword [esp + 0x70]
mov byte [esp + 0x64], 1
mov ecx, dword [edi + 0xbc]
mov edx, dword [edi + 0xcc]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x4c], ecx
push eax
mov ecx, esi
push ecx
mov dword [esp + 0x30], edx
call fcn.0045b190
mov esi, dword [esp + 0x50]
cmp esi, ebx
lea eax, [edi + 0xd0]
jne 0x418132
xor ecx, ecx
jmp 0x418151
mov ecx, esi
lea edx, [ecx + 2]
mov dword [esp + 0x70], edx
jmp 0x418140
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x418140
sub ecx, dword [esp + 0x70]
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00401f30
mov eax, dword [esp + 0x3c]
cmp eax, 0xc8
mov dword [edi + 0xc0], eax
mov edi, 1
je 0x418173
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov dword [ecx], eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x64], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41819e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x20]
call fcn.0045aff0
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0xc
Function at 0x418390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4946b0
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x5c]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
mov dword [esp + 0x1c], 0xffffffff
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea esi, [esp + 0x20]
mov dword [esp + 0x64], 0
call fcn.0045af80
push str.HEAD
mov ebx, 4
lea eax, [esp + 0x34]
mov byte [esp + 0x68], 1
call fcn.00401f30
mov eax, dword [edi + 0xbc]
mov edx, dword [esp + 0x6c]
mov ecx, dword [edi + 0xcc]
mov dword [esp + 0x4c], eax
push edx
mov eax, esi
push eax
mov dword [esp + 0x30], ecx
call fcn.0045b190
mov esi, dword [esp + 0x50]
test esi, esi
mov ebp, eax
lea eax, [edi + 0xd0]
jne 0x418435
xor ecx, ecx
jmp 0x41844f
mov ecx, esi
lea ebx, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x418440
sub ecx, ebx
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00401f30
test ebp, ebp
jne 0x41846b
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0xc0], ecx
mov edi, dword [esp + 0x1c]
jmp 0x41847e
mov edx, dword [esp + 0x18]
push 0xa
push 0
push edx
call fcn.00461957
add esp, 0xc
mov edi, eax
lea esi, [esp + 0x20]
call fcn.0045aff0
mov dword [esp + 0x64], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4184af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 4

Function at 0x4188c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
lea eax, [esp]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ecx]
push 0
push eax
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4188f9
mov eax, dword [esp + 0xc]
sub eax, 4
neg eax
sbb eax, eax
and eax, 0xd
pop ecx
ret 8
Function at 0x418a00
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x418a95
push edi
lea ecx, [esp + 0x10]
push ecx
push ebp
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x10], ebx
mov edi, eax
jne 0x418a8d
cmp edi, 0x200000
ja 0x418a8d
lea edx, [edi + 2]
push esi
push edx
call fcn.0045ec2d
add esp, 4
push ebx
mov esi, eax
lea eax, [esp + 0x14]
push eax
push edi
push esi
push ebp
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418a8c
mov eax, dword [esp + 0x10]
cmp eax, edi
jne 0x418a8c
mov edx, dword [esp + 0x1c]
mov byte [eax + esi], bl
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x20]
mov byte [ecx + esi + 1], bl
mov dword [edx], esi
mov dword [eax], edi
mov ebx, 1
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 8
ret 8
Function at 0x419a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493370
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4b7110]
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 [0x4b994c]
mov edx, dword [eax + 0xc]
xor ebx, ebx
mov ecx, 0x4b994c
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], ebx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
call edx
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
push ebx
push ebx
push 2
push ebx
push 1
push 0x40000000
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x419b60
mov ecx, dword [ebp + 8]
push ecx
lea eax, [ebp - 0x20]
call fcn.00419bd0
push ebx
lea edx, [ebp - 0x18]
push edx
push 2
lea eax, [ebp - 0x14]
push eax
push esi
mov byte [ebp - 0x14], 0xff
mov byte [ebp - 0x13], 0xfe
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, ebx
mov edi, dword [ebp - 0x20]
je 0x419b59
cmp dword [ebp - 0x18], 2
jne 0x419b59
mov eax, dword [edi - 0xc]
push 0
lea ecx, [ebp - 0x18]
push ecx
lea ebx, [eax + eax]
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x419b59
cmp dword [ebp - 0x18], ebx
jne 0x419b59
mov dword [ebp - 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x419b83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419ba6
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x38]
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.0045eec1
mov esp, ebp
pop ebp
ret 8
Function at 0x41d3d0
Capabilities:
Create thread

Disassembly:
sub esp, 0xec
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0xe8], eax
xor eax, eax
push ebx
push esi
xor ebx, ebx
push 0xc6
mov dword [esp + 0xd], eax
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov word [esp + 0x1d], ax
mov byte [esp + 0x1f], al
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
lea eax, [esp + 0x2e]
push ebx
push eax
mov esi, ecx
mov byte [esp + 0x14], bl
mov dword [esp + 0x28], ebx
mov word [esp + 0x34], bx
call fcn.00463d60
push str.Chinese_simplified
push ebx
call fcn.004627c0
add esp, 0x14
cmp esi, ebx
jne 0x41d440
xor eax, eax
jmp 0x41d454
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d445
sub eax, edx
sar eax, 1
mov ebx, eax
push esi
mov eax, 0x4ba974
call fcn.00401f30
call fcn.0041da40
push 1
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 8]
push 0x4ba978
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x2c]
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
push ecx
call fcn.00462930
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
lea edx, [esp + 0x28]
push edx
push 1
push 1
lea eax, [esp + 0x28]
push eax
call esi
push 0
push 0
push 1
push 0
mov dword [0x4ba968], eax
call esi
cmp dword [0x4ba968], 0
pop esi
mov dword [0x4ba96c], eax
pop ebx
je 0x41d52c
test eax, eax
je 0x41d52c
push 0
push 0
push 0x4ba960
push 0x41d7b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
test eax, eax
setne cl
mov dword [0x4ba970], eax
mov eax, ecx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0045eec1
add esp, 0xec
ret
mov ecx, dword [esp + 0xe8]
xor ecx, esp
xor eax, eax
call fcn.0045eec1
add esp, 0xec
ret
Function at 0x41da40
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4945a8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [0x4ba974]
push 0
push 0x80
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41db20
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41da9f
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x100000
jb 0x41db20
mov eax, dword [0x4ba974]
add eax, 0xfffffff0
call fcn.00401ec0
add eax, 0x10
mov dword [esp + 0x10], eax
lea esi, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.0041db40
mov esi, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, dword [0x4ba974]
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41db20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x41eae0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
lea eax, [esp + 4]
push eax
xor esi, esi
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41eb3a
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
push eax
mov eax, dword [esp + 0x14]
push str.ProxyEnable
push eax
mov dword [esp + 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41eb3a
mov esi, dword [esp + 0xc]
mov eax, dword [esp + 4]
test eax, eax
je 0x41eb49
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x41eb50
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b7110]
xor eax, esp
mov dword [esp + 0x408], eax
push esi
xor esi, esi
push 0x3ff
lea eax, [esp + 0x11]
push esi
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov byte [esp + 0x18], 0
call fcn.00463d60
add esp, 0xc
lea ecx, [esp + 4]
push ecx
push 1
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x41ebef
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
push esi
push esi
push str.ProxyServer
push ecx
mov dword [esp + 0x20], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x41ebef
lea eax, [esp + 0xc]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x41ebd2
sub eax, edx
push eax
lea edx, [esp + 0x10]
push edx
mov ecx, edi
call fcn.004035b0
mov esi, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x41ebfe
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0045eec1
add esp, 0x40c
ret
Function at 0x41ffd0
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi + 0x14]
xor esi, esi
push eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
xor ebp, ebp
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42017f
mov eax, dword [edi + 0x14]
push ebx
push esi
push 0x80
push 3
push esi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x42018a
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp dword [esp + 0x14], ebp
mov esi, eax
jne 0x42015d
cmp esi, 0x200000
ja 0x42015d
test esi, esi
je 0x42015d
cmp esi, 0xffffffff
je 0x42015d
cmp dword [edi + 0x18], ebp
je 0x4200bd
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045ec2d
mov edi, dword [esp + 0x24]
add esp, 4
test eax, eax
mov dword [edi], eax
je 0x42015d
lea ecx, [esi + esi + 2]
push ecx
push ebp
push eax
call fcn.00463d60
add esp, 0xc
push ebp
push ebp
push 2
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x42015d
mov eax, dword [edi]
push ebp
lea edx, [esp + 0x1c]
push edx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x420151
lea edi, [esi + 1]
push edi
call fcn.0045ec2d
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42015d
push edi
push 0
push ebp
call fcn.00463d60
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
push ecx
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42015d
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
test esi, esi
je 0x42015d
xor ecx, ecx
lea eax, [esi + 2]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045ec2d
mov edi, eax
mov eax, dword [esp + 0x24]
add esp, 4
test edi, edi
mov dword [eax], edi
je 0x42015d
lea ecx, [esi + esi + 2]
push ecx
push 0
push edi
call fcn.00463d60
add esp, 0xc
push esi
push edi
push 0xffffffffffffffff
push ebp
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x42015d
mov dword [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
je 0x420171
push ebp
call fcn.0045ef4b
add esp, 4
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 4
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret 4
pop ebx
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0xc
ret 4
Function at 0x4203a0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x492908
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
xor ebp, ebp
mov ecx, 0x4b994c
mov dword [esp + 0x18], ebp
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
push ebp
push 0x80
push 2
push ebp
push 1
mov dword [esp + 0x40], ebp
mov eax, dword [ebx + 0x14]
push 0x40000000
push eax
mov dword [esp + 0x38], ebp
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42048b
cmp dword [ebx + 0x18], ebp
jne 0x42043a
mov eax, dword [esp + 0x34]
mov ebx, dword [eax]
lea eax, [esp + 0x14]
call fcn.004205f0
mov edi, dword [esp + 0x14]
mov eax, dword [edi - 0xc]
push ebp
lea ecx, [esp + 0x20]
push ecx
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x420478
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebp
lea edx, [esp + 0x24]
push edx
push 2
lea eax, [esp + 0x20]
push eax
push esi
mov byte [esp + 0x28], 0xff
mov byte [esp + 0x29], 0xfe
mov dword [esp + 0x34], ebp
call ebx
test eax, eax
je 0x420484
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
mov ecx, dword [eax - 0xc]
push ebp
lea edx, [esp + 0x20]
push edx
add ecx, ecx
push ecx
push eax
push esi
call ebx
cmp eax, ebp
je 0x420484
mov dword [esp + 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add edi, 0xfffffff0
mov dword [esp + 0x2c], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4204af
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4

Function at 0x4204d0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push eax
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x420542
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 2
jb 0x42053b
push edi
lea ecx, [esp + 0x10]
push ecx
push 2
lea edx, [esp + 0x14]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42053b
cmp byte [esp + 8], 0xff
jne 0x42053b
cmp byte [esp + 9], 0xfe
jne 0x42053b
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 8
ret
Function at 0x420740
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x493100
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b7110]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [0x4b994c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4b994c
xor ebx, ebx
xor ebp, ebp
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x18]
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push eax
mov dword [esp + 0x2c], 0x4a6934
mov dword [esp + 0x30], str.deepscanzhudongfangyu.exe
mov dword [esp + 0x34], str.EfiMon.sys
mov dword [esp + 0x24], str.360SelfProtection
mov dword [esp + 0x28], str.360netmon
call fcn.00420a20
add esp, 8
lea edi, [esp + 0x14]
mov byte [esp + 0x38], 1
call fcn.00401cd0
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4207f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x14]
cmp dword [edi - 0xc], ebx
je 0x420873
xor esi, esi
lea esp, [esp]
mov ebx, dword [esp + esi*4 + 0x24]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040d090
mov eax, dword [eax]
push 0
push eax
call fcn.004602c8
add esp, 0x10
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x420873
add esi, 1
cmp esi, 3
jb 0x420800
xor esi, esi
mov ecx, dword [esp + esi*4 + 0x1c]
push ecx
call fcn.00421a80
add esp, 4
test eax, eax
jne 0x42086e
add esi, 1
cmp esi, 2
jb 0x420853
jmp 0x420873
mov ebp, 1
lea eax, [edi - 0x10]
mov dword [esp + 0x38], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x420897
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret