joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a9560
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4a9568
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4a975a
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4a9770
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404170
lea ecx, [ebp - 0x10]
mov edx, 0x4a9784
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404170
lea ecx, [ebp - 0x14]
mov edx, 0x4a979c
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404170
lea ecx, [ebp - 0x18]
mov edx, 0x4a97b8
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404170
lea ecx, [ebp - 0x1c]
mov edx, 0x4a97d4
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404170
lea ecx, [ebp - 0x24]
mov edx, 0x4a97ec
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004087c8
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ba8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4a9804
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x28]
call fcn.00499f58
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4a9814
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x2c]
call fcn.00499f58
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4a982c
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ba8
inc eax
je 0x4a96fd
lea ecx, [ebp - 0x34]
mov edx, 0x4a982c
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x34]
call fcn.00408b6c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a600
fstp qword [ebp - 0x3c]
wait
call fcn.0040a964
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4a9718
lea ecx, [ebp - 0x40]
mov edx, 0x4a982c
mov eax, esi
call fcn.004a5e20
mov eax, dword [ebp - 0x40]
call fcn.00499f58
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4a983c
mov eax, esi
call fcn.004a5e20
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404170
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9761
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404140
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404140
ret
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004123e4

Function at 0x41695c
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004162ca

Function at 0x416967
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00416505

Function at 0x10005510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x1000551f
pop dword [ebp - 0x44]
mov eax, 0x1000551f
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x35052
push 0
mov eax, 0xf299eb66
sub eax, 0xe298eb22
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x3f68
xor edx, edx
add edx, eax
mov esi, 0x75365933
sub esi, 0x6534c133
add esi, dword [ebp - 0x44]
mov ebx, 0xc412597e
sub ebx, 0x8dbbda1a
mov edi, dword [esi]
mov dword [ebp - 0x18], 0xd74542df
xor edi, ebx
add dword [ebp - 0x24], edx
mov dword [edx], edi
sub dword [ebp - 0x3c], eax
add edx, 0xdb6eaa0b
add edx, 0x249155f9
add esi, 0x5e418503
add esi, 0xa1be7b01
loop 0x10005575
add eax, 0x20e4f520
add eax, 0xdf1bfb53
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x62618561
add ecx, 0xad9e7a9f
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x420af0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x400000], 0x5a4d
jne 0x420b15
mov ecx, dword [0x40003c]
cmp dword [ecx + 0x400000], 0x4550
lea edx, [ecx + 0x400000]
je 0x420b20
ret
cmp word [ecx + 0x400018], 0x10b
jne 0x420b15
push esi
movzx eax, word [ecx + 0x400014]
push ebx
movzx esi, word [ecx + 0x400006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x400000
test esi, esi
je 0x420b68
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x420b5e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x420b6a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x420b50
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4048a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret 0x18

Function at 0x4048d0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop ebp
ret 4
Function at 0x4151a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4220
call fcn.004a76e0
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x4220], ecx
mov ecx, dword [ebp - 0x4220]
add ecx, 0x238
call fcn.0040a780
movzx eax, al
test eax, eax
je 0x415302
xor ecx, ecx
mov word [ebp - 0x4210], cx
push 0x206
push 0
lea edx, [ebp - 0x420e]
push edx
call fcn.00497550
add esp, 0xc
push 0x104
lea eax, [ebp - 0x4210]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov cx, word [0x4bf060]
mov word [ebp - 0x4008], cx
push 0x3ffe
push 0
lea edx, [ebp - 0x4006]
push edx
call fcn.00497550
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x4210]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4214], eax
cmp dword [ebp - 0x4214], 0
je 0x415302
lea edx, [ebp - 0x4008]
push edx
mov eax, dword [ebp - 0x4214]
push eax
push 0
lea ecx, [ebp - 0x4210]
push ecx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x415302
lea edx, [ebp - 0x421c]
push edx
lea eax, [ebp - 0x4218]
push eax
push 0x4bf064
lea ecx, [ebp - 0x4008]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x415302
mov edx, dword [ebp - 0x4218]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4218]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4218]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4218]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x4bf068
mov edx, dword [ebp - 0x4220]
add edx, 0x238
push edx
call fcn.004140a0
add esp, 0x18
mov eax, dword [ebp - 0x4220]
add eax, 0x238
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret

Function at 0x415420
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 4
cmp dword [ebp + 8], 0
je 0x41543f
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x244], 0
jne 0x415454
mov dword [ebp - 4], 3
jmp 0x4154ab
mov ecx, dword [ebp - 8]
call fcn.004155f0
test eax, eax
jne 0x415469
mov dword [ebp - 4], 0
jmp 0x4154ab
mov ecx, dword [ebp - 8]
call fcn.004157e0
test eax, eax
jne 0x41547e
mov dword [ebp - 4], 1
jmp 0x4154ab
mov eax, dword [ebp - 8]
mov dword [eax + 0x240], 1
mov ecx, dword [ebp - 8]
call fcn.00415690
test eax, eax
jne 0x4154a0
mov dword [ebp - 4], 2
jmp 0x4154ab
mov dword [ebp - 4], 5
xor ecx, ecx
jne 0x415430
mov ecx, dword [ebp - 8]
call fcn.00416030
mov ecx, eax
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x415550
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
call fcn.0040a780
movzx eax, al
test eax, eax
jne 0x4155e1
mov ecx, dword [ebp + 0xc]
call fcn.0040a780
movzx ecx, al
test ecx, ecx
je 0x415579
xor eax, eax
jmp 0x4155e3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
call fcn.004154d0
test eax, eax
jne 0x415598
mov eax, 1
jmp 0x4155e3
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x250], eax
mov ecx, dword [ebp + 0xc]
call fcn.0040a8b0
push eax
mov ecx, dword [ebp + 8]
call fcn.0040a8b0
push eax
mov ecx, dword [ebp - 4]
add ecx, 8
call fcn.0043d090
test eax, eax
je 0x4155ce
mov eax, 1
jmp 0x4155e3
mov ecx, dword [ebp + 0xc]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
jmp 0x4155e3
xor eax, eax
mov esp, ebp
pop ebp
ret 0x14

Function at 0x415730
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.004a76e0
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x200c], ecx
xor eax, eax
mov word [ebp - 0x2008], ax
push 0x1ffe
push 0
lea ecx, [ebp - 0x2006]
push ecx
call fcn.00497550
add esp, 0xc
mov ecx, dword [ebp - 0x200c]
add ecx, 0x234
call fcn.0040a8b0
push eax
push 0x1000
lea edx, [ebp - 0x2008]
push edx
push 0x4bf0f4
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [ebp - 0x2008]
push edx
mov ecx, dword [ebp + 0x10]
call fcn.0040a390
mov ecx, dword [ebp + 0x10]
call fcn.0040a780
movzx eax, al
test eax, eax
je 0x4157bf
xor eax, eax
jmp 0x4157c4
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret 0xc

Function at 0x417800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x417809
xor ecx, ecx
jne 0x417809
xor edx, edx
cmp dword [ebp + 0xc], 0
setne dl
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
jne 0x41782a
mov eax, 0xd
jmp 0x417885
xor eax, eax
jne 0x417811
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax*2]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2]
mov dword [ebp - 4], edx
cmp dword [ebp - 0xc], 1
jne 0x41783b
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 7
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esp, ebp
pop ebp
ret 8
Function at 0x417890
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x230], ecx
lea ecx, [ebp - 0x14]
call fcn.00401f10
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax + 4]
or ecx, 0x2001f
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x230]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00417700
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4178fb
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x14]
call fcn.004174f0
mov eax, dword [ebp - 0x224]
jmp 0x41798c
mov dword [ebp - 4], 0x100
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
lea edx, [ebp - 0x220]
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x417961
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00417890
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x417958
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x228], edx
lea ecx, [ebp - 0x14]
call fcn.004174f0
mov eax, dword [ebp - 0x228]
jmp 0x41798c
mov dword [ebp - 4], 0x100
jmp 0x417902
lea ecx, [ebp - 0x14]
call fcn.00417630
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x230]
call fcn.00417570
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x14]
call fcn.004174f0
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret 4
Function at 0x424580
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x6c], ecx
push 0
mov ecx, dword [ebp - 0x6c]
call fcn.0041cbf0
push 0
mov ecx, dword [ebp - 0x6c]
add ecx, 4
call fcn.0041cbf0
push 0
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.0041cbf0
push 0
mov ecx, dword [ebp - 0x6c]
add ecx, 0xc
call fcn.0041cbf0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
lea ecx, [ebp - 0x68]
call fcn.00401d50
push 0x4c0260
push 0x40
lea eax, [ebp - 0x4c]
push eax
call fcn.00402030
mov dword [ebp - 0x68], 0xfffffff4
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x6c]
call fcn.0040ab70
push 0x4c0260
push 0x40
lea edx, [ebp - 0x4c]
push edx
call fcn.00402030
mov dword [ebp - 0x68], 0xfffffff3
mov byte [ebp - 0x53], 1
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 4
call fcn.0040ab70
push 0x4c0260
push 0x40
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00402030
mov dword [ebp - 0x68], 0xfffffff4
lea ecx, [ebp - 0x68]
call fcn.00401d70
mov byte [ebp - 0x53], 1
lea edx, [ebp - 0x68]
push edx
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.0040ab70
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
movzx eax, al
cmp eax, 5
jle 0x424670
mov dword [ebp - 0x70], 0x4bf814
jmp 0x424677
mov dword [ebp - 0x70], 0x4c0260
mov ecx, dword [ebp - 0x70]
push ecx
push 0x40
lea edx, [ebp - 0x4c]
push edx
call fcn.00402030
mov dword [ebp - 0x68], 0xfffffff3
lea ecx, [ebp - 0x68]
call fcn.00401d70
mov byte [ebp - 0x53], 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
add ecx, 0xc
call fcn.0040ab70
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret

Function at 0x424b10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], 0
je 0x424b2e
push 1
mov eax, dword [ebp - 4]
mov ecx, dword [eax - 0x20]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x424b3d
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx - 0x20]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret 4
Function at 0x426a90
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x426acf
xor eax, eax
xor edx, edx
jmp 0x426aed
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x426b50
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426b7b
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
xor eax, eax
jmp 0x426cb7
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocString
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x426bb5
xor eax, eax
jmp 0x426cb7
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
jl 0x426ca8
jg 0x426be8
cmp dword [ebp - 0x10], 0x3200000
jbe 0x426ca8
mov edx, dword [ebp - 0x10]
sub edx, 0x3200000
mov eax, dword [ebp - 0xc]
sbb eax, 0
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x24], eax
push 0x3200000
call fcn.004948d0
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
push 0x3200000
push 0
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00497550
add esp, 0xc
push 0
lea edx, [ebp - 0x2c]
push edx
push 0x3200000
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x426c74
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x426cb7
mov eax, dword [ebp + 0xc]
push eax
push 0x3200000
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0043e770
add esp, 0xc
cmp dword [ebp - 0x28], 0
je 0x426ca8
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.00495979
add esp, 4
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x426e30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x426e58
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
xor eax, eax
jmp 0x426e9f
mov eax, dword [ebp + 8]
push eax
call fcn.00426a90
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jl 0x426e8f
jg 0x426e7b
cmp dword [ebp - 8], 0x3200000
jbe 0x426e8f
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00426b50
add esp, 8
jmp 0x426e9f
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426cc0
add esp, 8
mov esp, ebp
pop ebp
ret

Function at 0x427700
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x4caef0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0x104
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.00497550
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 8], 0x104
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safebox.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x427800
lea ecx, [ebp - 0x218]
push ecx
lea ecx, [ebp - 0x21c]
call fcn.0040a2d0
lea ecx, [ebp - 0x21c]
call fcn.0040a780
movzx edx, al
test edx, edx
je 0x4277a3
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x21c]
call fcn.0040a350
mov eax, dword [ebp - 0x220]
jmp 0x427802
lea ecx, [ebp - 0x21c]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4277d8
mov dword [ebp - 0x224], 1
lea ecx, [ebp - 0x21c]
call fcn.0040a350
mov eax, dword [ebp - 0x224]
jmp 0x427802
mov dword [ebp - 0x228], 0
lea ecx, [ebp - 0x21c]
call fcn.0040a350
mov eax, dword [ebp - 0x228]
jmp 0x427802
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004948e6
mov esp, ebp
pop ebp
ret

Function at 0x427830
Capabilities:
Check if file exists
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427864
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call fcn.00427810
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x427879
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x427ee0
Capabilities:
Check if file exists
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ad180
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4caef0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a8b0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427f3d
mov dword [ebp - 0x28], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x28]
jmp 0x428084
push 0
push 0x3a
lea ecx, [ebp + 8]
call fcn.00434f10
add eax, 1
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.0040a650
mov byte [ebp - 4], 1
push 0x4bdcfc
lea ecx, [ebp - 0x18]
call fcn.00434e10
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x24]
call fcn.0040a290
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a290
mov byte [ebp - 4], 3
push 0xff
push 0xff
lea ecx, [ebp - 0x20]
call fcn.0040a740
push eax
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
push 0xff
push 0xff
lea ecx, [ebp - 0x24]
call fcn.0040a740
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a8b0
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push 0x4bdd00
lea ecx, [ebp - 0x20]
push ecx
call fcn.00435170
add esp, 8
movzx edx, al
test edx, edx
jne 0x428008
push 0x4bdd08
lea eax, [ebp - 0x20]
push eax
call fcn.00435170
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x428047
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x2c]
jmp 0x428084
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
call fcn.0040a350
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
call fcn.0040a350
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0040a350
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0040a350
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret