joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43d2b9
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55d8b2
mov eax, dword fs:[0]
push eax
mov eax, 0x1098
call fcn.005482e0
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x1088], eax
cmp byte [0x5dbef0], bl
jne 0x43d3b9
mov byte [0x5dbef0], 1
mov dword [ebp - 0x1080], ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x3610]
mov ecx, dword [eax]
lea edx, [ebp - 0x1080]
push edx
push eax
call dword [ecx + 0x48]
mov eax, dword [ebp - 0x1080]
mov dword [ebp - 0x1084], ebx
cmp eax, ebx
je 0x43d348
mov ecx, dword [eax]
lea edx, [ebp - 0x1084]
push edx
push 0x57e7c4
push eax
call dword [ecx]
mov dword [ebp - 0x108c], ebx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1084]
cmp eax, ebx
je 0x43d37e
mov ecx, dword [eax]
lea edx, [ebp - 0x108c]
push edx
push 0x583108
push 0x573420
push eax
call dword [ecx + 0xc]
neg eax
sbb al, al
inc al
mov byte [0x5dbef1], al
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x108c]
cmp eax, ebx
je 0x43d392
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x1084]
cmp eax, ebx
je 0x43d3a5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x1080]
cmp eax, ebx
je 0x43d3b9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push 0x1068
lea eax, [ebp - 0x1078]
push ebx
push eax
mov dword [ebp - 0x1090], ebx
mov dword [ebp - 0x107c], ebx
call fcn.00537010
add esp, 0xc
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
xor edx, edx
inc ecx
shr eax, 8
movzx edi, al
mov eax, dword [esi + 0x6710]
cmp eax, ecx
sete dl
mov dword [ebp - 0x106c], edx
cmp eax, ecx
je 0x43d414
cmp edi, ebx
jne 0x43d414
mov dword [ebp - 0x1068], ebx
cmp dword [0x64a638], ebx
jne 0x43d41a
mov dword [ebp - 0x1068], ecx
cmp dword [ebp - 0x1088], ebx
je 0x43d440
push dword [ebp - 0x1088]
lea edi, [ebp - 0x105c]
push 0x57cb68
push 0x824
call fcn.00403d4f
add esp, 0xc
mov eax, dword [esi + 0x6768]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x107c]
push eax
push dword [esi + 4]
mov ecx, esi
call fcn.0041d7a6
mov dword [ebp - 0x10a4], 0x583d70
mov dword [ebp - 0x10a0], ebx
mov dword [ebp - 0x109c], ebx
mov dword [ebp - 0x1098], ebx
mov dword [ebp - 0x1094], ebx
mov dword [ebp - 4], 3
mov eax, dword [ebp - 0x1064]
lea ecx, [ebp - 0x10a4]
call fcn.0044dd54
cmp eax, ebx
je 0x43d4ac
push dword [ebp - 0x1060]
lea edi, [ebp - 0x1090]
push eax
call fcn.00499385
pop ecx
pop ecx
mov esi, dword [ebp - 0x1090]
lea ecx, [ebp - 0x10a4]
call fcn.0044dc6d
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052f7d0
leave
ret 4
Function at 0x43eb48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1050
call fcn.005482e0
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov eax, 0x202
sub ecx, eax
je 0x43ec20
sub ecx, 5
je 0x43eb99
dec ecx
jne 0x43ec69
lea ecx, [edi + 0x671c]
xor ebx, ebx
cmp dword [ecx], ebx
je 0x43ec69
mov dword [ecx], ebx
mov dword [esi + 4], eax
jmp 0x43ec69
xor eax, eax
push 0x1046
mov word [ebp - 0x1050], ax
xor ebx, ebx
lea eax, [ebp - 0x104e]
push ebx
push eax
call fcn.00537010
add esp, 0xc
lea eax, [ebp - 0x1050]
push eax
mov ecx, edi
call fcn.0043e7ff
test eax, eax
je 0x43ec69
cmp word [ebp - 0x1050], bx
je 0x43ec69
lea eax, [ebp - 0x1050]
push eax
call fcn.0049e074
pop ecx
test eax, eax
je 0x43ec00
mov dword [esi + 4], 0x201
mov dword [edi + 0x671c], 1
jmp 0x43ec69
cmp dword [0x5d7888], ebx
jne 0x43ec1b
mov eax, dword [edi]
push 1
lea ecx, [ebp - 0x1050]
push ecx
mov ecx, edi
call dword [eax + 0xd0]
xor eax, eax
inc eax
jmp 0x43ec6b
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x30]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call ebx
push 0x11
mov dword [edi + 0x6718], eax
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 8
test al, al
je 0x43ec69
push esi
mov esi, dword [edi + 0x3610]
call fcn.0049c0da
pop ecx
test eax, eax
jne 0x43ec69
mov dword [edi + 0x6720], 1
call ebx
mov dword [edi + 0x6714], eax
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret
Function at 0x43fbae
Capabilities:
Check if file exists
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
cmp dword [ebp + 8], edi
je 0x43fc73
cmp dword [0x5d788c], edi
je 0x43fc3f
xor eax, eax
push 0x208
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00537010
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.f12F12Chooser.exe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43fc3f
push 5
push edi
push edi
lea eax, [ebp - 0x218]
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esi + 0x6758]
cmp eax, edi
jne 0x43fc5c
mov ebx, dword [esi + 0x3610]
call fcn.0043a97f
mov dword [esi + 0x6758], eax
jmp 0x43fcad
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x10]
mov esi, dword [esi + 0x6758]
mov eax, dword [esi]
push 1
push esi
call dword [eax + 0x10]
jmp 0x43fcad
cmp dword [0x5d78a0], edi
jne 0x43fcad
cmp dword [0x5d78a4], edi
jne 0x43fcad
cmp dword [0x5d78a8], edi
jne 0x43fcad
mov eax, dword [esi + 0x6758]
cmp eax, edi
je 0x43fcad
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x6758]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esi + 0x6758], edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052f7d0
leave
ret 4

Function at 0x44086d
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x214]
push eax
push str.SoftwareMicrosoftInternet_ExplorerDefault_HTML_Editor_shelleditcommand
push 0x80000001
mov dword [ebp - 0x210], 0x104
call esi
test eax, eax
je 0x4408c3
lea eax, [ebp - 0x214]
push eax
push str.InternetShortcut_shelleditcommand
push 0x80000000
call esi
test eax, eax
jne 0x440967
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x577458
push dword [ebp - 0x214]
mov dword [ebp - 0x210], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x210], 0
lea esi, [ebp - 0x20c]
jbe 0x440967
cmp word [ebp - 0x20c], 0x22
jne 0x44091b
lea esi, [ebp - 0x20a]
push 0x22
push esi
call fcn.00532331
pop ecx
pop ecx
test eax, eax
je 0x44092e
xor ecx, ecx
mov word [eax], cx
push str._dde
push esi
call fcn.0053314a
pop ecx
pop ecx
test eax, eax
je 0x440944
xor ecx, ecx
mov word [eax], cx
push 5
push 0
lea eax, [ebx + 0x15a0]
push eax
push esi
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x44096f
push 2
push ebx
call fcn.0044097c
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0052f7d0
leave
ret
Function at 0x44144f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 4
lea eax, [ebp - 4]
push eax
push 4
push str.UseTimerMethod
xor esi, esi
push str.SoftwareMicrosoftInternet_ExplorerNew_Windows
inc esi
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
xor edi, edi
cmp dword [0x5d7870], edi
jne 0x441492
push str.urlmon.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [0x5d7870], eax
push esi
push 9
call fcn.0049e2fc
push esi
push 0xf
call fcn.0049e2fc
push esi
push 0xa
call fcn.0049e2fc
push edi
push 0xd
call fcn.0049e2fc
push edi
push 5
call fcn.0049e2fc
push edi
push 0xc
call fcn.0049e2fc
push edi
push 8
call fcn.0049e2fc
push esi
push 6
call fcn.0049e2fc
add esp, 0x40
call fcn.004997d7
pop edi
pop esi
leave
ret

Function at 0x44231a
Capabilities:
Suspend thread
Terminate thread

Disassembly:
mov eax, dword [esi + 8]
push ebx
xor ebx, ebx
inc ebx
push edi
test eax, eax
je 0x44232d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x442367
push 0x2710
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44235a
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor ebx, ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc], 0
lea edi, [esi + 0x18]
call fcn.0044b63c
pop edi
mov eax, ebx
pop ebx
ret

Function at 0x442586
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov esi, eax
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44259f
push edi
call fcn.00499f7a
pop ecx
mov eax, dword [esi + 8]
push edi
push dword [esi + 0xc]
test eax, eax
je 0x4425b6
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
jmp 0x4425bf
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileSectionW]
cmp dword [esi], 0
mov eax, dword [esi + 4]
jne 0x4425f0
test eax, eax
je 0x4425d2
push eax
call fcn.0052f9c9
pop ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x4425e0
push eax
call fcn.0052f9c9
pop ecx
mov esi, dword [esi + 0xc]
test esi, esi
je 0x442621
push esi
call fcn.0052f9c9
pop ecx
jmp 0x442621
mov edi, dword [sym.imp.KERNEL32.dll_VirtualFree]
push ebx
mov ebx, 0x8000
test eax, eax
je 0x442606
push ebx
push 0
push eax
call edi
mov eax, dword [esi + 8]
test eax, eax
je 0x442613
push ebx
push 0
push eax
call edi
mov esi, dword [esi + 0xc]
test esi, esi
je 0x442620
push ebx
push 0
push esi
call edi
pop ebx
pop edi
xor eax, eax
pop esi
ret
Function at 0x442626
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, eax
lea esi, [edi + 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [edi + 4]
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x442643
sub eax, ecx
sar eax, 1
mov ebx, eax
call fcn.0042a15a
movzx eax, byte [edi + 8]
push esi
push eax
push dword [edi + 0xc]
lea esi, [ebx + ebx]
push dword [edi + 4]
call fcn.0042a185
test eax, eax
je 0x442677
mov dword [ebp - 4], 1
cmp dword [edi], 0
mov edi, dword [edi + 4]
jne 0x44268c
test edi, edi
je 0x44269e
push edi
call fcn.0052f9c9
pop ecx
jmp 0x44269e
test edi, edi
je 0x44269e
push 0x8000
push 0
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4428e5
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x564793
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0xc6400
call fcn.005482e0
mov eax, dword [0x5afee0]
xor eax, esp
mov dword [esp + 0xc63fc], eax
push esi
push edi
mov eax, dword [0x5afee0]
xor eax, esp
push eax
lea eax, [esp + 0xc6410]
mov dword fs:[0], eax
lea eax, [esp + 0x64]
push eax
call fcn.004a7d15
xor esi, esi
lea ecx, [esp + 0x64]
mov dword [esp + 0xc6418], esi
call fcn.004a7e89
push esi
lea eax, [esp + 0x68]
push eax
call fcn.004a8015
test eax, eax
je 0x442a09
xor eax, eax
push 0x40e
mov word [esp + 0xc5ff8], ax
lea eax, [esp + 0xc5ffa]
push esi
push eax
call fcn.00537010
add esp, 0xc
push 2
push str.__type
push dword [0x5d12ac]
lea eax, [esp + 0xc6000]
push str.__pipehandle
push 0x5d8044
push str.__s___s_d__s_d
push 0x207
push eax
call fcn.00532a01
push 0x40
lea eax, [esp + 0x44]
push esi
push eax
call fcn.00537010
xor eax, eax
mov dword [esp + 0x38], esi
lea edi, [esp + 0x3c]
stosd dword es:[edi], eax
add esp, 0x2c
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [esp + 0xc6014]
push eax
push esi
mov dword [esp + 0x44], 0x44
mov dword [esp + 0x70], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x442a09
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0xc]
call esi
or dword [esp + 0xc6418], 0xffffffff
lea eax, [esp + 0x64]
push eax
call fcn.004a7e08
xor eax, eax
mov ecx, dword [esp + 0xc6410]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc63fc]
xor ecx, esp
call fcn.0052f7d0
mov esp, ebp
pop ebp
ret
Function at 0x442bbc
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push edi
xor edi, edi
push edi
call fcn.00443521
pop ecx
cmp dword [ebp + 0xc], edi
je 0x442c3d
cmp dword [ebp + 0x10], edi
je 0x442c3d
cmp dword [ebp + 8], edi
je 0x442be4
push dword [ebp + 8]
lea eax, [esi + 0x28]
push eax
call fcn.004082ed
push ebx
push dword [ebp + 0xc]
mov ebx, 0x57cb68
push ebx
mov edi, 0x103
lea eax, [esi + 0x2c]
push edi
push eax
call fcn.00532a01
push dword [ebp + 0x10]
lea eax, [esi + 0x234]
push ebx
push edi
push eax
call fcn.00532a01
xor edi, edi
push edi
push 4
push esi
push 0x442c8b
push edi
push edi
call fcn.0053364a
add esp, 0x38
mov dword [esi + 0x24], eax
pop ebx
cmp eax, edi
je 0x442c3d
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop ebp
ret 0xc

Function at 0x442ddc
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
mov esi, ecx
call fcn.00537010
add esp, 0xc
add esi, 0x234
mov eax, esi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
test dx, dx
jne 0x442e1b
sub eax, ecx
sar eax, 1
lea ecx, [eax - 1]
mov eax, 0x103
cmp ecx, eax
ja 0x442e49
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x442e3a
sub eax, edx
sar eax, 1
dec eax
push eax
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00533226
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop esi
test eax, eax
je 0x442ea1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442ea1
test al, 0x10
jne 0x442ea1
push 0x80
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052f7d0
leave
ret
Function at 0x442ead
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x40e
mov word [ebp - 0x418], ax
xor esi, esi
lea eax, [ebp - 0x416]
push esi
push eax
call fcn.00537010
push 4
push str.__type
push dword [0x5d12ac]
lea eax, [ebp - 0x418]
push str.__pipehandle
push 0x5d8044
push str.__s___s_d__s_d
push 0x207
push eax
call fcn.00532a01
push 0x40
lea eax, [ebp - 0x46c]
push esi
push eax
call fcn.00537010
xor eax, eax
mov dword [ebp - 0x428], esi
lea edi, [ebp - 0x424]
stosd dword es:[edi], eax
add esp, 0x38
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x470]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
lea eax, [ebp - 0x418]
push eax
push esi
mov dword [ebp - 0x470], 0x44
mov dword [ebp - 0x444], 0x80
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x442f80
push dword [ebp - 0x424]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x428]
call esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0052f7d0
leave
ret

Function at 0x442f91
Capabilities:
Acquire debug privileges
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
lea eax, [esp + 0x10]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
test eax, eax
je 0x442ffa
lea eax, [esp + 0x1c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
push esi
push dword [esp + 0x24]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x3c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [esp + 0x10]
call edi
push esi
push esi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x5d7fec], eax
cmp eax, esi
je 0x443032
lea eax, [esp + 0x14]
push eax
push esi
push 0x5d7fe8
push 0x412774
push esi
push esi
mov dword [esp + 0x2c], esi
call fcn.0053364a
add esp, 0x18
cmp eax, esi
je 0x443032
push eax
call edi
mov ecx, dword [ebp + 8]
call fcn.00442ddc
call fcn.00428f8f
call fcn.00442ead
cmp dword [0x64a708], esi
jne 0x44306e
call fcn.004995e2
test eax, eax
je 0x44306e
call fcn.00499653
test eax, eax
je 0x44306e
mov edx, 0x64a708
mov dword [0x64a708], ebx
call fcn.0044d1e2
call fcn.0043554c
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443083
call fcn.00436132
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x443521
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
call fcn.004435bb
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44358d
cmp dword [ebp + 8], 0
jne 0x443544
mov dword [0x64a724], 1
push esi
call fcn.0044358f
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
cmp dword [0x64a6d8], 0
jne 0x443562
cmp dword [ebp + 8], 0
jne 0x443576
push 1
call fcn.0044358f
push eax
call fcn.004435bb
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 2
call fcn.0044358f
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
call fcn.004435bb
push eax
call esi
pop esi
pop ebp
ret

Function at 0x4435ec
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xa03c
call fcn.005482e0
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
test byte [0x6474d4], 1
push ebx
push esi
push edi
jne 0x443636
mov eax, dword [0x5beb28]
or dword [0x6474d4], 1
mov ecx, 0x5beb28
call dword [eax + 0xc]
add eax, 0x10
push 0x56988d
mov dword [0x6474d0], eax
call fcn.00532bfb
pop ecx
mov esi, 0x6474d0
call fcn.00408209
call fcn.0044358f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x443798
call fcn.0044358f
mov edi, eax
xor esi, esi
cmp edi, esi
je 0x443798
mov dword [ebp - 0xa038], esi
call fcn.0042a15a
lea eax, [ebp - 0xa030]
push eax
lea eax, [ebp - 0xa038]
push eax
push 0xb2
push edi
call fcn.0042a26b
test eax, eax
je 0x443798
push esi
push dword [ebp - 0xa038]
lea eax, [ebp - 0xa02c]
push eax
mov dword [ebp - 0xa02c], esi
call fcn.004a127b
add esp, 0xc
cmp dword [ebp - 0xa02c], esi
je 0x44378c
mov ebx, 0xa000
push ebx
lea eax, [ebp - 0xa028]
push esi
push eax
mov dword [ebp - 0xa030], esi
call fcn.00537010
add esp, 0xc
push 7
pop ecx
xor eax, eax
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
push 0xf
stosw word es:[edi], ax
pop esi
lea eax, [ebp - 0xa03c]
push eax
lea eax, [ebp - 0xa028]
push eax
lea eax, [ebp - 0xa034]
push eax
push 0
jmp 0x44375a
lea eax, [ebp - 0xa028]
push eax
push str._s_r_n
mov ecx, 0x6474d0
call fcn.004443a6
inc dword [ebp - 0xa030]
push ebx
lea eax, [ebp - 0xa028]
push 0
push eax
call fcn.00537010
add esp, 0x14
push 7
xor eax, eax
pop ecx
mov word [ebp - 0x24], ax
lea edi, [ebp - 0x22]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0xa03c]
push eax
lea eax, [ebp - 0xa028]
push eax
lea eax, [ebp - 0xa034]
push eax
push dword [ebp - 0xa030]
mov ecx, dword [ebp - 0xa02c]
lea edx, [ebp - 0x24]
mov dword [ebp - 0xa03c], 0x4fff
mov dword [ebp - 0xa034], esi
call fcn.004a1783
add esp, 0x10
test eax, eax
jne 0x443701
lea eax, [ebp - 0xa02c]
push eax
call fcn.004a158a
pop ecx
push dword [ebp - 0xa038]
call fcn.00530cbd
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x6474d0
pop ebx
call fcn.0052f7d0
leave
ret
Function at 0x4437ac
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x564730
mov eax, dword fs:[0]
push eax
mov eax, 0x1090
call fcn.005482e0
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x1098], eax
cmp eax, esi
je 0x4439f7
call fcn.0044358f
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4439f7
call fcn.0044358f
mov edi, eax
cmp edi, esi
je 0x4439f7
mov dword [ebp - 0x1094], esi
call fcn.0042a15a
lea eax, [ebp - 0x1090]
push eax
lea eax, [ebp - 0x1094]
push eax
push 0xb2
push edi
call fcn.0042a26b
test eax, eax
je 0x4439f7
push 1
push dword [ebp - 0x1094]
lea eax, [ebp - 0x108c]
push eax
mov dword [ebp - 0x108c], esi
call fcn.004a127b
add esp, 0xc
cmp dword [ebp - 0x108c], esi
je 0x4439eb
xor eax, eax
push 0x1048
mov word [ebp - 0x1084], ax
lea eax, [ebp - 0x1082]
push esi
push eax
mov dword [ebp - 0x1090], esi
call fcn.00537010
mov ecx, dword [ebp - 0x108c]
add esp, 0xc
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1084]
push eax
push esi
mov dword [ebp - 0x1088], 0x824
call fcn.004a1627
add esp, 0xc
test eax, eax
je 0x443967
mov ebx, dword [sym.imp.SHLWAPI.dll_StrChrW]
inc dword [ebp - 0x1090]
push 7
xor eax, eax
pop ecx
mov word [ebp - 0x34], ax
lea edi, [ebp - 0x32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x3d
lea eax, [ebp - 0x1084]
push eax
mov dword [ebp - 0x1088], 0x824
call ebx
cmp eax, esi
je 0x44393d
lea ecx, [ebp - 0x1084]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x10
pop ecx
lea eax, [ebp - 0x34]
call fcn.0042a0be
push 0xc
lea eax, [ebp - 0x1084]
push eax
call ebx
cmp eax, esi
je 0x44393d
push dword [ebp - 0x1098]
add eax, 2
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x44393d
mov ecx, dword [ebp - 0x108c]
lea eax, [ebp - 0x34]
push eax
call fcn.004a1b24
pop ecx
mov ecx, dword [ebp - 0x108c]
lea eax, [ebp - 0x1088]
push eax
lea eax, [ebp - 0x1084]
push eax
push dword [ebp - 0x1090]
call fcn.004a1627
add esp, 0xc
test eax, eax
jne 0x4438c2
mov eax, dword [0x5beb28]
mov ecx, 0x5beb28
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1088], eax
lea eax, [ebp - 0x1088]
mov dword [ebp - 4], esi
mov ebx, dword [ebp - 0x108c]
push eax
call fcn.004a19e4
pop ecx
lea eax, [ebp - 0x108c]
push eax
call fcn.004a158a
pop ecx
call fcn.0044358f
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x1088]
mov edi, dword [eax - 0xc]
call fcn.0042a15a
call fcn.0044358f
push eax
push 0xb2
push 1
push esi
lea esi, [ebp - 0x1088]
add edi, edi
call fcn.0040824b
push eax
mov esi, edi
call fcn.0042a185
mov eax, dword [ebp - 0x1088]
add eax, 0xfffffff0
call fcn.00407d09
push dword [ebp - 0x1094]
call fcn.00530cbd
pop ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052f7d0
leave
ret