joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421b60
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x592884]
xor eax, esp
mov dword [esp + 0x128], eax
push esi
push 0x110
lea eax, [esp + 0x18]
mov esi, ecx
push 0
push eax
call fcn.004f9c00
add esp, 0xc
mov dword [esp + 0x10], 0x114
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x421bde
cmp dword [esp + 0x14], 6
jb 0x421bde
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x207
push eax
push esi
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov ecx, SysReAllocString
call fcn.004219d0
add esp, 0xc
test al, al
je 0x421bde
cmp word [esi], 0
jne 0x421c36
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.http_shellopencommand
mov ecx, SysReAllocString
call fcn.004219d0
add esp, 0xc
test al, al
je 0x421c0a
cmp word [esi], 0
jne 0x421c36
lea eax, [esp + 8]
mov dword [esp + 8], 0x207
push eax
push esi
push 0
mov edx, str.SoftwareClasses.html
mov ecx, SysReAllocString
call fcn.004219d0
add esp, 0xc
test al, al
je 0x421c4b
cmp word [esi], 0
je 0x421c4b
mov al, 1
pop esi
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.004f6f55
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x12c]
xor al, al
pop esi
xor ecx, esp
call fcn.004f6f55
mov esp, ebp
pop ebp
ret
Function at 0x422220
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x283c]
mov eax, 0x283c
call fcn.004f82e0
push 0xffffffffffffffff
push 0x52e4a8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp + 0x2838], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x2000
xor ebx, ebx
lea eax, [ebp + 0x630]
push ebx
push eax
call fcn.004f9c00
add esp, 0xc
mov eax, 0x22
mov word [ebp + 0x630], ax
test esi, esi
je 0x422421
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 1
jl 0x422421
push esi
call edi
cmp eax, 0xffa
jge 0x422421
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp + 0x630]
push eax
call esi
push 0x564abc
lea eax, [ebp + 0x630]
push eax
call esi
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
call fcn.0040e070
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
call fcn.00426490
mov ecx, eax
call fcn.00426550
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0040abd0
test esi, esi
je 0x422421
push 0x564d00
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x422421
lea ecx, [ebp]
call fcn.00421c60
xor edi, edi
lea esi, [ebp]
cmp word [esi], 0
je 0x422346
push 1
push 0
lea eax, [ebp + 0x630]
push eax
push esi
push str.open
push 0
call dword [ebp - 0x10]
cmp eax, 0x20
ja 0x422354
inc edi
add esi, 0x210
cmp edi, 3
jl 0x422325
jmp 0x422376
imul ebx, edi, 0x210
cmp dword [ebp + ebx + 0x208], 0
mov ebx, dword [ebp + ebx + 0x20c]
jne 0x42236e
add ebx, 0x10
test ebx, ebx
jne 0x42241d
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 0x630]
push 1
push 0
push 0
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x422418
mov dword [ebp - 0x14], str._programfiles_x86__Internet_Exploreriexplore.exe
xor esi, esi
mov dword [ebp - 0x10], str._programfiles_Internet_Exploreriexplore.exe
nop dword [eax + eax]
push 0x208
lea eax, [ebp + 0x2630]
push 0
push eax
call fcn.004f9c00
add esp, 0xc
lea eax, [ebp + 0x2630]
push 0x103
push eax
push dword [ebp + esi*4 - 0x14]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp + 0x2630]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42240e
push 1
push 0
lea eax, [ebp + 0x630]
push eax
lea eax, [ebp + 0x2630]
push eax
push str.open
push 0
call edi
cmp eax, 0x20
ja 0x422418
inc esi
cmp esi, 2
jb 0x4223b0
mov eax, ebx
jmp 0x422423
mov ebx, 0x10
mov eax, ebx
jmp 0x422423
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2838]
xor ecx, ebp
call fcn.004f6f55
lea esp, [ebp + 0x283c]
pop ebp
ret
Function at 0x4259f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x592884]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
mov dword [esp + 4], 0x114
push 0x110
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov byte [esi], 0
call fcn.004f9c00
add esp, 0xc
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x425a87
cmp dword [esp + 8], 6
jb 0x425a87
mov byte [esi], 1
mov ecx, dword [esp + 0x118]
pop esi
xor ecx, esp
call fcn.004f6f55
add esp, 0x118
ret

Function at 0x425aa0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52ea00
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x592884]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.wintrust.dll
lea ecx, [ebp - 0x28]
call fcn.0040e070
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00426490
mov ecx, eax
call fcn.00426550
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
push str.crypt32.dll
lea ecx, [ebp - 0x40]
call fcn.0040e070
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00426490
mov ecx, eax
call fcn.00426550
mov esi, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0040abd0
test ebx, ebx
je 0x425bb5
test esi, esi
je 0x425bb5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push ebx
call esi
push str.CryptCATAdminAcquireContext
push ebx
mov dword [edi + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push ebx
mov dword [edi + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push ebx
mov dword [edi + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push ebx
mov dword [edi + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push ebx
mov dword [edi + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push ebx
mov dword [edi + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push ebx
mov dword [edi + 0x1c], eax
call esi
push str.WinVerifyTrust
push ebx
mov dword [edi + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429d60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x592884]
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 edi, ecx
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push 2
push 0xffffffffffffffff
push 0xffff8000
movlpd qword [ebp - 0x3c], xmm0
call fcn.0042fb90
test al, al
jne 0x429dc0
mov eax, 1
jmp 0x429f3d
push 0x10000
call fcn.004f77bd
mov ebx, eax
mov dword [ebp - 0x18], 0
add esp, 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0
push 0x10000
push 0
push ebx
call fcn.004f9c00
mov eax, dword [esi]
add esp, 0xc
mov dword [ebp - 0x1c], 0
test eax, eax
je 0x429f16
test ebx, ebx
je 0x429f16
cmp dword [eax], 0xffffffff
je 0x429f16
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x8000
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x429f16
mov esi, dword [ebp - 0x20]
mov ecx, 0x8000
xor ebx, ebx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], ecx
add esi, ecx
nop word [eax + eax]
cmp byte [edi + 0x9c], 0
jne 0x429f0c
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push edx
lea edx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push edx
push ecx
mov ecx, dword [ebp - 0x34]
lea eax, [esi + ebx]
push eax
call fcn.0043de30
test al, al
je 0x429eff
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x429eb2
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x429ea1
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [edi + 0x9c], 0
jne 0x429f0c
inc dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
jmp 0x429ebc
add ebx, eax
cmp ebx, 0x8000
je 0x429ecc
cmp dword [ebp - 0x28], 0xf
ja 0x429ef5
mov ecx, dword [ebp - 0x2c]
sub ecx, eax
mov dword [ebp - 0x2c], ecx
jne 0x429e50
mov ebx, dword [ebp - 0x20]
mov edx, 0x7ffc
mov ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x429eee
add ecx, 4
add esi, 4
sub edx, 4
jae 0x429ed6
mov esi, 4
jmp 0x429f27
mov esi, 5
jmp 0x429f27
mov ebx, dword [ebp - 0x20]
mov esi, 3
jmp 0x429f27
mov eax, dword [ebp - 0x30]
mov esi, 3
mov ebx, dword [ebp - 0x20]
jmp 0x429f21
mov ebx, dword [ebp - 0x20]
mov esi, 2
jmp 0x429f27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 1
mov dword [edi + 0xb0], eax
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x429f3b
push ebx
call fcn.004f77b8
add esp, 4
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 - 0x14]
xor ecx, ebp
call fcn.004f6f55
mov esp, ebp
pop ebp
ret 0xc
Function at 0x429f60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52f508
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x592884]
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 edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [edi + 0x10]
push eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x40], 0
call fcn.0040e0d0
mov dword [ebp - 4], 0
xor esi, esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 1
push 0x5649e8
lea ecx, [ebp - 0x58]
mov dword [edi + 0xb4], 0
call fcn.0040e1f0
mov byte [ebp - 4], 2
lea eax, [edi + 0x40]
push ecx
mov ecx, dword [ebp - 0x3c]
push eax
lea eax, [edi + 0x58]
push eax
lea eax, [ebp - 0x58]
push eax
push dword [ebp + 0x14]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push eax
push dword [ebx + 4]
call fcn.0043cbc0
mov bl, al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040e1a0
test bl, bl
jne 0x42a023
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x42a0de
mov ebx, dword [ebp - 0x3c]
lea eax, [ebp - 0x14]
push ecx
push eax
push 0x13
mov ecx, ebx
mov dword [ebp - 0x14], 0
call fcn.0043c790
test al, al
jne 0x42a050
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x42a0de
mov eax, dword [ebp - 0x14]
mov dword [edi + 0xb4], eax
cmp eax, 0xc8
je 0x42a0cb
cmp eax, 0xce
je 0x42a0cb
cmp eax, 0x12e
jne 0x42a0ff
mov ecx, 0x400
mov dword [ebp - 0x34], ecx
test esi, esi
jne 0x42a093
push 0x800
call fcn.004f77bd
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov ecx, dword [ebp - 0x34]
add ecx, ecx
push ecx
push 0
push esi
call fcn.004f9c00
add esp, 8
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push esi
push 0x21
call fcn.0043c800
test al, al
je 0x42a0ff
push esi
call fcn.0040e690
add esp, 4
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.0040e3c0
mov ebx, dword [ebp - 0x38]
jmp 0x42a0ef
cmp dword [ebp + 0x14], 0
ja 0x42a0d7
cmp dword [ebp + 0x10], 0
jbe 0x42a103
cmp eax, 0xce
je 0x42a103
mov ebx, dword [ebp - 0x38]
cmp dword [ebx + 4], 0
je 0x42a0ff
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp eax, 3
jb 0x429fc3
xor bl, bl
jmp 0x42a10f
mov dword [edi + 0xb0], 0
mov bl, 1
mov byte [ebp - 4], 0
test esi, esi
je 0x42a120
push esi
call fcn.004f77b8
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040abd0
mov al, bl
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.004f6f55
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42b220
Capabilities:
Check if file exists

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.00433880

Function at 0x42b3a0
Capabilities:
Delete file

Disassembly:
mov ecx, dword [esp + 4]
jmp fcn.00433b30

Function at 0x42b870
Capabilities:
Get common file path

Disassembly:
sub esp, 0x41c
mov eax, dword [0x592884]
xor eax, esp
mov dword [esp + 0x418], eax
push esi
mov esi, ecx
call fcn.00404d50
mov dword [esp + 4], 0
cmp dword [eax + 0x14], 8
mov dword [eax + 0x10], 0
jb 0x42b8a3
mov eax, dword [eax]
lea ecx, [esp + 4]
push ecx
push eax
call fcn.0040e900
push 0x412
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004f9c00
add esp, 0x14
lea eax, [esp + 8]
push eax
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x42b8ee
xor al, al
pop esi
mov ecx, dword [esp + 0x418]
xor ecx, esp
call fcn.004f6f55
add esp, 0x41c
ret
cmp eax, 0x208
jae 0x42b8d6
xor eax, eax
mov word [esp + 0x418], ax
lea eax, [esp + 8]
push eax
call fcn.0040e690
add esp, 4
mov ecx, esi
push eax
lea eax, [esp + 0xc]
push eax
call fcn.0040e3c0
mov ecx, dword [esp + 0x41c]
mov al, 1
pop esi
xor ecx, esp
call fcn.004f6f55
add esp, 0x41c
ret

Function at 0x42caf0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x592884]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push 1
mov esi, ecx
call fcn.004f6f66
mov dword [esi], eax
push 0x118
push 0
mov byte [eax], 0
lea eax, [esp + 0x14]
push eax
call fcn.004f9c00
add esp, 0x10
mov dword [esp + 4], 0x11c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov eax, esi
je 0x42cb4c
cmp dword [esp + 8], 6
mov ecx, dword [esi]
setae dl
mov byte [ecx], dl
mov ecx, dword [esp + 0x120]
pop esi
xor ecx, esp
call fcn.004f6f55
add esp, 0x120
ret
Function at 0x42fa20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0x42fa58
mov edx, dword [esp + 4]
test edx, edx
je 0x42fa58
cmp dword [eax], 0xffffffff
je 0x42fa58
mov eax, dword [esp + 0xc]
push 0
push eax
push dword [esp + 0x10]
mov dword [eax], 0
mov eax, dword [ecx]
push edx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42fa58
mov al, 1
ret 0xc
xor al, al
ret 0xc

Function at 0x42fa60
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx]
push esi
push edi
test eax, eax
je 0x42fa9a
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x42fa9a
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fa9a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
push 0
push esi
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x42fa9a
cmp edi, dword [esi]
jne 0x42fa9a
pop edi
mov al, 1
pop esi
ret 0xc
pop edi
xor al, al
pop esi
ret 0xc

Function at 0x42fb10
Capabilities:
Get file size

Disassembly:
sub esp, 8
mov eax, dword [0x592884]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [ecx]
push esi
push edi
mov edi, dword [esp + 0x14]
test eax, eax
je 0x42fb73
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fb73
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42fb4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42fb73
mov eax, dword [esp + 8]
xor ecx, ecx
add ecx, esi
mov dword [edi], ecx
adc eax, 0
mov dword [edi + 4], eax
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004f6f55
add esp, 8
ret 4
mov ecx, dword [esp + 0xc]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.004f6f55
add esp, 8
ret 4

Function at 0x42fc70
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
je 0x42fd1e
lea eax, [esp + 0x18]
xorps xmm0, xmm0
push eax
push 1
push 0
push 0
movlpd qword [esp + 0x28], xmm0
call fcn.0042fb90
test al, al
je 0x42fd1e
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10]
push eax
push 0
push edi
push dword [ebp + 8]
xorps xmm0, xmm0
mov ecx, esi
movlpd qword [esp + 0x20], xmm0
call fcn.0042fb90
test al, al
je 0x42fd1e
mov eax, dword [ebp + 8]
xor bl, bl
cmp dword [esp + 0x10], eax
jne 0x42fcf4
cmp dword [esp + 0x14], edi
jne 0x42fcf4
mov eax, dword [esi]
test eax, eax
jne 0x42fce1
xor bl, bl
jmp 0x42fcf4
mov eax, dword [eax]
cmp eax, 0xffffffff
je 0x42fcdd
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne bl
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0
push dword [esp + 0x24]
mov ecx, esi
movlpd qword [esp + 0x1c], xmm0
push dword [esp + 0x24]
call fcn.0042fb90
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x432070
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530468
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x592884]
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, ecx
mov edi, dword [ebp + 0x10]
mov ecx, edi
mov esi, dword [ebp + 0xc]
call fcn.0040df80
test al, al
jne 0x4320ca
cmp byte [ebp + 8], al
jne 0x4320d1
mov eax, dword [ebx]
test eax, eax
je 0x432231
cmp byte [eax + 0xa5], 0
je 0x432231
xor al, al
jmp 0x432247
mov ecx, esi
call fcn.0040df80
test al, al
jne 0x432231
push esi
call fcn.00415450
add esp, 4
test al, al
je 0x4320f9
push esi
push edi
call fcn.00431ca0
jmp 0x43222d
push 0xb
mov ecx, esi
call fcn.0040df90
push eax
mov ecx, edi
call fcn.0040df90
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x43211e
mov al, 1
jmp 0x43222d
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x59], 0
call fcn.0040e0b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.00433fe0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x60], ecx
lea ecx, [ebp - 0x40]
call fcn.0040e0b0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00433fe0
test al, al
jne 0x43216b
cmp byte [ebp - 0x60], al
je 0x4321a7
push 0xb
lea ecx, [ebp - 0x40]
call fcn.0040df90
push eax
lea ecx, [ebp - 0x58]
call fcn.0040df90
push eax
call ebx
test eax, eax
je 0x4321a7
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040abd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040abd0
mov al, 1
jmp 0x43222d
mov ecx, esi
call fcn.00433880
cmp eax, 0xffffffff
je 0x432210
push esi
lea ecx, [ebp - 0x28]
call fcn.0040e0d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00433da0
test al, al
je 0x432204
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00433920
test al, al
je 0x432204
mov edx, esi
mov ecx, edi
call fcn.00433920
lea ecx, [ebp - 0x28]
test al, al
je 0x4321fd
call fcn.00433b30
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040abd0
jmp 0x432185
mov edx, esi
call fcn.00433920
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0040abd0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.0040abd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0040abd0
xor al, al
test al, al
jne 0x432245
push edi
call fcn.00415450
add esp, 4
test al, al
je 0x432245
mov ecx, edi
call fcn.00433b30
mov al, 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.004f6f55
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4337d0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ebx, ecx
and esi, 0xffffb1af
push esi
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x433819
mov al, 1
jmp 0x433861
lea ecx, [ebp - 0x28]
call fcn.0040e0b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00433fe0
test al, al
je 0x43384e
push esi
lea ecx, [ebp - 0x28]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x43384e
mov bl, 1
jmp 0x433850
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f6f55
mov esp, ebp
pop ebp
ret

Function at 0x433880
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52d868
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x592884]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4338fe
lea ecx, [ebp - 0x28]
call fcn.0040e0b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
mov ecx, ebx
call fcn.00433fe0
test al, al
je 0x4338ed
lea ecx, [ebp - 0x28]
call fcn.0040df90
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004f6f55
mov esp, ebp
pop ebp
ret
Function at 0x433b30
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x530828
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x592884]
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 esi, ecx
call fcn.0040df90
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x433b76
mov al, 1
jmp 0x433cc8
mov ecx, esi
call fcn.0040df90
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e070
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00433880
mov ebx, eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
cmp ebx, 0xffffffff
jne 0x433bb5
xor al, al
jmp 0x433cc8
mov ecx, esi
call fcn.0040df90
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e070
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0
call fcn.0040df90
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push eax
call ebx
test eax, eax
je 0x433be7
xor bl, bl
jmp 0x433c31
lea ecx, [ebp - 0x40]
call fcn.0040e0b0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00433fe0
test al, al
je 0x433c23
push 0
lea ecx, [ebp - 0x40]
call fcn.0040df90
push eax
call ebx
test eax, eax
je 0x433c23
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040abd0
xor bl, bl
jmp 0x433c31
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040abd0
mov bl, 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
test bl, bl
jne 0x433bae
mov ecx, esi
call fcn.0040df90
push eax
call edi
test eax, eax
jne 0x433b6f
lea ecx, [ebp - 0x28]
call fcn.0040e0b0
mov dword [ebp - 4], 3
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.00433fe0
test al, al
je 0x433c8a
lea ecx, [ebp - 0x28]
call fcn.0040df90
push eax
call edi
test eax, eax
je 0x433c8a
mov bl, 1
jmp 0x433cb7
mov ecx, esi
call fcn.0040df90
push eax
lea ecx, [ebp - 0x40]
call fcn.0040e070
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
mov edx, dword [ebp - 0x44]
call fcn.004337d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.0040abd0
xor bl, bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040abd0
mov al, bl
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.004f6f55
mov esp, ebp
pop ebp
ret