joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4558e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x535e78
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x589644]
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 0x45595b
test al, 0x10
je 0x45595b
push esi
mov edi, 1
call fcn.00456be0
add esp, 4
test eax, eax
jne 0x45597e
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x45597e
push esi
test edi, edi
jne 0x455976
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45597e
push esi
push str.DeleteFile:_s_suceesss
call fcn.0045cb30
add esp, 8
jmp 0x45597e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45592c
push esi
push str.DeleteFile:_s_suceesss
call fcn.0045cb30
add esp, 8
jmp 0x45597e
call fcn.00456be0
add esp, 4
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4559ff
push esi
lea ecx, [ebp - 0x10]
call fcn.004108d0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov edi, dword [esi + 4]
cmp dword [esi + 8], edi
je 0x4559be
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040c860
add eax, 0x10
add esp, 4
mov dword [edi], eax
add dword [esi + 4], 4
jmp 0x4559ca
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
push edi
call fcn.00450560
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 0x4559ec
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 0x456be0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2024
call fcn.004b8600
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x456c10
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
push 0x2000
xorps xmm0, xmm0
mov dword [ebp - 0x200c], 0
lea eax, [ebp - 0x2004]
movq qword [ebp - 0x2014], xmm0
push 0
movups xmmword [ebp - 0x2024], xmm0
push eax
mov word [ebp - 0x2008], 0
mov dword [ebp - 0x2020], 3
call fcn.004d7bd0
push 0x1000
lea eax, [ebp - 0x2004]
push esi
push eax
call fcn.0050432c
lea eax, [ebp - 0x2004]
add esp, 0x18
mov dword [ebp - 0x201c], eax
mov eax, 0x614
mov word [ebp - 0x2014], ax
lea eax, [ebp - 0x2024]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x456ca0
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x668
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x456eb3
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456eb3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x456cd3
sub ecx, edx
sar ecx, 1
cmp ecx, 3
jbe 0x456eb3
push ebx
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.004d7bd0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.004d7bd0
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x414]
add esp, 0x18
push esi
push eax
call ebx
push str..
lea eax, [ebp - 0x414]
push eax
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x456d54
test al, 1
je 0x456d54
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x668], eax
cmp eax, 0xffffffff
je 0x456e99
lea ecx, [ebp - 0x664]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x456e8d
nop dword [eax]
test byte [ebp - 0x664], 0x10
je 0x456e08
cmp word [ebp - 0x638], 0x2e
jne 0x456dc7
mov ax, word [ebp - 0x636]
test ax, ax
je 0x456e72
cmp ax, 0x2e
jne 0x456dc7
cmp word [ebp - 0x634], 0
je 0x456e72
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.00456ca0
add esp, 4
jmp 0x456e70
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
push esi
push eax
call ebx
lea eax, [ebp - 0x638]
push eax
lea eax, [ebp - 0x20c]
push eax
call ebx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x456e5f
test al, 1
je 0x456e5f
and eax, 0xfffffffe
push eax
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]
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x664]
push eax
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x456d90
push dword [ebp - 0x668]
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
and eax, edi
pop edi
pop ebx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x456ed0
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x456f28
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x456f28
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x456f08
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x456f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x456f23
test al, 0x10
je 0x456f23
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x456f28
xor eax, eax
pop esi
pop ebp
ret
mov eax, 1
pop esi
pop ebp
ret
Function at 0x457220
Capabilities:
Check if file exists
Delete file
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x45724f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.delete__s_failed__error_d
call fcn.0045cb30
add esp, 0xc
mov eax, 1
pop esi
pop ebp
ret
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457247
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x457275
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x457232
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x457290
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536036
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x589644]
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]
test ebx, ebx
jne 0x4572cc
xor eax, eax
jmp 0x4574d2
cmp word [ebx], 0
je 0x4572c5
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4572d7
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
jge 0x4572c5
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x54eed8
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457332
test al, 1
je 0x457332
and eax, 0xfffffffe
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, 0x5c
mov dword [ebp - 0x428], 0
mov word [ebp - 0x42c], ax
mov dword [ebp - 0x424], 0
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x884]
call fcn.00452ad0
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
je 0x457482
cmp dword [ebp - 0x424], 0
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
je 0x4573e1
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x4573e1
cmp word [ebp - 0x858], 0x2e
jne 0x4573e1
mov ax, word [ebp - 0x856]
test ax, ax
je 0x4573bc
cmp ax, 0x2e
jne 0x4573e1
cmp word [ebp - 0x854], 0
jne 0x4573e1
mov eax, dword [ebp - 0x428]
test eax, eax
je 0x4574ee
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
jmp 0x457474
lea eax, [ebp - 0x888]
push eax
lea ecx, [ebp - 0x884]
call fcn.00453040
cmp dword [ebp - 0x424], 0
mov byte [ebp - 4], 1
je 0x45741c
mov eax, dword [ebp - 0x884]
shr eax, 4
and eax, 1
je 0x45741c
mov esi, dword [ebp - 0x888]
push esi
call fcn.00457290
jmp 0x457428
mov esi, dword [ebp - 0x888]
push esi
call fcn.00457220
mov eax, dword [ebp - 0x428]
add esp, 4
test eax, eax
jne 0x457439
xor edi, edi
jmp 0x457458
cmp dword [ebp - 0x424], 0
jne 0x457446
xor edi, edi
jmp 0x457458
lea ecx, [ebp - 0x884]
push ecx
push eax
call edi
mov edi, eax
mov dword [ebp - 0x424], edi
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x457474
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x457379
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x424], 0
test eax, eax
je 0x4574a8
cmp eax, 0xffffffff
je 0x4574a8
push eax
call esi
mov dword [ebp - 0x428], 0
push ebx
call fcn.00456be0
mov eax, dword [ebp - 0x428]
add esp, 4
mov dword [ebp - 0x424], 0
test eax, eax
je 0x4574cd
cmp eax, 0xffffffff
je 0x4574cd
push eax
call esi
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.004b85ea
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x424], 0
jmp 0x4574a8
Function at 0x457bd0
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x54f410]
mov dword [ebp - 0xc], eax
mov eax, dword [0x54f414]
mov dword [ebp - 8], eax
mov ax, word [ebp + 8]
mov word [ebp - 0xc], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x457c39
lea eax, [ebp - 0x14]
xorps xmm0, xmm0
push eax
push 0
push 0
lea eax, [ebp - 0xc]
movlpd qword [ebp - 0x14], xmm0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x457c39
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
xor edx, edx
call fcn.004b85ea
mov esp, ebp
pop ebp
ret

Function at 0x457c50
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4010
call fcn.004b8600
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4004]
push edi
mov edi, dword [ebp + 0xc]
push 0x4000
push 0
push eax
call fcn.004d7bd0
add esp, 0xc
mov dword [ebp - 0x4008], 0
test esi, esi
je 0x457d46
test edi, edi
je 0x457d46
lea eax, [ebp - 0x4008]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x457d46
cmp eax, 0x3fff
ja 0x457d46
lea ecx, [ebp - 0x4004]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x457d46
lea eax, [ebp - 0x4010]
push eax
lea eax, [ebp - 0x400c]
push eax
push 0x547870
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x457d46
mov esi, dword [ebp + 0x10]
lea eax, [esi + esi]
push eax
push 0
push edi
call fcn.004d7bd0
mov ecx, dword [ebp - 0x400c]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [esi - 1]
push eax
push edi
call fcn.00412b40
add esp, 0x28
mov eax, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x459dc0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5366b6
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x589644]
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 esi, dword [ebp + 0xc]
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x459f72
mov edi, dword [ebp - 0x21c]
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], eax
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x459f94
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x220], eax
push dword [esi + 8]
lea eax, [ebp - 0x220]
mov byte [ebp - 4], 1
push dword [esi]
push str._s__s
push eax
call fcn.00413040
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004d7bd0
add esp, 0x1c
mov dword [ebp - 0x21c], 0x208
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push eax
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x459ef7
mov eax, dword [ebp - 0x224]
cmp eax, 1
je 0x459ee5
cmp eax, 2
jne 0x459ef7
cmp dword [ebp - 0x21c], 0
jne 0x459ef7
xor eax, eax
mov word [ebp - 0x218], ax
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.00502591
add esp, 8
test eax, eax
je 0x459f44
test esi, esi
je 0x459f44
mov ecx, esi
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x459f20
sub ecx, edx
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push esi
push 1
push 0
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x459f60
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, 1
test edi, edi
je 0x459f74
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x459f74
xor esi, esi
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.004b85ea
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.00408f30
int3
Function at 0x45b460
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536958
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x589644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp word [0x58ea98], 0
jne 0x45b4a4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x100
push eax
push 0x58ea98
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
call fcn.0040cb80
mov ecx, eax
test ecx, ecx
je 0x45b510
mov eax, dword [ecx]
call dword [eax + 0xc]
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
push 0x58ea98
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00411390
test al, al
jne 0x45b4fc
mov ecx, 0x58ea98
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45b4e0
sub ecx, edx
sar ecx, 1
push ecx
push 0x58ea98
mov ecx, esi
call fcn.00412460
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408f30
int3
Function at 0x45c6d0
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 0x45c734
cmp dword [edi + 0xc], 0
push ebx
lea ebx, [edi + 0xc]
jl 0x45c726
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x45c726
push edx
call fcn.0040c860
add esp, 4
mov dword [ebp + 8], eax
or ecx, 0xffffffff
lock xadd dword [ebx], ecx
dec ecx
test ecx, ecx
jg 0x45c71f
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 0x45c733
push dword [ecx - 0xc]
push ecx
mov ecx, esi
call fcn.00412460
mov eax, dword [esi]
pop ebx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45c79a
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
cmp dword [eax - 0xc], 0
je 0x45c79a
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 0x45c781
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 0x45c79a
jg 0x45c792
cmp dword [ebp - 8], 0x40000000
jbe 0x45c79a
push dword [esi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x45e6e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x536f9b
mov eax, dword fs:[0]
push eax
sub esp, 0xa40
mov eax, dword [0x589644]
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 0x45e72a
xor eax, eax
jmp 0x45e8b9
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.004d7bd0
add esp, 0xc
call fcn.00460050
test eax, eax
lea eax, [ebp - 0x420]
je 0x45e76d
push str.Utils_rundll64.exe
jmp 0x45e772
push str.Utils_rundll.exe
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
call fcn.00475130
add esp, 4
test eax, eax
je 0x45e723
test ebx, ebx
jle 0x45e8b4
xor edi, edi
mov dword [ebp - 0xa44], edi
nop dword [eax]
push 0x61c
lea eax, [ebp - 0xa3c]
push 0
push eax
call fcn.004d7bd0
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.004d7bd0
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 0x45e822
lea eax, [ebp - 0x218]
push eax
push str.file__s__is_not_exist
call fcn.0045cb30
add esp, 8
jmp 0x45e899
lea ecx, [ebp - 0xa40]
call fcn.00439030
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.00413040
push dword [ebp - 0x424]
mov esi, dword [ebp - 0xa40]
lea eax, [ebp - 0x420]
push 1
push 0
push esi
push eax
call fcn.004526b0
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 0x45e899
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 0x45e7a0
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.004b85ea
mov esp, ebp
pop ebp
ret 8
Function at 0x463fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x9c], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x9c]
mov eax, 0x58f058
mov dword [ebp - 0x98], 0x540046
push edi
mov dword [ebp - 0x94], 0x410057
mov edx, 0x4b
mov dword [ebp - 0x90], 0x450052
sub esi, eax
mov dword [ebp - 0x8c], 0x4d005c
mov dword [ebp - 0x88], 0x630069
mov dword [ebp - 0x84], 0x6f0072
mov dword [ebp - 0x80], 0x6f0073
mov dword [ebp - 0x7c], 0x740066
mov dword [ebp - 0x78], 0x57005c
mov dword [ebp - 0x74], 0x6e0069
mov dword [ebp - 0x70], 0x6f0064
mov dword [ebp - 0x6c], 0x730077
mov dword [ebp - 0x68], 0x43005c
mov dword [ebp - 0x64], 0x720075
mov dword [ebp - 0x60], 0x650072
mov dword [ebp - 0x5c], 0x74006e
mov dword [ebp - 0x58], 0x650056
mov dword [ebp - 0x54], 0x730072
mov dword [ebp - 0x50], 0x6f0069
mov dword [ebp - 0x4c], 0x5c006e
mov dword [ebp - 0x48], 0x700041
mov dword [ebp - 0x44], 0x200070
mov dword [ebp - 0x40], 0x610050
mov dword [ebp - 0x3c], 0x680074
mov dword [ebp - 0x38], 0x5c0073
mov dword [ebp - 0x34], 0x360033
mov dword [ebp - 0x30], 0x770030
mov dword [ebp - 0x2c], 0x610070
mov dword [ebp - 0x28], 0x700070
mov dword [ebp - 0x24], 0x65002e
mov dword [ebp - 0x20], 0x650078
mov dword [ebp - 0x1c], 0x66005c
mov dword [ebp - 0x18], 0x6c0069
mov dword [ebp - 0x14], 0x5f0065
mov dword [ebp - 0x10], 0x69006c
mov dword [ebp - 0xc], 0x740073
lea ecx, [edx + 0x7fffffb3]
test ecx, ecx
je 0x464124
movzx ecx, word [esi + eax]
test cx, cx
je 0x464124
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x464106
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret
Function at 0x464af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x589644]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x80], 0x4f0053
push ebx
push esi
mov word [ebp - 8], ax
lea esi, [ebp - 0x80]
mov eax, 0x58f530
mov dword [ebp - 0x7c], 0x540046
push edi
mov dword [ebp - 0x78], 0x410057
mov edx, 0x3d
mov dword [ebp - 0x74], 0x450052
sub esi, eax
mov dword [ebp - 0x70], 0x4d005c
mov dword [ebp - 0x6c], 0x630069
mov dword [ebp - 0x68], 0x6f0072
mov dword [ebp - 0x64], 0x6f0073
mov dword [ebp - 0x60], 0x740066
mov dword [ebp - 0x5c], 0x57005c
mov dword [ebp - 0x58], 0x6e0069
mov dword [ebp - 0x54], 0x6f0064
mov dword [ebp - 0x50], 0x730077
mov dword [ebp - 0x4c], 0x43005c
mov dword [ebp - 0x48], 0x720075
mov dword [ebp - 0x44], 0x650072
mov dword [ebp - 0x40], 0x74006e
mov dword [ebp - 0x3c], 0x650056
mov dword [ebp - 0x38], 0x730072
mov dword [ebp - 0x34], 0x6f0069
mov dword [ebp - 0x30], 0x5c006e
mov dword [ebp - 0x2c], 0x6e0055
mov dword [ebp - 0x28], 0x6e0069
mov dword [ebp - 0x24], 0x740073
mov dword [ebp - 0x20], 0x6c0061
mov dword [ebp - 0x1c], 0x5c006c
mov dword [ebp - 0x18], 0x360033
mov dword [ebp - 0x14], 0x770030
mov dword [ebp - 0x10], 0x610070
mov dword [ebp - 0xc], 0x700070
nop dword [eax]
lea ecx, [edx + 0x7fffffc1]
test ecx, ecx
je 0x464c0e
movzx ecx, word [esi + eax]
test cx, cx
je 0x464c0e
mov word [eax], cx
add eax, 2
sub edx, 1
jne 0x464bf0
test edx, edx
lea ecx, [eax - 2]
pop edi
cmovne ecx, eax
xor eax, eax
pop esi
pop ebx
mov word [ecx], ax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b85ea
mov esp, ebp
pop ebp
ret