joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b70
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x64ef64]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
push 0x60bd20
push 0x82
push 0
mov dword [esp + 0x18], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x405c55
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x405c55
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x405c55
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x405c55
push 0x20
call fcn.0041a2ca
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0x405c1b
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [eax], 0xffffffff
mov dword [eax + 0x18], 7
mov dword [eax + 0x14], 0
mov word [eax + 4], cx
mov dword [eax + 0x1c], 1
jmp 0x405c1d
xor eax, eax
mov esi, dword [esp + 0xc]
push eax
lea ecx, [esi + 0x608]
call fcn.00407de0
push ecx
mov ecx, dword [esi + 0x608]
lea eax, [esp + 0x1c]
push eax
call fcn.00414620
lea ecx, [esp + 0x18]
mov esi, dword [eax + 0x10]
call fcn.00405540
test esi, esi
jne 0x405c69
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0xc]
sub esp, 8
mov ecx, dword [esi + 0x608]
call fcn.00414850
push 0
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
push ecx
push ebx
push dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x30], ebx
jne 0x405c4e
mov ecx, dword [esi + 0x608]
call fcn.004148b0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, dword [esp + 0x34]
mov eax, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x406e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x64ef64]
xor eax, esp
mov dword [esp + 0x78], eax
movups xmm0, xmmword [str.A0FDEECE_1860_4525_9AEA_E29AFB8BFE41]
mov ax, word [0x60bf20]
push esi
mov esi, dword [ebp + 8]
movups xmmword [esp + 0x18], xmm0
push 0
movups xmm0, xmmword [0x60bee8]
mov dword [esp + 8], 0
mov word [esp + 0x64], ax
movups xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x76], 0
movups xmm0, xmmword [0x60bef8]
mov word [esp + 0x7a], 0
movups xmmword [esp + 0x3c], xmm0
movups xmm0, xmmword [0x60bf08]
movups xmmword [esp + 0x4c], xmm0
movq xmm0, qword [0x60bf18]
movq qword [esp + 0x5c], xmm0
xorps xmm0, xmm0
movups xmmword [esp + 0x66], xmm0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 8]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x406f39
movzx eax, byte [esp + 0x17]
push eax
movzx eax, byte [esp + 0x1a]
push eax
movzx eax, byte [esp + 0x1d]
push eax
movzx eax, byte [esp + 0x20]
push eax
movzx eax, byte [esp + 0x23]
push eax
movzx eax, byte [esp + 0x26]
push eax
movzx eax, byte [esp + 0x29]
push eax
movzx eax, byte [esp + 0x2c]
push eax
movzx eax, word [esp + 0x2e]
push eax
movzx eax, word [esp + 0x30]
push eax
push dword [esp + 0x30]
lea eax, [esp + 0x44]
push str._08X__04X__04X__02X_02X__02X_02X_02X_02X_02X_02X
push eax
call fcn.00407e70
add esp, 0x34
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [esp + 0x18], ax
je 0x406f6f
lea eax, [esp + 0x18]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406f60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004088c0
mov ecx, dword [esp + 0x7c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret 4
Function at 0x408f70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 8], 1
jle 0x4090a4
push esi
push edi
mov edi, 2
lea esi, [eax + 4]
nop dword [eax]
push 0x60c36c
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x408fcf
mov byte [0x64fb48], 1
jmp 0x409092
push str._autorun
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x408fee
mov byte [0x64fb49], 1
jmp 0x409092
push 0x60c388
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x40900d
mov byte [0x64fb4a], 1
jmp 0x409092
push str._rob
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x409029
mov byte [0x64fb4b], 1
jmp 0x409092
push str._ndi
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x409043
mov byte [0x64fb4c], al
jmp 0x409092
push str._pid
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x40906d
cmp edi, dword [ebp - 8]
jge 0x40906d
push dword [esi + 4]
call fcn.005a1448
add esp, 4
mov dword [0x64fb50], eax
jmp 0x409092
push 0x60c3a8
push dword [esi]
call fcn.0059cbc4
add esp, 8
test eax, eax
jne 0x409092
cmp edi, dword [ebp - 8]
jge 0x409092
push dword [esi + 4]
mov ecx, 0x64fb54
call fcn.00408330
inc edi
add esi, 4
lea eax, [edi - 1]
cmp eax, dword [ebp - 8]
jl 0x408fb0
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x4090c0
Capabilities:
Self delete

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb9b3
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x64fb4a], 0
je 0x409263
lea ecx, [ebp - 0x58]
call fcn.00413a20
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00413950
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x58]
push dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x40]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.005a15e8
add esp, 0xc
test eax, eax
jne 0x409225
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
push eax
push 0x400
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00409320
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push str._c_ping_127.0.0.1__n_10__del__q___s_
push dword [ebp - 0x18]
push eax
call fcn.00409280
add esp, 0x10
lea ecx, [ebp - 0x88]
push 0x60c0f0
call fcn.004089c0
push str.cmd.exe
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.004089c0
push 0
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.00404040
mov eax, dword [ebp - 0x5c]
add esp, 8
cmp eax, 8
jb 0x4091cd
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x4091fc
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00408aa0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x409211
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x40923a
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00408aa0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x409263
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00408aa0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x409530
Capabilities:
Create process memory minidump

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
lea eax, [ebp - 0x210]
mov edi, ecx
push 0
push eax
call fcn.00599690
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
cmp dword [0x65b0d8], 8
mov eax, 0x65b0c4
cmovae eax, dword [0x65b0c4]
push eax
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x409631
cmp esi, 0xffffffff
je 0x409631
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x224], eax
xor ecx, ecx
lea eax, [ebp - 0x218]
mov dword [ebp - 0x220], edi
push eax
push 0
test edi, edi
mov dword [ebp - 0x21c], 0
lea eax, [ebp - 0x224]
mov dword [ebp - 0x218], 0x4094c0
cmove eax, ecx
mov dword [ebp - 0x214], 0
push eax
push 0xdffd
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.dbghelp.dll_MiniDumpWriteDump]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x4110d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x4110f0
push 0xa
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4110f0
xor eax, eax
pop esi
ret 0xc
lea eax, [esi + 8]
mov dword [esi + 4], 0
push eax
push 0
push esi
push 0x411060
push 0
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
pop esi
setne cl
mov eax, ecx
ret 0xc
Function at 0x413850
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x64ef64]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, edx
cmp dword [esi + 0x10], 0
je 0x41392f
cmp dword [esi + 0x14], 8
jb 0x413882
mov eax, dword [esi]
jmp 0x413884
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x41392f
push 3
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004072d0
cmp dword [esp + 0x38], 8
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
xorps xmm0, xmm0
push ecx
lea eax, [esp + 0x2c]
movq qword [esp + 0x18], xmm0
cmovae eax, dword [esp + 0x2c]
push 0
push eax
movq qword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x4138e4
mov dword [ebx], eax
xor esi, esi
mov dword [ebx + 4], eax
mov dword [edi], eax
mov dword [edi + 4], eax
jmp 0x413903
mov eax, dword [esp + 0x10]
mov esi, 1
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x38]
cmp ecx, 8
jb 0x41391b
inc ecx
push ecx
push dword [esp + 0x28]
lea ecx, [esp + 0x2c]
call fcn.00408aa0
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x413950
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.00599690
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x4139b7
push eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], eax
mov word [esi], ax
push 0x60c0f0
jmp 0x413a07
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x210], ax
jne 0x4139e4
xor ecx, ecx
jmp 0x4139ff
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4139f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
push eax
mov ecx, esi
call fcn.004088c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x413ad0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x210], esi
call fcn.00599690
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
js 0x413b63
lea eax, [ebp - 0x214]
push eax
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x413b57
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x210]
push dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x20c], ax
jne 0x413b90
xor ecx, ecx
jmp 0x413baf
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413ba0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x20c]
mov ecx, esi
push eax
call fcn.004088c0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x414070
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, edx
mov dword [ebp - 0x94], 0
mov esi, ecx
mov dword [ebp - 0x88], esi
cmp dword [edi + 0x14], 8
jb 0x4140a3
mov eax, dword [edi]
jmp 0x4140a5
mov eax, edi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x90], eax
test eax, eax
jne 0x4140e4
push eax
mov dword [esi + 0x14], 7
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x60c0f0
mov word [esi], ax
call fcn.004088c0
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
push ebx
push eax
call fcn.0041a301
add esp, 4
mov ebx, eax
cmp dword [edi + 0x14], 8
jb 0x4140f8
mov edi, dword [edi]
push ebx
push dword [ebp - 0x90]
push 0
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41411f
push ebx
call fcn.0041a30a
add esp, 4
push 0x60c0f0
jmp 0x4141c2
lea eax, [ebp - 0x88]
mov dword [ebp - 0x8c], 0
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x88], 0
push eax
push 0x60c0ec
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41410c
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00599690
mov ecx, dword [ebp - 0x8c]
add esp, 0xc
mov edx, dword [ecx + 8]
test edx, edx
jne 0x414189
movzx eax, byte [ecx + 0xc]
push eax
movzx eax, byte [ecx + 0xd]
push eax
movzx eax, byte [ecx + 0xe]
push eax
movzx eax, byte [ecx + 0xf]
jmp 0x41419b
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, dx
push eax
movzx eax, word [ecx + 0xa]
push eax
push str._d._d._d._d
lea eax, [ebp - 0x84]
push 0x14
push eax
call fcn.00409280
add esp, 0x1c
push ebx
call fcn.0041a30a
add esp, 4
lea eax, [ebp - 0x84]
push eax
mov ecx, esi
call fcn.004089c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x4141e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], eax
cmp dword [esi + 0x14], 8
jb 0x414207
mov eax, dword [esi]
jmp 0x414209
mov eax, esi
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
jne 0x414228
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
push edi
push ebx
call fcn.0041a301
add esp, 4
mov edi, eax
cmp dword [esi + 0x14], 8
jb 0x41423c
mov esi, dword [esi]
push edi
push ebx
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x414271
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push 0x60c0ec
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
jne 0x41428d
push edi
call fcn.0041a30a
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 8]
test eax, eax
jne 0x4142a6
movzx eax, word [ecx + 0xe]
mov dword [edx], eax
movzx eax, word [ecx + 0xc]
jmp 0x4142ab
mov dword [edx], eax
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x14]
push edi
mov dword [ecx], eax
call fcn.0041a30a
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.0054af65
mov esp, ebp
pop ebp
ret

Function at 0x4142d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
or esi, 0xffffffff
mov ebx, edx
cmp dword [ecx + 0x14], 8
jb 0x4142ef
mov ecx, dword [ecx]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x414335
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x414321
movzx eax, ax
or eax, 0x80070000
test eax, eax
je 0x414337
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret
mov esi, eax
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push dword [ebp + 8]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x414357
xor eax, eax
jmp 0x414369
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x414369
movzx eax, ax
or eax, 0x80070000
xor ebx, ebx
test eax, eax
sete bl
cmp esi, 0xffffffff
je 0x41437c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.0054af65
mov esp, ebp
pop ebp
ret
Function at 0x414390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc578
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x64ef64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 0x10], 0
jne 0x4143c9
mov eax, 1
jmp 0x41447f
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004084d0
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004148d0
push 0
lea ecx, [ebp - 0x28]
call fcn.004148d0
cmp dword [ebp - 0x14], 8
xorps xmm0, xmm0
movq qword [ebp - 0x38], xmm0
mov eax, 0x614
mov word [ebp - 0x38], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
movups xmmword [ebp - 0x48], xmm0
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x2c], 0
push eax
mov dword [ebp - 0x32], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2e], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ecx, dword [ebp - 0x14]
mov esi, eax
neg esi
sbb esi, esi
cmp ecx, 8
jb 0x41447c
inc ecx
push ecx
push dword [ebp - 0x28]
lea ecx, [ebp - 0x28]
call fcn.00408aa0
lea eax, [esi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0054af65
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bc5a8
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64ef64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
mov dword [ebp - 4], 0
test esi, esi
jns 0x4144db
xor esi, esi
jmp 0x41457d
push 1
push 0
push 0x60f490
lea ecx, [ebp + 8]
call fcn.0040e000
cmp eax, 0xffffffff
jne 0x414530
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
push 0x80
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414529
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x414530
mov esi, 1
jmp 0x41457d
lea ecx, [ebp + 8]
call fcn.00414390
test eax, eax
je 0x414543
mov esi, 1
jmp 0x41457d
push edi
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp + 8]
push eax
call fcn.004084d0
mov edx, edi
lea ecx, [esi - 1]
call fcn.004144a0
add esp, 0x18
mov esi, eax
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x414592
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00408aa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret