joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414af3
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x10f]
mov byte [ebp - 0x110], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 4]
push eax
push 0x4f0950
push 1
push ebx
push 0x4f0940
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x414c31
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x110]
push dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 4]
push dword [esi]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov eax, dword [ebp - 4]
push dword [esi + 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
mov eax, dword [ebp - 4]
push dword [esi + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
push dword [esi + 0x10]
mov eax, dword [ebp - 4]
push dword [esi + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp - 4]
push dword [esi + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 4]
push dword [esi + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov si, word [esi + 0x1c]
cmp si, bx
je 0x414bab
mov eax, dword [ebp - 4]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov ecx, dword [ebp - 0xc]
call fcn.00414c3a
mov eax, dword [ebp - 4]
lea edx, [ebp - 8]
push edx
push 0x4f0960
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x414c28
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x316]
mov word [ebp - 0x318], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x318]
push 0x104
push eax
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x318]
push 1
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414c3a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
xor ebx, ebx
push 0x9c
lea eax, [ebp - 0x9c]
push ebx
push eax
call fcn.004af060
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x9c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x414c9d
mov eax, dword [ebp - 0x8c]
dec eax
dec eax
jne 0x414c9d
cmp dword [ebp - 0x98], 6
jne 0x414c92
cmp dword [ebp - 0x94], 2
jae 0x414c9b
cmp dword [ebp - 0x98], 0xa
jne 0x414c9d
mov bl, 1
mov al, bl
pop ebx
leave
ret
Function at 0x416a2f
Capabilities:
Delete directory
Delete file

Disassembly:
mov eax, 0x4d9610
call fcn.004aef44
sub esp, 0x10
mov eax, dword [0x51f03c]
push ebx
push esi
mov ebx, ecx
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebx + 0x24]
mov byte [ebp - 4], 1
test esi, esi
je 0x416aec
push edi
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x416ae3
lea edi, [eax + 0x24]
mov eax, dword [eax + 0x24]
cmp dword [eax - 8], 0
je 0x416ae3
push str..TFT
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.004c613f
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004c5eaa
push str..FON
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.004c613f
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004c5eaa
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_RemoveFontResourceA]
test eax, eax
je 0x416ae3
push dword [ebp - 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
push dword [ebp - 0x14]
call edi
test esi, esi
jne 0x416a5f
pop edi
push dword [ebx + 0x3c]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x416b1b
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4d9624
call fcn.004aef44
sub esp, 0x10c
mov eax, dword [0x51f03c]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push 1
pop edi
lea eax, [ebp - 0x118]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x118]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c6033
push 0x510870
lea ecx, [ebp - 0x10]
call fcn.004c2c4d
add esi, 0x3c
push edi
push dword [ebp - 0x10]
push str._s_ir_tmpfnt__d
push esi
call fcn.004c2c3a
mov eax, dword [esi]
push 0
push eax
call fcn.004b0b55
add esp, 0x18
test eax, eax
je 0x416ba5
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.004c5c1f
call fcn.0040ca76
test eax, eax
pop ecx
jne 0x416ba8
inc edi
jmp 0x416b6f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x4177a7
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4d97cc
call fcn.004aef44
push ecx
push esi
push edi
mov esi, ecx
and dword [ebp - 4], 0
xor edi, edi
call fcn.00417781
mov eax, dword [ebp + 8]
cmp dword [eax - 8], edi
jne 0x4177cd
push 1
jmp 0x4177f8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4177c9
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00417863
test eax, eax
mov dword [esi + 0x34], eax
jne 0x4177fb
push 2
pop edi
jmp 0x417835
dec eax
je 0x417819
dec eax
jne 0x41783e
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00417931
jmp 0x41782f
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.004179ab
mov edi, eax
test edi, edi
je 0x41783e
mov ecx, esi
call fcn.00417781
jmp 0x417845
mov dword [esi + 0x30], 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4

Function at 0x417ee7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x417f31
lea eax, [ebp - 4]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 4]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x417f31
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
leave
ret

Function at 0x418f0c
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
lea eax, [ebp - 4]
push edi
push eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
cmp eax, edi
je 0x418f6b
mov ecx, dword [ebp - 4]
mov edx, ecx
and edx, 1
mov dword [esi + 0x3c], edx
mov edx, ecx
and edx, 2
mov dword [esi + 0x40], edx
mov edx, ecx
and edx, 4
mov dword [esi + 0x44], edx
mov edx, ecx
and edx, 0x10
mov dword [esi + 0x48], edx
mov edx, ecx
and edx, 0x20
and ecx, 0x40
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], ecx
pop edi
pop esi
leave
ret
Function at 0x41d955
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41e7c9
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
lea eax, [ebp - 0xb0]
push edi
xor esi, esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41e7fe
cmp dword [ebp - 0xa0], 2
je 0x41e806
push 1
pop eax
jmp 0x41e970
cmp dword [ebp - 0xac], 6
jb 0x41e816
mov dword [ebp - 0x1c], 1
and byte [ebp - 0x14], 0
and byte [ebp - 0x13], 0
and byte [ebp - 0x12], 0
and byte [ebp - 0x11], 0
and byte [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 1
push 8
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0xf], 5
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41e881
call edi
cmp eax, 0x3f0
jne 0x41e917
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41e917
mov esi, 0x1000
push esi
call fcn.004af1a1
mov ebx, eax
pop ecx
test ebx, ebx
je 0x41e96d
lea eax, [ebp - 0xc]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push ebx
push 2
push dword [ebp - 8]
call esi
mov dword [ebp - 4], eax
call edi
cmp dword [ebp - 4], 0
jne 0x41e8df
cmp eax, 0x7a
jne 0x41e8df
push dword [ebp - 0xc]
push ebx
call fcn.004b15b0
pop ecx
test eax, eax
pop ecx
je 0x41e917
lea ecx, [ebp - 0xc]
mov ebx, eax
push ecx
push dword [ebp - 0xc]
push eax
push 2
push dword [ebp - 8]
call esi
mov dword [ebp - 4], eax
call edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp dword [ebp - 4], edi
je 0x41e910
lea eax, [ebp - 0x18]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push 0x220
push 0x20
lea eax, [ebp - 0x14]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41e91b
push ebx
call fcn.004af0b8
pop ecx
xor eax, eax
jmp 0x41e970
cmp ebx, edi
mov dword [ebp - 4], edi
je 0x41e94b
cmp dword [ebx], edi
jbe 0x41e94b
lea esi, [ebx + 4]
push dword [esi]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41e942
inc edi
add esi, 8
cmp edi, dword [ebx]
jb 0x41e929
jmp 0x41e949
mov dword [ebp - 4], 1
xor edi, edi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push ebx
call fcn.004af0b8
cmp dword [ebp - 0x1c], edi
pop ecx
je 0x41e96d
cmp dword [ebp - 4], edi
je 0x41e96d
call fcn.0041e975
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41e9d1
Capabilities:
Check os version
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
lea eax, [ebp - 0xb0]
push edi
xor esi, esi
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0xb0], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41ea06
cmp dword [ebp - 0xa0], 2
je 0x41ea0e
push 1
pop eax
jmp 0x41eb80
cmp dword [ebp - 0xac], 6
jb 0x41ea1e
mov dword [ebp - 0x1c], 1
and byte [ebp - 0x14], 0
and byte [ebp - 0x13], 0
and byte [ebp - 0x12], 0
and byte [ebp - 0x11], 0
and byte [ebp - 0x10], 0
lea eax, [ebp - 8]
push eax
push 1
push 8
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18], esi
mov byte [ebp - 0xf], 5
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41ea89
call ebx
cmp eax, 0x3f0
jne 0x41eb23
lea eax, [ebp - 8]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41eb23
mov edi, 0x1000
push edi
call fcn.004af1a1
mov esi, eax
pop ecx
test esi, esi
je 0x41eb7d
lea eax, [ebp - 0xc]
push eax
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push esi
push 2
push dword [ebp - 8]
call edi
mov dword [ebp - 4], eax
call ebx
cmp dword [ebp - 4], 0
jne 0x41eae7
cmp eax, 0x7a
jne 0x41eae7
push dword [ebp - 0xc]
push esi
call fcn.004b15b0
pop ecx
test eax, eax
pop ecx
je 0x41eb23
lea ecx, [ebp - 0xc]
mov esi, eax
push ecx
push dword [ebp - 0xc]
push eax
push 2
push dword [ebp - 8]
call edi
mov dword [ebp - 4], eax
call ebx
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
cmp dword [ebp - 4], ebx
je 0x41eb18
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 0x14]
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x41eb27
cmp esi, ebx
je 0x41eb23
push esi
call fcn.004af0b8
pop ecx
xor eax, eax
jmp 0x41eb80
cmp esi, ebx
mov dword [ebp - 4], ebx
je 0x41eb57
cmp dword [esi], ebx
jbe 0x41eb57
lea edi, [esi + 4]
push dword [edi]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x41eb4e
inc ebx
add edi, 8
cmp ebx, dword [esi]
jb 0x41eb35
jmp 0x41eb55
mov dword [ebp - 4], 1
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
cmp esi, ebx
je 0x41eb6b
push esi
call fcn.004af0b8
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x41eb7d
cmp dword [ebp - 4], ebx
je 0x41eb7d
call fcn.0041eb85
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443c60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4dd31d
call fcn.004aef44
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, dword [esi + 8]
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
je 0x443caf
test ebx, ebx
jne 0x443ca8
push dword [ebp + 8]
mov eax, edi
mov edi, dword [edi]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
push eax
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
jne 0x443ca0
push 1
pop ebx
test edi, edi
jne 0x443c80
test ebx, ebx
je 0x443caf
xor esi, esi
jmp 0x443d8f
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x443cc4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443cd0
mov dword [ebp - 0x10], 1
jmp 0x443d8c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x443ceb
mov dword [ebp - 0x10], 2
jmp 0x443d81
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.irPlg_Action_RegisterActions
push ebx
call edi
push str.irPlg_GetSDKVersion
push ebx
mov dword [ebp - 0x14], eax
call edi
mov ecx, eax
xor edi, edi
cmp ecx, edi
jne 0x443d12
cmp dword [esi + 0x24], 0xffffffff
jne 0x443d17
cmp dword [ebp - 0x14], edi
jne 0x443d20
mov dword [ebp - 0x10], 3
jmp 0x443d81
or eax, 0xffffffff
cmp eax, dword [esi + 0x24]
je 0x443d2f
call ecx
cmp eax, dword [esi + 0x24]
jl 0x443d7a
push dword [esi + 0x20]
call dword [ebp - 0x14]
push edi
push dword [esi + 0x20]
call fcn.00480fc0
push 0xc
call fcn.004c512e
mov ecx, eax
add esp, 0x10
mov dword [ebp - 0x14], ecx
cmp ecx, edi
mov byte [ebp - 4], 1
je 0x443d5c
call fcn.00443b22
mov edi, eax
and byte [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [edi + 4]
call fcn.004c5fe3
push edi
lea ecx, [esi + 4]
mov dword [edi + 8], ebx
call fcn.004c4661
jmp 0x443d8c
mov dword [ebp - 0x10], 4
test ebx, ebx
je 0x443d8c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x444a05
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
mov eax, 0x4dd4e4
call fcn.004aef44
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
push 1
pop ebx
push dword [ebp + 8]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x444b62
test al, 6
je 0x444a44
cmp dword [esi + 0x1c], 0
jne 0x444a44
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
jmp 0x444a66
push 0
push dword [ebp + 0xc]
call fcn.004b0b55
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop ecx
test eax, eax
pop ecx
jne 0x444abf
cmp dword [esi + 0x10], 0
jne 0x444a7e
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
sub dword [esi + 0x50], eax
jmp 0x444b66
push 0x80
push dword [ebp + 0xc]
call edi
test eax, eax
jne 0x444a94
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
jmp 0x444aa7
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x444abf
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
lea eax, [ebp + 8]
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
sub dword [esi + 0x50], eax
jmp 0x444b62
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.00445163
mov dword [esi + 0x5c], eax
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.004c5c1f
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 2
call fcn.004c5c1f
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00444dab
test eax, eax
je 0x444b62
cmp dword [esi + 0x14], 0
je 0x444b66
push 0x80
push dword [ebp + 8]
call edi
test eax, eax
je 0x444b4b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
test eax, eax
mov ecx, esp
jne 0x444b36
mov dword [ebp - 0x18], esp
push str.Failed_to_delete_file_after_copy
jmp 0x444b56
lea eax, [ebp + 8]
mov dword [ebp - 0x18], esp
push eax
call fcn.004c5c1f
mov ecx, esi
call fcn.004451db
jmp 0x444b66
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.Failed_to_set_source_file_attribute_to_normal_durign_move
call fcn.004c5f18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
and dword [ebp - 0x10], 0
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x4451db
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd690
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x44523f
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0x510870
lea ecx, [ebp - 0x14]
call fcn.004c2c4d
push 0x5c
lea ecx, [ebp + 8]
call fcn.004c2892
cmp eax, 0xffffffff
pop esi
je 0x44529f
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0
push dword [ebp - 0x10]
call fcn.004b0b55
pop ecx
test eax, eax
pop ecx
jne 0x44529f
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x44529f
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4460ae
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd8ec
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x446112
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0x510870
lea ecx, [ebp - 0x14]
call fcn.004c2c4d
push 0x5c
lea ecx, [ebp + 8]
call fcn.004c2892
cmp eax, 0xffffffff
pop esi
je 0x446172
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp + 8]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push 0
push dword [ebp - 0x10]
call fcn.004b0b55
pop ecx
test eax, eax
pop ecx
jne 0x446172
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004afa15
pop ecx
test eax, eax
pop ecx
je 0x446172
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4461a4
Capabilities:
Delete directory

Disassembly:
mov eax, 0x4dd920
call fcn.004aef44
sub esp, 0xc
push esi
mov eax, dword [0x51f03c]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
lea esi, [ecx + 4]
push 0x5c
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.004c2892
cmp eax, 0xffffffff
je 0x4461fb
push eax
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.004c281a
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
lea eax, [ebp + 8]
lea ecx, [ebp - 0x10]
push eax
call fcn.004c5fe3
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
call esi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.004c2892
cmp eax, 0xffffffff
je 0x44625d
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.004c281a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004c5fe3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.004c5eaa
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.004af56e
pop ecx
test eax, eax
pop ecx
je 0x446212
push dword [ebp - 0x10]
jmp 0x446210
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.004c5eaa
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004c5eaa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004c5eaa
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 4