joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431980
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476208
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0042c280
test eax, eax
je 0x431a88
lea ecx, [esp + 0xc]
call fcn.00403a70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.0042c280
mov ecx, eax
call fcn.00429960
test eax, eax
je 0x431a6f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x431a6f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x431a6f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00403c70
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x431a51
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x431a6f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4dbef0]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x4ac4d8
call fcn.00403c70
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x431ad0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.0042c280
test eax, eax
je 0x431bbf
mov ecx, edi
call fcn.0042c280
mov ecx, eax
call fcn.00429810
test eax, eax
jne 0x431bbf
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x431bbf
mov eax, dword [0x4dbef0]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x431b32
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.0042c280
mov ecx, eax
call fcn.00429a40
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x431bbf
cmp ebx, eax
jne 0x431bbf
cmp dword [esp + 0x10], eax
jne 0x431ba5
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x4347f0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x476498
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x434829
inc eax
mov dword [esi + 0x10], eax
jmp 0x43493c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43483d
mov eax, 0xffffffc7
jmp 0x43493e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43484e
cmp dword [esi + 8], eax
jne 0x43483d
cmp dword [esi + 8], eax
jne 0x434867
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x434867
mov eax, 0xffffffc7
jmp 0x43493e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x43487b
push eax
mov ecx, ebx
call fcn.00434020
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00403a70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4348ac
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00403a90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00433790
test eax, eax
mov dword [esp + 0x38], eax
je 0x4348df
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ac4d8
call fcn.00403c70
mov eax, dword [esp + 0x38]
jmp 0x43493e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00434650
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x434923
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00434670
mov esi, eax
test esi, esi
jne 0x434953
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00434650
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4348f5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ac4d8
call fcn.00403c70
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4ac4d8
call fcn.00403c70
mov eax, esi
jmp 0x43493e

Function at 0x437a70
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x437ad0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x437ad0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x437ad0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x437ad0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x437b10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x43dc60
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476ac8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0046d87f
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d600
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0046d7ad
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00469f99
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00469f99
push 1
push 0
push 0
mov ecx, esi
call fcn.00469f41
push 1
push 0
push 1
mov ecx, esi
call fcn.00469f41
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046d8f1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43dde0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476ae8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0046d87f
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d600
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0046d7ad
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43dea4
cmp dword [esp + 0x40], 1
jne 0x43dea2
cmp ecx, eax
jge 0x43dea4
mov eax, ecx
cmp eax, 0xc8
jge 0x43deb0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043dc60
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046d8f1
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e620
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476b53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004683b5
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0046db27
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046f07f
test eax, eax
je 0x43e73c
mov ecx, dword [esp + 0x3c]
call fcn.0046db54
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43e700
push edi
mov ecx, esi
call fcn.0046b114
mov ecx, esi
call fcn.0043e8a0
cmp dword [esp + 0x38], 1
jne 0x43e735
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0046b27e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441160
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441193
push esi
call fcn.00444270
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44118c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x441219
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x441202
mov eax, dword [esi + 8]
test eax, eax
je 0x4411b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4411fe
cmp eax, 2
je 0x441202
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4411aa
cmp eax, 3
je 0x4411dd
cmp eax, 1
jne 0x4411aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x4411aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4411aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441240
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x441228
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441240
add esp, 4
pop esi
ret

Function at 0x4691aa
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4691e2
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00467261
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00467239
jmp 0x4691ee
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46a89d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46a8df
call fcn.00470581
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46a8df
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46a8d6
xor eax, eax
jmp 0x46a8e7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046a8ed
pop edi
pop esi
pop ebx
ret 4

Function at 0x470ab1
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x470adf
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x470afd
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00470a17
jmp 0x470afd
mov eax, dword [esi + 0x14]
test eax, eax
je 0x470afd
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00470a17
test edi, edi
mov eax, edi
jne 0x470ae7
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x403d10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
call fcn.00403e70
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x403d3a
xor eax, eax
jmp 0x403ddd
push 0x208
push 0
lea ecx, [ebp - 0x20c]
push ecx
call fcn.004a9b50
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x214], 0
lea eax, [ebp + 0x10]
mov dword [ebp - 0x210], eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x208
lea eax, [ebp - 0x20c]
push eax
call fcn.00404040
mov dword [ebp - 0x21c], eax
push 0
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x20c]
push edx
call fcn.004b5480
add esp, 4
push eax
lea eax, [ebp - 0x20c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret

Function at 0x403e70
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10c], ecx
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
je 0x403e99
jmp 0x403f60
push 0x104
push 0
lea ecx, [ebp - 0x108]
push ecx
call fcn.004a9b50
add esp, 0xc
lea edx, [ebp - 0x108]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x403eca
jmp 0x403f60
push 0x104
push 0
mov eax, dword [ebp - 0x10c]
add eax, 4
push eax
call fcn.004a9b50
add esp, 0xc
mov ecx, dword [ebp - 0x10c]
add ecx, 4
push ecx
push 0
push 0x5309a8
lea edx, [ebp - 0x108]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov eax, dword [ebp - 0x10c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x5309ac
mov ecx, dword [ebp - 0x10c]
add ecx, 4
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRenameExtensionA]
mov edx, dword [ebp - 0x10c]
add edx, 4
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x80
push 4
push 0
push 7
push 0xc01200a0
mov eax, dword [ebp - 0x10c]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ecx, dword [ebp - 0x10c]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret
Function at 0x404330
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2028
call fcn.0047d690
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x404351
xor eax, eax
jmp 0x4043d0
push 0x1e
push 0
lea eax, [ebp - 0x2028]
push eax
call fcn.004a9b50
add esp, 0xc
mov dword [ebp - 0x2008], 0x1000
mov dword [ebp - 0x2024], 3
push 0x2000
push 0
lea ecx, [ebp - 0x2004]
push ecx
call fcn.004a9b50
add esp, 0xc
push 0x1000
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x2004]
push eax
call fcn.004c81b2
add esp, 0xc
lea ecx, [ebp - 0x2004]
mov dword [ebp - 0x2020], ecx
mov edx, 0x614
mov word [ebp - 0x2018], dx
lea eax, [ebp - 0x2028]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret
Function at 0x404960
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404982
mov eax, 1
jmp 0x4049f1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404997
mov eax, 1
jmp 0x4049f1
push 0x80
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x4049bf
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4049bf
mov eax, 1
jmp 0x4049f1
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x4049ef
mov edx, dword [ebp - 4]
and edx, 0x10
je 0x4049ef
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x4049ef
mov eax, 1
jmp 0x4049f1
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x404a00
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404a38
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x530a4c
call fcn.0043c2b0
add esp, 0xc
mov eax, 1
jmp 0x404a9d
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x404a4d
mov eax, 1
jmp 0x404a9d
push 0x80
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x404a8d
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x404a8d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edx, dword [ebp + 8]
push edx
push str.delete__s_failed__error_d
call fcn.0043c2b0
add esp, 0xc
mov eax, 1
jmp 0x404a9d
push 4
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x404ab0
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52059f
mov eax, dword fs:[0]
push eax
sub esp, 0x88c
mov eax, dword [0x572374]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
jne 0x404ae8
xor eax, eax
jmp 0x404c94
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x404af9
xor eax, eax
jmp 0x404c94
mov edx, dword [ebp + 8]
push edx
call fcn.004c7edf
add esp, 4
mov dword [ebp - 0x894], eax
cmp dword [ebp - 0x894], 0x104
jl 0x404b1e
xor eax, eax
jmp 0x404c94
push 0x410
push 0
lea eax, [ebp - 0x420]
push eax
call fcn.004a9b50
add esp, 0xc
push 0x530abc
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x888], eax
cmp dword [ebp - 0x888], 0xffffffff
je 0x404b8e
mov ecx, dword [ebp - 0x888]
and ecx, 1
je 0x404b8e
mov edx, dword [ebp - 0x888]
and edx, 0xfffffffe
mov dword [ebp - 0x888], edx
mov eax, dword [ebp - 0x888]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x884]
call fcn.004053c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x420]
push edx
lea ecx, [ebp - 0x884]
call fcn.00405f30
mov dword [ebp - 0x88c], eax
cmp dword [ebp - 0x88c], 0
je 0x404c5b
lea ecx, [ebp - 0x884]
call fcn.00406750
test eax, eax
je 0x404be7
lea ecx, [ebp - 0x884]
call fcn.00406090
mov dword [ebp - 0x88c], eax
jmp 0x404bb8
lea eax, [ebp - 0x890]
push eax
lea ecx, [ebp - 0x884]
call fcn.004063b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x884]
call fcn.00406730
test eax, eax
je 0x404c22
lea ecx, [ebp - 0x890]
call fcn.00405690
push eax
call fcn.00404ab0
add esp, 4
jmp 0x404c36
lea ecx, [ebp - 0x890]
call fcn.00405690
push eax
call fcn.00404a00
add esp, 4
lea ecx, [ebp - 0x884]
call fcn.00406090
mov dword [ebp - 0x88c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x890]
call fcn.004054b0
jmp 0x404bb8
lea ecx, [ebp - 0x884]
call fcn.00405dd0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404330
add esp, 4
mov dword [ebp - 0x898], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x884]
call fcn.004054e0
mov eax, dword [ebp - 0x898]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d268
mov esp, ebp
pop ebp
ret