joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421170
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c28b
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x55a2d4]
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, dword [ebp + 8]
mov dword [ebp - 0x828], ebx
cmp word [0x55f6b8], 0
jne 0x4212aa
push 0x20219
push str.SOFTWAREQuickSee
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x824]
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
call fcn.0041c9a0
mov edi, dword [ebp - 0x824]
test eax, eax
jne 0x42129f
lea eax, [ebp - 0x814]
mov dword [ebp - 0x814], 0x800
push eax
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 0x818]
push eax
push 0
push 0x51d9a4
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42129f
mov eax, dword [ebp - 0x818]
cmp eax, 1
je 0x42123c
cmp eax, 2
jne 0x42129f
mov eax, dword [ebp - 0x814]
test eax, eax
je 0x421259
test al, 1
jne 0x42129f
shr eax, 1
cmp word [ebp + eax*2 - 0x812], 0
je 0x421262
jmp 0x42129f
xor eax, eax
mov word [ebp - 0x810], ax
mov ecx, 0x55f6b8
lea esi, [ebp - 0x810]
mov edx, 0x3ff
sub esi, ecx
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x421292
movzx eax, word [esi + ecx]
test ax, ax
je 0x421292
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x421274
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
test edi, edi
je 0x4212aa
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x55f6b8
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jg 0x4212fb
mov ecx, 0x55f6b8
mov esi, str.noset
mov edx, 0x3ff
sub esi, ecx
nop word [eax + eax]
lea eax, [edx + 0x7ffffbff]
test eax, eax
je 0x4212ee
movzx eax, word [esi + ecx]
test ax, ax
je 0x4212ee
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x4212d0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
call fcn.00408290
mov ecx, eax
test ecx, ecx
je 0x42136a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0x55f6b8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0040a4c0
test al, al
jne 0x42134c
mov ecx, 0x55f6b8
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421330
sub ecx, edx
sar ecx, 1
push ecx
push 0x55f6b8
mov ecx, ebx
call fcn.0040b6d0
mov eax, ebx
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.00445e3a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ae0
int3
Function at 0x422d60
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x422e61
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422e61
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], 0
push 0
push eax
call fcn.004814e0
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x210]
push eax
push 0xf003f
push 0
push str.SOFTWAREQuickSee_file_pe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x422e55
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
lea eax, [ebp - 0x218]
push esi
xor esi, esi
push esi
push esi
push eax
push esi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
jne 0x422e53
nop dword [eax]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x214], 0x208
push eax
push edi
inc esi
call fcn.00422e70
add esp, 8
lea eax, [ebp - 0x218]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
push dword [ebp - 0x210]
call ebx
test eax, eax
je 0x422e10
pop esi
pop ebx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
Function at 0x423670
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4236c3
push edi
push ebx
call fcn.00432310
mov edi, dword [ebp + 0xc]
push edi
push ebx
push str.call_exe_begin__path__s__cmd__s_
call fcn.00428660
add esp, 0xc
push dword [ebp + 0x18]
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 1
push edi
push ebx
call fcn.00432510
push dword [ebp + 0x14]
push edi
push ebx
push eax
push str.call_exe_return___d___path__s___cmd__s___sync__d_
call fcn.00428660
add esp, 0x14
pop edi
pop ebx
pop ebp
ret

Function at 0x423780
Capabilities:
Check if file exists
Get file attributes
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x420], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push edi
test eax, eax
je 0x423921
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call edi
test eax, eax
je 0x423921
push 0x208
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], 0
push 0
push eax
call fcn.004814e0
add esp, 0xc
mov dword [ebp - 0x41c], 0x208
lea eax, [ebp - 0x418]
push eax
push 0xf003f
push 0
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423915
xor ebx, ebx
lea eax, [ebp - 0x424]
push ebx
push ebx
push eax
push ebx
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x423915
nop dword [eax]
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x41c], 0x208
push 0
push eax
inc ebx
call fcn.004814e0
push dword [ebp - 0x420]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004af7f7
add esp, 0x18
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4238e5
lea eax, [ebp - 0x20c]
push eax
call edi
test eax, eax
je 0x4238e5
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x4238d5
sub esp, 0x28
mov eax, esp
push esi
mov dword [eax + 0x24], 0
lea eax, [ebp - 0x20c]
push eax
call fcn.004263f0
add esp, 0x30
jmp 0x4238e5
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004262b0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
lea eax, [ebp - 0x41c]
push eax
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x423840
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
Function at 0x423f50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c8a2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
mov dword [ebp - 0x228], esi
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
call fcn.004814e0
add esp, 0xc
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x220], 0x104
call fcn.00408290
mov ecx, eax
test ecx, ecx
je 0x42406a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 1
push eax
lea eax, [ebp - 0x224]
push eax
push 0x51d9a4
push str.SOFTWAREQuickSee
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x424020
sub eax, edx
sar eax, 1
je 0x42404e
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040b6d0
mov ecx, esi
call fcn.004267d0
mov ecx, esi
call fcn.004266d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00404ae0
int3
Function at 0x424bd0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c9fb
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0xd8
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0xf0]
push 0
push eax
mov byte [ebp - 0x531], 0
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0xf0]
push eax
push 0x6c
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x53c], eax
cmp eax, 0x6c
jae 0x424cf1
xor esi, esi
test eax, eax
je 0x424cf1
nop
push 0x410
lea eax, [ebp - 0x500]
push 0
push eax
call fcn.004814e0
mov eax, dword [0x5208f0]
add esp, 0xc
mov dword [ebp - 0x18], eax
movzx eax, word [0x5208f4]
mov word [ebp - 0x14], ax
movzx eax, word [ebp + esi*2 - 0xf0]
add esi, 4
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x500]
push 0x207
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x538], esi
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x424ce5
lea esi, [ebp - 0x500]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x424cb1
sub esi, ecx
mov eax, edi
sar esi, 1
cmp dword [edi + 0x14], 8
jb 0x424cca
mov eax, dword [edi]
push esi
lea ecx, [ebp - 0x500]
push ecx
push eax
call fcn.004af85b
add esp, 0xc
test eax, eax
je 0x424d12
mov esi, dword [ebp - 0x538]
cmp esi, dword [ebp - 0x53c]
jb 0x424c50
mov al, byte [ebp - 0x531]
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.00445e3a
mov esp, ebp
pop ebp
ret
xor eax, eax
mov dword [ebp - 0x520], 0
mov word [ebp - 0x530], ax
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x51c], 7
cmp eax, esi
jb 0x424e32
sub eax, esi
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [edi + 0x14], 8
jb 0x424d4d
mov edi, dword [edi]
push ecx
lea eax, [edi + esi*2]
push eax
lea ecx, [ebp - 0x530]
call fcn.0041e890
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424d70
sub ecx, edx
lea eax, [ebp - 0x18]
sar ecx, 1
push ecx
push eax
push 0
lea ecx, [ebp - 0x530]
call fcn.00427120
mov esi, dword [ebp - 0x544]
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x554], xmm0
movups xmmword [ebp - 0x518], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x518]
movq qword [ebp - 0x540], xmm0
movq qword [ebp - 0x508], xmm0
cmp esi, eax
je 0x424e15
mov ecx, esi
call fcn.00426b40
movups xmm0, xmmword [ebp - 0x554]
xor eax, eax
mov dword [ebp - 0x508], 0
mov dword [ebp - 0x504], 7
movups xmmword [esi], xmm0
mov word [ebp - 0x518], ax
movq xmm0, qword [ebp - 0x540]
movq qword [esi + 0x10], xmm0
lea ecx, [ebp - 0x518]
call fcn.0041b600
lea ecx, [ebp - 0x530]
call fcn.0041b600
mov al, 1
jmp 0x424cf7
call fcn.00426cb0
int3
Function at 0x4252b0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cb11
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x55a2d4]
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]
xor eax, eax
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x470], esi
mov dword [ebp - 0x470], edi
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
push 0x410
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x420]
push eax
call fcn.004814e0
add esp, 0xc
test edi, edi
je 0x4254c8
cmp edi, 4
je 0x4254c8
push edi
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4253b7
push 0x207
lea eax, [ebp - 0x420]
push eax
push 0
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4253d4
lea ecx, [ebp - 0x420]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425370
sub ecx, edx
lea eax, [ebp - 0x420]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.0041e890
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x438]
mov ecx, esi
push eax
call fcn.00422960
lea ecx, [ebp - 0x438]
call fcn.0041b600
jmp 0x4254ed
push dword [ebp - 0x470]
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x425479
push 0x207
lea eax, [ebp - 0x420]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x425472
xor eax, eax
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
lea eax, [ebp - 0x420]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x468]
call fcn.004229a0
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.00424bd0
add esp, 8
mov byte [ebp - 0x469], al
lea ecx, [ebp - 0x468]
call fcn.0041b600
cmp byte [ebp - 0x469], 0
je 0x425467
lea eax, [ebp - 0x450]
push eax
lea ecx, [ebp - 0x438]
call fcn.00422d20
lea ecx, [ebp - 0x450]
call fcn.0041b600
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x438]
mov dword [esi + 0x14], 0
xor eax, eax
movups xmmword [esi], xmm0
mov word [ebp - 0x438], ax
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
call fcn.0041b600
jmp 0x4254ed
movups xmm0, xmmword [ebp - 0x438]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [esi + 0x10], xmm0
mov eax, esi
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.00445e3a
mov esp, ebp
pop ebp
ret
Function at 0x425e80
Capabilities:
Check if file exists
Delete file
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cc26
mov eax, dword fs:[0]
push eax
sub esp, 0x464
mov eax, dword [0x55a2d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_Launch
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004814e0
add esp, 0xc
lea eax, [ebp - 0x218]
push str.QuickSee.lnk
push eax
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0xc
xor eax, eax
mov dword [ebp - 0x440], 0
push str.QuickSee.lnk
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.0041e890
xor eax, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
lea edx, [ecx + 2]
mov word [ebp - 0x438], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x425f73
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x438]
call fcn.0041e890
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x438]
push eax
push 0x150b
call fcn.00424e40
mov edx, dword [ebp - 0x424]
add esp, 0xc
cmp edx, 8
jb 0x425ff4
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425fea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4260d3
push edx
push ecx
call fcn.00445a2a
add esp, 8
mov edx, dword [ebp - 0x43c]
xor eax, eax
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], ax
cmp edx, 8
jb 0x426051
mov ecx, dword [ebp - 0x450]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x426047
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4260d8
push edx
push ecx
call fcn.00445a2a
add esp, 8
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4260ba
lea eax, [ebp - 0x420]
mov dword [ebp - 0x456], 0
mov dword [ebp - 0x468], eax
xorps xmm0, xmm0
mov eax, 0x614
movlpd qword [ebp - 0x45e], xmm0
mov word [ebp - 0x460], ax
lea eax, [ebp - 0x470]
push eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 3
mov dword [ebp - 0x464], 0
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00445e3a
mov esp, ebp
pop ebp
ret
call fcn.0048adf6
call fcn.0048adf6
int3
Function at 0x4262b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50cc58
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x55a2d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42632b
test al, 0x10
je 0x42632b
push esi
mov edi, 1
call fcn.00432c80
add esp, 4
test eax, eax
jne 0x42634e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42634e
push esi
test edi, edi
jne 0x426346
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42634e
push esi
push str.DeleteFile:_s_suceesss
call fcn.00428660
add esp, 8
jmp 0x42634e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4262fc
push esi
push str.DeleteFile:_s_suceesss
call fcn.00428660
add esp, 8
jmp 0x42634e
call fcn.00432c80
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4263cf
push esi
lea ecx, [ebp - 0x10]
call fcn.0040a1b0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x42638e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.00407f70
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x42639a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.004225c0
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4263bc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428220
Capabilities:
Check if file exists
Delete file
Get file size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 8
push esi
lea esi, [ecx + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi]
push edi
lea edx, [ecx - 0x10]
lea edi, [eax - 0x10]
cmp edx, edi
je 0x428284
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x428276
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x428276
push edx
call fcn.00407f70
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x42826f
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
jmp 0x428283
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.0040b6d0
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4282ea
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x4282ea
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4282d1
lea eax, [ebp - 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jl 0x4282ea
jg 0x4282e2
cmp dword [ebp - 8], 0x40000000
jbe 0x4282ea
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x429fa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50d2cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x55a2d4]
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, ecx
mov dword [ebp - 0xa48], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0xa4c], esi
test esi, esi
jne 0x429fea
xor eax, eax
jmp 0x42a212
mov ecx, dword [eax + 0x38]
sub ecx, dword [eax + 0x34]
mov eax, 0x14f38f63
imul ecx
push 0x208
sar edx, 7
lea eax, [ebp - 0x420]
mov ebx, edx
push 0
shr ebx, 0x1f
push eax
add ebx, edx
call fcn.004814e0
add esp, 0xc
call fcn.0042baf0
test al, al
lea eax, [ebp - 0x420]
je 0x42a02d
push str.Utils_rundll64.exe
jmp 0x42a032
push str.Utils_rundll.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
test ebx, ebx
jle 0x42a20d
xor edi, edi
mov dword [ebp - 0xa44], edi
nop word [eax + eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.004814e0
mov eax, dword [ebp - 0xa48]
mov ecx, 0x187
push 0x208
push 0
mov esi, dword [eax + 0x34]
lea eax, [ebp - 0x218]
add esi, edi
lea edi, [ebp - 0xa3c]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004814e0
add esp, 0x18
lea eax, [ebp - 0xa3c]
push eax
push dword [ebp - 0xa4c]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42a0d5
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.00428660
add esp, 8
jmp 0x42a1f2
mov eax, dword [0x55f51c]
test al, 1
jne 0x42a114
or eax, 1
mov dword [0x55f51c], eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push 0x519500
mov dword [0x55f510], 0x51d858
mov dword [0x55f514], eax
mov byte [0x55f518], 0
call fcn.00445e25
mov eax, dword [0x55f51c]
add esp, 4
test al, 2
jne 0x42a170
or eax, 2
mov dword [0x55f520], 0x51d870
mov dword [0x55f51c], eax
xor eax, eax
push 0x519530
mov dword [0x55f524], 0x55f510
mov dword [0x55f534], 2
mov dword [0x55f52c], 0
mov dword [0x55f530], 0
mov dword [0x55f538], eax
mov dword [0x55f528], 0x55f520
call fcn.00445e25
add esp, 4
mov eax, dword [0x55f520]
mov ecx, 0x55f520
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xa40], eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa40]
push str.__dll__s____entry_s__s
push eax
call fcn.0040c190
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x420]
push 1
push 0
push esi
push eax
call fcn.00423670
add esp, 0x28
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a1f2
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xa44]
add edi, 0x61c
mov dword [ebp - 0xa44], edi
sub ebx, 1
jne 0x42a050
mov eax, 1
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.00445e3a
mov esp, ebp
pop ebp
ret 8