joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ea90
Capabilities:
Check if file exists

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
push edi
mov dword [esi + 0xc18], 0
mov al, 1
jne 0x42eaac
mov al, byte [esp + 0x1c]
cmp byte [esp + 0x20], 0
mov dword [esp + 0x1c], CreateStatusWindowA
je 0x42eac3
mov dword [esp + 0x1c], 0xc0000000
mov ebp, 1
test al, al
je 0x42ead1
mov ebp, 3
xor eax, eax
cmp byte [esi + 0x15], al
setne al
dec eax
and eax, 0x8000000
mov edi, eax
call fcn.0043c9b0
mov ebx, dword [esp + 0x18]
test eax, eax
je 0x42eb12
test ebx, ebx
je 0x42eb12
cmp word [ebx], 0
je 0x42eb12
mov ecx, dword [esp + 0x1c]
push 0
push edi
push 3
push 0
push ebp
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, dword [esp + 0x14]
jmp 0x42eb2a
mov edx, dword [esp + 0x1c]
push 0
push edi
push 3
push 0
push ebp
mov ebp, dword [esp + 0x28]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x42eb46
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x42eb46
mov dword [esi + 0xc18], 1
cmp edi, 0xffffffff
setne al
mov byte [esi + 0x12], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
mov byte [esp + 0x1c], al
test al, al
je 0x42ebb7
mov dword [esi + 4], edi
test ebx, ebx
je 0x42eb79
push ebx
lea eax, [esi + 0x418]
push eax
call fcn.0046d630
jmp 0x42eb82
xor ecx, ecx
mov word [esi + 0x418], cx
lea edx, [esi + 0x17]
test ebp, ebp
je 0x42eb9c
mov eax, ebp
sub edx, ebp
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x42eb90
jmp 0x42eba8
push 0x1000000
push edx
push ebx
call fcn.0046d2f0
mov eax, dword [esi + 4]
push eax
mov ecx, esi
call fcn.0042e6f0
mov al, byte [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10

Function at 0x42ed30
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 1
push edi
mov edi, dword [esp + 0x14]
jne 0x42ed57
cmp edi, 0x4e20
jbe 0x42ed4c
mov edi, 0x4e20
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
mov ebx, dword [esp + 0x10]
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x18]
push eax
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x42edc8
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
je 0x42eda6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 2
je 0x42ed8b
cmp eax, 3
jne 0x42eda6
cmp edi, 0x4e20
jbe 0x42eda6
push 0x4e20
push ebx
mov ecx, esi
call fcn.0042ed30
pop edi
pop esi
pop ebx
ret 8
cmp dword [esi + 0xc], 1
jne 0x42edbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x42edbf
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
pop edi
pop esi
or eax, 0xffffffff
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
ret 8
Function at 0x42f0b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x1c
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, ecx
test ebx, ebx
je 0x42f2b6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x42f0ee
sub eax, 1
je 0x42f0e3
sub eax, 1
jne 0x42f0ee
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push ebp
mov dword [esi + 4], eax
push edi
jmp 0x42f110
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push ebp
push edi
jmp 0x42f110
mov ebx, dword [esp + 0x34]
jmp 0x42f110
cmp dword [esi + 0xc], 0
mov dword [esp + 0x10], 0
je 0x42f164
xor edi, edi
test ebx, ebx
jbe 0x42f189
mov eax, ebx
sub eax, edi
cmp eax, 0x4000
jb 0x42f134
mov eax, 0x4000
mov edx, dword [esp + 0x30]
push 0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 4]
push eax
lea eax, [edi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
je 0x42f189
add edi, 0x4000
cmp edi, ebx
jb 0x42f124
jmp 0x42f181
mov eax, dword [esp + 0x30]
mov ecx, dword [esi + 4]
push 0
lea edx, [esp + 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
sete al
test al, al
jne 0x42f2b0
cmp byte [esi + 0x14], 0
je 0x42f2b0
cmp dword [esi + 0xc], 0
jne 0x42f2b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
mov edi, eax
call fcn.0042e8d0
mov ebx, eax
lea eax, [esi + 0x17]
push eax
mov dword [esp + 0x2c], edx
call fcn.0042f740
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
cmp ebp, eax
mov ebp, dword [esp + 0x34]
jb 0x42f212
ja 0x42f1da
cmp dword [esp + 0x1c], ebp
jbe 0x42f212
mov edi, dword [esp + 0x28]
mov edx, ebx
sub edx, ebp
mov ecx, edi
sbb ecx, eax
test ecx, ecx
jg 0x42f212
jl 0x42f1f1
cmp edx, 0xffffffff
ja 0x42f212
mov ecx, ebp
add ecx, ebx
adc eax, edi
mov dword [esp + 0x18], eax
js 0x42f212
jg 0x42f204
cmp ecx, 0xffffffff
jbe 0x42f212
lea eax, [esi + 0x17]
push eax
mov ecx, 0x4c9364
call fcn.00427e50
push 0
lea edi, [esi + 0x17]
push edi
mov ecx, 0x4c9364
call fcn.00427ea0
test al, al
je 0x42f2a0
mov eax, dword [esp + 0x10]
cmp eax, ebp
jae 0x42f100
test eax, eax
jbe 0x42f100
mov ecx, esi
call fcn.0042e8d0
mov ecx, dword [esp + 0x10]
xor ebx, ebx
sub eax, ecx
mov ecx, dword [esi + 4]
sbb edx, ebx
cmp ecx, 0xffffffff
je 0x42f100
mov ebx, edx
push 0
mov dword [esp + 0x18], edx
lea edx, [esp + 0x18]
push edx
push eax
push ecx
sar ebx, 0x1f
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42f100
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42f100
cmp byte [esi + 0x14], 0
je 0x42f100
push edi
mov ecx, 0x4c9364
call fcn.00427f60
jmp 0x42f100
lea eax, [esi + 0x17]
push eax
push 0
mov ecx, 0x4c9364
call fcn.00428270
pop edi
mov byte [esi + 8], 1
pop ebp
pop esi
pop ebx
add esp, 0x1c
ret 8
Function at 0x42f6c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x404
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x400], eax
mov eax, dword [esp + 0x408]
lea ecx, [esp]
push ecx
push eax
call fcn.0044d450
movsx edx, byte [esp]
neg edx
sbb edx, edx
lea eax, [esp]
and edx, eax
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
je 0x42f71c
cmp eax, 5
je 0x42f71c
xor eax, eax
mov ecx, dword [esp + 0x400]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x404
ret 4
mov ecx, dword [esp + 0x400]
xor ecx, esp
mov eax, 1
call fcn.0049e0c6
add esp, 0x404
ret 4

Function at 0x42f740
Capabilities:
Get disk size

Disassembly:
sub esp, 0x42c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x428], eax
push esi
mov esi, dword [esp + 0x434]
lea eax, [esp + 0x2c]
push eax
push esi
call fcn.0044d450
cmp dword [0x4c7d44], 0
jne 0x42f79d
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x42f790
push str.GetDiskFreeSpaceExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4c7d44], eax
cmp dword [0x4c7d44], 0
je 0x42f81e
push 0x400
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.0044d9f0
lea edx, [esp + 0x1c]
push edx
movsx edx, byte [esp + 0x30]
lea eax, [esp + 0x28]
push eax
neg edx
lea ecx, [esp + 0xc]
sbb edx, edx
lea eax, [esp + 0x34]
push ecx
and edx, eax
push edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
call dword [0x4c7d44]
test eax, eax
je 0x42f81e
mov eax, dword [esp + 8]
cmp eax, dword [esp + 0x20]
ja 0x42f81e
push 1
push 0
push 0
push eax
call fcn.0049ec80
mov ecx, dword [esp + 4]
xor esi, esi
add eax, ecx
adc edx, esi
pop esi
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x42c
ret 4
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
movsx eax, byte [esp + 0x34]
lea ecx, [esp + 0x14]
push ecx
neg eax
lea edx, [esp + 0x20]
sbb eax, eax
lea ecx, [esp + 0x38]
push edx
and eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x42f86b
mov eax, 0x163e00
xor edx, edx
pop esi
mov ecx, dword [esp + 0x428]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x42c
ret 4
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x42c]
mul dword [esp + 0x10]
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0x42c
ret 4

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

Disassembly:
call fcn.0043c9b0
test eax, eax
je 0x42f8bb
mov eax, dword [esp + 8]
test eax, eax
je 0x42f8bb
cmp word [eax], 0
je 0x42f8bb
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret 8
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
ret 8

Function at 0x42f940
Capabilities:
Get file attributes

Disassembly:
call fcn.0043c9b0
test eax, eax
je 0x42f961
mov eax, dword [esp + 8]
test eax, eax
je 0x42f961
cmp word [eax], 0
je 0x42f961
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
ret 8
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret 8
Function at 0x42f970
Capabilities:
Set file attributes

Disassembly:
call fcn.0043c9b0
test eax, eax
je 0x42f99b
mov eax, dword [esp + 8]
test eax, eax
je 0x42f99b
cmp word [eax], 0
je 0x42f99b
mov ecx, dword [esp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret 0xc
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret 0xc

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

Disassembly:
push ebx
push edi
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
jmp 0x42fb20
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fb20
sub eax, edx
mov ebx, eax
cmp ebx, 6
ja 0x42fb37
pop edi
xor eax, eax
pop ebx
ret 4
push ebp
push esi
call fcn.0049ef7d
mov ebp, eax
lea eax, [ebx + edi - 6]
xor esi, esi
mov dword [esp + 0x14], eax
lea ebx, [ebx + edi - 4]
mov edi, edi
lea eax, [esi + ebp]
cdq
mov ecx, 0xf4240
idiv ecx
push edx
mov edx, dword [esp + 0x18]
push str._06u
push edx
call fcn.0049e0d5
add esp, 0xc
mov byte [ebx], 0x2e
call fcn.0043c9b0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42fb8d
cmp esi, 0x3e8
je 0x42fb96
inc esi
jmp 0x42fb50
pop esi
pop ebp
mov eax, edi
pop edi
pop ebx
ret 4
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
ret 4

Function at 0x42fba0
Capabilities:
Move file

Disassembly:
mov eax, 0x1004
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1000], eax
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
mov ebp, dword [esp + 0x1018]
push esi
mov esi, dword [esp + 0x1018]
push edi
mov edi, dword [esp + 0x1024]
call fcn.0043c9b0
test eax, eax
je 0x42fc1a
test esi, esi
je 0x42fbeb
cmp word [esi], 0
jne 0x42fbf5
test edi, edi
je 0x42fc1a
cmp word [edi], 0
je 0x42fc1a
lea eax, [esp + 0x10]
push eax
push edi
push ebp
call fcn.0044d4f0
push eax
lea ecx, [esp + 0x814]
push ecx
push esi
push ebx
call fcn.0044d4f0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x42fc22
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov ecx, dword [esp + 0x1010]
pop edi
pop esi
test eax, eax
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1004
ret 0x10
Function at 0x42fe20
Capabilities:
Delete file

Disassembly:
sub esp, 0xc2c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc28], eax
push esi
mov esi, dword [esp + 0xc38]
push edi
mov edi, dword [esp + 0xc38]
call fcn.0043c9b0
test eax, eax
je 0x42fe8b
test esi, esi
je 0x42fe8b
cmp word [esi], 0
je 0x42fe8b
lea eax, [esp + 0x42c]
push eax
push esi
call fcn.0042fa50
lea ecx, [esp + 0x42c]
push ecx
call fcn.0046d610
xor edx, edx
mov word [esp + eax*2 + 0x42e], dx
lea eax, [esp + 0x42c]
push eax
call fcn.0042fda0
jmp 0x42fefa
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.0042f9c0
lea eax, [esp + 0x28]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x42fea0
sub eax, edx
mov byte [esp + eax + 0x29], cl
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
lea ecx, [esp + 8]
mov edx, 0x54
lea eax, [esp + 0x28]
push ecx
mov dword [esp + 0x10], 3
mov word [esp + 0x1c], dx
mov dword [esp + 0x14], eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [esp + 0xc30]
pop edi
pop esi
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc2c
ret 8

Function at 0x42ff90
Capabilities:
Delete directory

Disassembly:
sub esp, 0xc24
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0xc20], eax
push ebx
push ebp
mov ebp, dword [esp + 0xc30]
push esi
push edi
mov edi, dword [esp + 0xc3c]
push ebp
lea ebx, [esp + 0x420]
lea esi, [esp + 0x14]
call fcn.0042ff20
test al, al
je 0x42fff1
call fcn.0043c9b0
test eax, eax
je 0x42ffea
cmp word [esp + 0x41c], 0
je 0x42ffea
mov eax, ebx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x430014
lea ecx, [esp + 0x10]
push ecx
jmp 0x43000e
call fcn.0043c9b0
test eax, eax
je 0x43000d
test edi, edi
je 0x43000d
cmp word [edi], 0
je 0x43000d
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x430014
push ebp
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [esp + 0xc30]
pop edi
pop esi
test eax, eax
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0xc24
ret 8

Function at 0x430130
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
push edi
call fcn.0043c9b0
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x430158
test esi, esi
je 0x430158
cmp word [esi], 0
je 0x430158
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x430161
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x43017f
cmp byte [esp + 0x14], 0
je 0x430178
mov eax, dword [esp + 0x18]
push eax
push esi
push edi
call fcn.0042f970
pop edi
xor eax, eax
pop esi
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x430194
cmp eax, 3
mov eax, 1
jne 0x430199
mov eax, 2
pop edi
pop esi
ret 0x10
Function at 0x4303f0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x830
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x82c], eax
mov eax, dword [esp + 0x844]
push ebx
mov ebx, dword [esp + 0x844]
push ebp
mov ebp, dword [esp + 0x83c]
push esi
mov esi, dword [esp + 0x848]
push edi
mov edi, dword [esp + 0x848]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], eax
call fcn.0043c9b0
test eax, eax
je 0x430589
test esi, esi
je 0x430452
cmp dword [esi], 0
mov byte [esp + 0x12], 1
jne 0x430457
mov byte [esp + 0x12], 0
test ebx, ebx
je 0x430465
cmp dword [ebx], 0
mov byte [esp + 0x11], 1
jne 0x43046a
mov byte [esp + 0x11], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43047c
cmp dword [eax], 0
mov byte [esp + 0x13], 1
jne 0x430481
mov byte [esp + 0x13], 0
call fcn.0043c9b0
test eax, eax
je 0x4304a1
test edi, edi
je 0x4304a1
cmp word [edi], 0
je 0x4304a1
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [esp + 0x14], eax
jmp 0x4304ac
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x4305a4
test al, 1
je 0x4305a4
push 0
push edi
push ebp
mov bl, 1
call fcn.0042f970
lea ecx, [esp + 0x3c]
push ecx
push edi
push ebp
call fcn.0044d4f0
push 0
push 0x2000000
push 3
push 0
push 3
push 0x40000000
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x430589
cmp byte [esp + 0x12], 0
je 0x430511
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x34]
push eax
call fcn.00467960
cmp byte [esp + 0x11], 0
je 0x430526
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
call fcn.00467960
cmp byte [esp + 0x13], 0
je 0x43053b
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
push edx
call fcn.00467960
movzx eax, byte [esp + 0x12]
movzx edx, byte [esp + 0x13]
neg eax
sbb eax, eax
lea ecx, [esp + 0x34]
and eax, ecx
movzx ecx, byte [esp + 0x11]
neg edx
push eax
sbb edx, edx
lea eax, [esp + 0x28]
and edx, eax
push edx
neg ecx
sbb ecx, ecx
lea edx, [esp + 0x34]
and ecx, edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x430589
mov eax, dword [esp + 0x14]
push eax
push edi
push ebp
call fcn.0042f970
mov ecx, dword [esp + 0x83c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0049e0c6
add esp, 0x830
ret 0x14
xor bl, bl
jmp 0x4304c8
Function at 0x4305b0
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ae35b
mov eax, dword fs:[0]
push eax
mov eax, 0x1cac
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x1ca8], eax
push ebx
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1cbc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1cd0]
mov edi, dword [esp + 0x1ccc]
push esi
push edi
call fcn.0044d2f0
test al, al
je 0x430680
lea ecx, [esp + 0x10]
call fcn.00432c50
mov dword [esp + 0x1cc4], 0
push edi
lea ecx, [esp + 0x14]
call fcn.00432c90
push esi
lea ecx, [esp + 0x14]
call fcn.00432ce0
lea ecx, [esp + 0x182c]
call fcn.00467be0
lea ecx, [esp + 0x1850]
call fcn.00467be0
lea ecx, [esp + 0x1874]
call fcn.00467be0
push 0
lea eax, [esp + 0xc1c]
push eax
lea ecx, [esp + 0x18]
call fcn.004330f0
mov bl, al
mov dword [esp + 0x1cc4], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.00432c70
mov al, bl
jmp 0x4306a9
call fcn.0043c9b0
test eax, eax
je 0x43069c
test esi, esi
je 0x43069c
cmp word [esi], 0
je 0x43069c
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jmp 0x4306a3
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne al
mov ecx, dword [esp + 0x1cbc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1ca8]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x1cb8
ret 8

Function at 0x4306e0
Capabilities:
Set file attributes

Disassembly:
call fcn.0043c9b0
test eax, eax
je 0x430709
mov eax, dword [esp + 8]
test eax, eax
je 0x430709
cmp word [eax], 0
je 0x430709
mov dword [esp + 8], 0
mov dword [esp + 4], eax
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [esp + 8], 0
jmp dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
Function at 0x430720
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4ae3a6
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x630], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x648]
mov dword fs:[0], eax
mov esi, dword [esp + 0x658]
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x18], esi
call fcn.0045d9a0
xor ebp, ebp
mov dword [esp + 0x650], ebp
mov edi, 0x10000
push edi
call fcn.0049e19f
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
jne 0x430799
mov ecx, 0x4c9364
call fcn.004281d0
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x650], 1
mov ecx, esi
xor edi, edi
or ebx, 0xffffffff
call fcn.0042e9a0
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
cmp dword [0x4db83c], edi
je 0x4307e9
lea eax, [esp + 0x44]
push eax
call fcn.0047f290
mov edx, dword [0x4db83c]
push 0x200
lea ecx, [esp + 0x448]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push 0
mov ecx, esi
call fcn.0042efe0
jmp 0x430804
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x65c]
cmp eax, 0x7fffffff
jne 0x43081b
cmp dword [esp + 0x660], eax
je 0x43082e
cmp dword [esp + 0x660], 0
jl 0x430833
jg 0x43082e
cmp eax, 0x10000
jbe 0x430833
mov eax, 0x10000
push eax
mov eax, dword [esp + 0x24]
push eax
mov ecx, esi
call fcn.0042f2c0
mov esi, eax
test esi, esi
je 0x4308f3
add edi, 1
adc ebp, 0
mov eax, edi
and eax, 0xf
xor ecx, ecx
or eax, ecx
jne 0x4308b4
cmp dword [0x4db83c], eax
je 0x4308af
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push 0x10000
push ebp
push edi
call fcn.0049ec80
push edx
push eax
call fcn.00464620
push eax
push 0x51e
call fcn.0045b8f0
push eax
lea eax, [esp + 0x24c]
push eax
call fcn.0049e0d5
add esp, 0xc
lea ecx, [esp + 0x244]
push ecx
call fcn.0047f2b0
call fcn.0047fa50
call fcn.00465a80
mov edx, dword [esp + 0x20]
push esi
push edx
push ebx
call fcn.0041fa40
mov ebx, eax
mov eax, 0x7fffffff
cmp dword [esp + 0x65c], eax
jne 0x4308dd
cmp dword [esp + 0x660], eax
je 0x430800
mov eax, esi
cdq
sub dword [esp + 0x65c], eax
sbb dword [esp + 0x660], edx
jmp 0x430800
cmp dword [0x4db83c], 0
je 0x430918
lea eax, [esp + 0x44]
push eax
call fcn.0047f2b0
lea ecx, [esp + 0x444]
push ecx
call fcn.0047f250
call fcn.0047fa50
not ebx
mov esi, ebx
mov byte [esp + 0x650], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x430935
push eax
call fcn.0049de1d
add esp, 4
mov dword [esp + 0x650], 0xffffffff
lea ecx, [esp + 0x2c]
call fcn.0045d9d0
mov eax, esi
mov ecx, dword [esp + 0x648]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x630]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x640
ret 0x10
Function at 0x4309c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4ae3f6
mov eax, dword fs:[0]
push eax
mov eax, 0x1860
call fcn.0049e650
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x185c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c0390]
xor eax, esp
push eax
lea eax, [esp + 0x1874]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1884]
mov edi, dword [esp + 0x1888]
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edi
call fcn.0042e6a0
xor ebx, ebx
mov dword [esp + 0x187c], ebx
push 1
push ebx
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.0042ea90
test al, al
je 0x430afa
lea ecx, [esp + 0x30]
call fcn.0042e9a0
mov edi, 0x10000
push edi
mov dword [esp + 0x20], eax
mov ebp, edx
call fcn.0049e19f
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
cmp esi, ebx
jne 0x430a6e
mov ecx, 0x4c9364
call fcn.004281d0
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov byte [esp + 0x187c], 1
push edi
push ebx
push esi
call fcn.0049e680
add esp, 0xc
xor edi, edi
test ebp, ebp
jl 0x430ac4
jg 0x430aa0
cmp dword [esp + 0x1c], edi
jbe 0x430ac4
jmp 0x430aa0
push 0x10000
push esi
lea ecx, [esp + 0x38]
call fcn.0042f0b0
add ebx, 0x10000
adc edi, 0
cmp edi, ebp
jl 0x430aa0
jg 0x430ac4
cmp ebx, dword [esp + 0x1c]
jb 0x430aa0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
call fcn.0042efe0
lea ecx, [esp + 0x30]
call fcn.0042e940
lea ecx, [esp + 0x30]
call fcn.0042e720
mov byte [esp + 0x187c], 0
test esi, esi
je 0x430afa
push esi
call fcn.0049de1d
add esp, 4
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
push eax
lea ebx, [esp + 0xc54]
lea esi, [esp + 0x1468]
call fcn.0042ff20
test al, al
je 0x430b53
call fcn.0043c9b0
test eax, eax
je 0x430b3e
cmp word [esp + 0xc50], 0
je 0x430b3e
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
jmp 0x430b83
lea edx, [esp + 0x1464]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne bl
jmp 0x430b83
call fcn.0043c9b0
test eax, eax
je 0x430b71
mov eax, edi
test eax, eax
je 0x430b71
cmp word [eax], 0
je 0x430b71
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x430b7c
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
setne al
mov bl, al
mov dword [esp + 0x187c], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.0042ea60
mov al, bl
mov ecx, dword [esp + 0x1874]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x185c]
xor ecx, esp
call fcn.0049e0c6
add esp, 0x186c
ret 8