joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4217d0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push esi
push edi
push str._nIP_dump:_n
call fcn.00421940
mov eax, dword [esp + 0x18]
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 4
xor edi, edi
mov esi, dword [eax + 0xb8]
mov dword [esp + 0x14], edi
push 4
push esi
call ebx
test eax, eax
jne 0x421836
mov eax, dword [esi]
mov dword [esp + 0xc], eax
mov cx, word [esp + 0xe]
mov byte [esp + 0x14], ch
mov byte [esp + 0x15], cl
mov byte [esp + 0x16], ah
mov byte [esp + 0x17], al
mov ecx, dword [esp + 0x14]
push ecx
push str._0x_08x
call fcn.00421940
add esp, 8
add esi, 4
inc edi
cmp edi, 0x32
jl 0x4217f7
pop edi
pop esi
pop ebx
mov dword [esp + 8], 0x55f080
add esp, 4
jmp fcn.00421940

Function at 0x421940
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x404
lea eax, [esp + 0x40c]
lea edx, [esp + 4]
push esi
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
mov edx, dword [0x56f494]
mov esi, eax
lea eax, [esp + 4]
push 0
push eax
lea ecx, [esp + 0x10]
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, esi
pop esi
add esp, 0x404
ret

Function at 0x421c00
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
cmp eax, 0xffffffff
je 0x421c3e
push eax
call fcn.004f37aa
mov al, byte [esi + 4]
add esp, 4
test al, 2
mov dword [esi + 0xc], 0xffffffff
je 0x421c3e
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x421c3e
and al, 0xfe
push eax
mov eax, dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret

Function at 0x421c40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 0xc]
cmp eax, 0xffffffff
jne 0x421c4d
or eax, eax
ret 8
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
push ecx
push edx
push eax
call fcn.004f388a
add esp, 0xc
ret 8

Function at 0x421e80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x51e6a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0x5343cc
mov dword [esp + 0x14], 1
call fcn.00422060
mov ecx, dword [esi + 0x2c]
xor ebx, ebx
cmp ecx, ebx
mov byte [esp + 0x14], bl
mov dword [esi + 0x24], 0x5343d4
je 0x421ed0
mov edx, dword [esi + 0x28]
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x421edc
mov eax, dword [esi + 0x28]
push eax
call fcn.0050c4cc
add esp, 4
lea ecx, [esi + 4]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esp + 0x14], 0xffffffff
call fcn.00421b10
mov ecx, dword [esp + 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

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

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x422856
cmp byte [eax], 0
je 0x422856
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422856
and eax, 0x10
xor ecx, ecx
cmp al, 0x10
setne cl
mov eax, ecx
ret
xor eax, eax
ret
Function at 0x422860
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x422886
cmp byte [eax], 0
je 0x422886
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422886
and eax, 0x10
xor ecx, ecx
cmp al, 0x10
sete cl
mov eax, ecx
ret
xor eax, eax
ret

Function at 0x422960
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x158
push esi
mov esi, dword [esp + 0x160]
test esi, esi
push edi
je 0x422a39
cmp byte [esi], 0
je 0x422a39
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x422a39
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x16c]
call fcn.004e9b7b
test eax, eax
je 0x422a39
lea edx, [esp + 8]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x422a39
mov edi, dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea ecx, [esp + 0x34]
lea edx, [esp + 8]
push ecx
push edx
call edi
test eax, eax
je 0x422a39
lea eax, [esp + 0x24]
lea ecx, [esp + 8]
push eax
push ecx
call edi
test eax, eax
je 0x422a39
push 0
push 0x80
push 3
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x422a39
lea edx, [esp + 0x34]
lea eax, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
add esp, 0x158
ret
pop edi
xor eax, eax
pop esi
add esp, 0x158
ret

Function at 0x422a50
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x422a9f
cmp byte [esi], 0
je 0x422a9f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422a9f
mov ecx, eax
and ecx, 1
cmp cl, 1
mov ecx, dword [esp + 0xc]
jne 0x422a8f
test ecx, ecx
je 0x422a83
mov eax, 1
pop esi
ret
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
test ecx, ecx
je 0x422a7c
or al, 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x422ab0
Capabilities:
Create directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e6d0
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0xc
test eax, eax
push ebx
je 0x422b55
cmp byte [eax], 0
je 0x422b55
push eax
lea ecx, [esp + 0x24]
call fcn.00507da8
mov eax, dword [0x569c90]
mov dword [esp + 0x18], 0
mov dword [esp + 4], eax
mov bl, 1
push 0x5c
push 0x2f
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call fcn.00504d6b
mov eax, dword [esp + 0x20]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x422b25
push 0x5c
lea ecx, [esp + 0x24]
call fcn.0050813d
mov eax, dword [esp + 0x20]
push 0x55cfa4
push eax
call fcn.004f27d5
add esp, 8
test eax, eax
jne 0x422b67
lea ecx, [esp + 4]
mov byte [esp + 0x18], al
call fcn.00507d3a
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.00507d3a
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push esi
push edi
push 0x5c
lea ecx, [esp + 0x30]
call fcn.00508201
mov edi, eax
lea ecx, [esp + 0x14]
lea esi, [edi + 1]
push esi
push ecx
lea ecx, [esp + 0x34]
call fcn.00505091
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.00508152
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.00507d3a
mov edx, dword [esp + 0x10]
push edx
call fcn.00422860
add esp, 4
test eax, eax
jne 0x422bc4
push eax
mov eax, dword [esp + 0x14]
push eax
call ebp
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 8]
dec eax
cmp edi, eax
je 0x422c00
lea edx, [esp + 0x18]
push esi
push edx
lea ecx, [esp + 0x34]
call fcn.00504f5c
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.00507e73
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call fcn.00507d3a
jmp 0x422b70
mov eax, dword [esp + 0x10]
push eax
call fcn.00422860
add esp, 4
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x24], 0
call fcn.00507d3a
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret

Function at 0x422c50
Capabilities:
Delete directory
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x422c85
cmp byte [esi], 0
je 0x422c85
push esi
call fcn.00422da0
add esp, 4
test eax, eax
je 0x422c85
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x422c90
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes
Get ntdll base address
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e6e8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
cmp esi, ebx
je 0x422d83
cmp byte [esi], bl
je 0x422d83
push esi
call fcn.00422da0
add esp, 4
test eax, eax
je 0x422d83
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422d83
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
lea ecx, [esp + 0x3c]
call fcn.00507da8
mov eax, dword [esp + 0x38]
push 0x20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov esi, dword [eax - 8]
call fcn.0050813d
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0050816a
mov byte [eax + esi], bl
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x1c], 0x454
mov dword [esp + 0x22], ebx
mov dword [esp + 0x26], 0x56e1f4
call fcn.005081b9
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
lea ecx, [esp + 0x38]
neg esi
sbb esi, esi
mov dword [esp + 0x30], 0xffffffff
inc esi
call fcn.00507d3a
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x422da0
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e721
push eax
mov dword fs:[0], esp
sub esp, 0x154
push esi
mov esi, dword [esp + 0x168]
test esi, esi
push edi
je 0x422e84
cmp byte [esi], 0
je 0x422e84
push esi
call fcn.00422860
add esp, 4
test eax, eax
je 0x422e84
push esi
lea ecx, [esp + 0xc]
call fcn.00507da8
push 0x5c
push 0x2f
lea ecx, [esp + 0x10]
mov dword [esp + 0x16c], 0
call fcn.00504d6b
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
je 0x422e1a
cmp byte [eax + ecx - 1], 0x5c
je 0x422e28
push 0x55cfa4
lea ecx, [esp + 0xc]
call fcn.00508116
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
call fcn.00507aaf
push 0x55cf9c
lea ecx, [esp + 0xc]
mov byte [esp + 0x168], 1
call fcn.00508116
mov edx, dword [esp + 8]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x422e9d
lea ecx, [esp + 0xc]
mov byte [esp + 0x164], 0
call fcn.00507d3a
lea ecx, [esp + 8]
mov dword [esp + 0x164], edi
call fcn.00507d3a
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
add esp, 0x160
ret
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 1
lea eax, [esp + 0x50]
push 0x55e51c
push eax
call fcn.0048d6f0
add esp, 0xc
test eax, eax
je 0x422f71
push 2
lea ecx, [esp + 0x50]
push 0x55e518
push ecx
call fcn.0048d6f0
add esp, 0xc
test eax, eax
je 0x422f71
mov edx, dword [esp + 0x20]
and edx, 1
cmp dl, 1
jne 0x422f18
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00507fcf
mov ecx, dword [esp + 0x20]
mov eax, dword [eax]
and ecx, 0xfffffffe
push ecx
push eax
call esi
lea ecx, [esp + 0x14]
call fcn.00507d3a
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x4c]
and edx, 0x10
lea ecx, [esp + 0x10]
push eax
cmp dl, 0x10
push ecx
jne 0x422f59
lea edx, [esp + 0x24]
push edx
call fcn.00507fcf
mov eax, dword [eax]
mov byte [esp + 0x168], 2
push eax
call fcn.00422c50
add esp, 4
mov byte [esp + 0x168], 1
lea ecx, [esp + 0x1c]
jmp 0x422f6c
lea edx, [esp + 0x20]
push edx
call fcn.00507fcf
mov eax, dword [eax]
push eax
call ebp
lea ecx, [esp + 0x18]
call fcn.00507d3a
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x422eaa
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call fcn.00507d3a
lea ecx, [esp + 0xc]
mov dword [esp + 0x168], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x160]
pop ebp
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x160
ret
Function at 0x422fd0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x422ffd
cmp byte [esi], 0
je 0x422ffd
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x422ffd
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x423010
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes
Get ntdll base address
Set file attributes

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x51e738
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [esp + 0x38]
xor ebx, ebx
cmp esi, ebx
je 0x4230f2
cmp byte [esi], bl
je 0x4230f2
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4230f2
and al, 0xfe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
lea ecx, [esp + 0x3c]
call fcn.00507da8
mov eax, dword [esp + 0x38]
push 0x20
lea ecx, [esp + 0x3c]
mov dword [esp + 0x34], ebx
mov esi, dword [eax - 8]
call fcn.0050813d
lea ecx, [esi + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0050816a
mov byte [eax + esi], bl
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov word [esp + 0x1c], 0x454
mov dword [esp + 0x22], ebx
mov dword [esp + 0x26], 0x56e1f4
call fcn.005081b9
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
lea ecx, [esp + 0x38]
neg esi
sbb esi, esi
mov dword [esp + 0x30], 0xffffffff
inc esi
call fcn.00507d3a
mov eax, esi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x423110
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x51e75b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
mov eax, dword [ebp + 8]
push esi
push edi
push eax
lea ecx, [esp + 0x10]
call fcn.00507da8
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
mov dword [esp + 0x164], 0
call fcn.00504d6b
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x423197
lea ecx, [esp + 0xc]
mov dword [esp + 0x15c], eax
call fcn.00507d3a
or eax, 0xffffffff
or edx, 0xffffffff
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x2c]
push 1
push 0
push 0
push eax
call fcn.004f2ba0
mov ecx, dword [esp + 0x30]
mov esi, eax
mov edi, edx
xor edx, edx
add esi, ecx
lea ecx, [esp + 0xc]
adc edi, edx
mov dword [esp + 0x15c], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x154]
mov edx, edi
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423390
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51e805
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov eax, dword [0x569c90]
push esi
push edi
mov dword [esp + 0xc], eax
mov cl, byte [0x56e1f4]
xor eax, eax
mov byte [esp + 0x1c], cl
mov ecx, 0x40
lea edi, [esp + 0x1d]
lea edx, [esp + 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push edx
mov dword [esp + 0x12c], 1
stosb byte es:[edi], al
mov dword [esp + 0x14], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x423412
mov esi, dword [esp + 0x130]
push 0x56e1f4
mov ecx, esi
call fcn.00507da8
mov dword [esp + 0x18], 1
jmp 0x42347a
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebx
push eax
push 5
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x423447
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
lea edx, [esp + 0x1c]
lea ecx, [esp + 0xc]
push edx
call fcn.00507ec3
mov esi, dword [esp + 0x130]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00507aaf
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x128], bl
call fcn.00507d3a
mov ecx, dword [esp + 0x120]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x120
ret
Function at 0x423570
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51e88b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov eax, dword [0x569c90]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x130], 1
mov dword [esp + 0xc], eax
mov al, byte [0x56e1f4]
mov ecx, 0x40
mov byte [esp + 0x24], al
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x130], 2
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebx
push ecx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x423600
mov esi, dword [esp + 0x138]
push 0x56e1f4
mov ecx, esi
call fcn.00507da8
mov dword [esp + 0x1c], 1
jmp 0x4236fc
lea edx, [esp + 0x18]
mov dword [esp + 0x18], ebx
push edx
push 0x1c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x423635
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esp + 0x24]
lea ecx, [esp + 0xc]
push eax
call fcn.00507ec3
mov ecx, dword [esp + 0xc]
cmp dword [ecx - 8], ebx
je 0x423696
push 0x5c
push 0x2f
lea ecx, [esp + 0x14]
call fcn.00504d6b
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0050558b
mov edx, dword [esp + 0xc]
push 0x55f444
push str.CuteFTP_Pro
push str.GlobalSCAPE
push edx
lea eax, [esp + 0x20]
push str._s_s_s_s
push eax
call fcn.005054dc
add esp, 0x18
jmp 0x4236c6
lea ecx, [esp + 0x20]
push ecx
call fcn.004232c0
add esp, 4
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 3
call fcn.00507e73
lea ecx, [esp + 0x20]
mov byte [esp + 0x130], 2
call fcn.00507d3a
push str.Cache
lea ecx, [esp + 0x14]
call fcn.00508116
mov edx, dword [esp + 0x10]
push edx
call fcn.00422ab0
mov esi, dword [esp + 0x13c]
add esp, 4
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.00507aaf
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 1
call fcn.00507d3a
lea ecx, [esp + 0x10]
mov byte [esp + 0x130], bl
call fcn.00507d3a
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret

Function at 0x423c80
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
lea eax, [esp + 4]
push esi
push eax
push 0x104
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov esi, dword [esp + 0x110]
test eax, eax
jne 0x423cc0
push 0x56e1f4
mov ecx, esi
call fcn.00507da8
mov eax, esi
pop esi
add esp, 0x108
ret
lea ecx, [esp + 8]
push ecx
push esi
call fcn.004239e0
add esp, 8
mov eax, esi
pop esi
add esp, 0x108
ret
Function at 0x423ce0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51ea35
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
push ebx
push esi
lea eax, [esp + 0x10]
push edi
xor ebx, ebx
push eax
push 0x104
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x423d2d
mov esi, dword [esp + 0x22c]
push 0x56e1f4
mov ecx, esi
call fcn.00507da8
jmp 0x423da8
lea ecx, [esp + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.004239e0
add esp, 8
mov eax, dword [esp + 0xc]
mov edi, 1
mov dword [esp + 0x224], edi
cmp dword [eax - 8], ebx
jne 0x423d5b
push 0x56e1f4
jmp 0x423d86
mov edx, dword [esp + 0x230]
lea ecx, [esp + 0x118]
push ecx
push ebx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x423d7e
push 0x56e1f4
jmp 0x423d86
lea eax, [esp + 0x118]
push eax
mov esi, dword [esp + 0x230]
mov ecx, esi
call fcn.00507da8
lea ecx, [esp + 0xc]
mov dword [esp + 0x10], edi
mov byte [esp + 0x224], bl
call fcn.00507d3a
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x423fb0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x51eab6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
je 0x423ff9
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
mov ecx, dword [0x569c90]
push esi
mov dword [esp + 8], ecx
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
lea edx, [esp + 0xc]
push edx
push 0x1a
push ebx
mov dword [esp + 0x150], ebx
mov dword [esp + 0x18], ebx
call esi
test eax, eax
jne 0x42404c
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
lea edx, [esp + 0x18]
push edx
jmp 0x4240d6
lea eax, [esp + 0xc]
push eax
push 0x10
push ebx
call esi
test eax, eax
jne 0x4240df
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
call fcn.00507ec3
push ebx
push str.Desktop
lea ecx, [esp + 0x10]
call fcn.00505164
cmp eax, ebx
jl 0x4240d1
lea ecx, [esp + 0x14]
push eax
push ecx
lea ecx, [esp + 0x10]
call fcn.00505091
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x148], 1
call fcn.00507e73
lea ecx, [esp + 0x14]
mov byte [esp + 0x144], bl
call fcn.00507d3a
jmp 0x4240df
push 0x56e1f4
lea ecx, [esp + 0xc]
call fcn.00507ec3
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
pop esi
mov ecx, dword [eax - 8]
cmp ecx, ebx
lea ecx, [esp + 4]
jne 0x424121
mov dword [esp + 0x140], 0xffffffff
call fcn.00507d3a
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
add esp, 0x140
ret
push 0x5c
push 0x2f
call fcn.00504d6b
push 0x5c
lea ecx, [esp + 8]
call fcn.0050558b
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x148]
push 0x55f444
push str.CuteFTP_Pro
push str.GlobalSCAPE
push ecx
push str._s_s_s_s
push edx
call fcn.005054dc
add esp, 0x18
lea ecx, [esp + 4]
mov dword [esp + 0x140], 0xffffffff
call fcn.00507d3a
mov ecx, dword [esp + 0x138]
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret