Function at 0x44eba0
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x540543
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf4
mov eax, dword [0x5ab980]
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, dword [esi + 0xa3c]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x7c], 0x559c1c
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ecx
lea ecx, [esi + 0x10]
mov dword [ebp - 4], ebx
call fcn.004926e0
push 0xfffe7960
push str.LoadRemoteData
call fcn.004227e0
mov eax, dword [esi + 0xa78]
add esp, 8
cmp eax, ebx
jne 0x44ec61
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 2
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 1
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, 0xfffffffe
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffe795f
push str.LoadRemoteData_CacheFile
call fcn.004227e0
mov eax, dword [0x5ab980]
add esp, 8
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00516fef
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00516a49
mov ecx, dword [0x5ab980]
mov dword [ebp - 0x1c], ecx
push ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
mov dword [ebp - 0x2c], vtable.CFileException.0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], 0xffffffff
call fcn.00512a6d
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
mov byte [ebp - 4], 7
call fcn.0044e9f0
mov edi, eax
cmp edi, ebx
jg 0x44ed38
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xa
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 9
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push 0x1011
push eax
lea ecx, [ebp - 0x3c]
call fcn.005171a1
test eax, eax
jne 0x44edd6
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0xd
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xc
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, 0xffffff9c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffe795e
push str.LoadRemoteData_Other
call fcn.004227e0
add esp, 8
lea ecx, [ebp - 0x7c]
push 1
push str.Transferring_scan_data...
call fcn.00459410
mov edx, dword [esi + 0xa3c]
mov ecx, 0xe
xor eax, eax
lea edi, [ebp - 0xbc]
rep stosd dword es:[edi], eax
mov cx, word [ebp + 8]
push 0x2710
mov word [ebp - 0x94], cx
lea eax, [ebp - 0x3c]
push edx
lea ecx, [ebp - 0xbc]
push eax
push ecx
mov ecx, dword [esi + 0xa78]
mov dword [ebp - 0x9c], 0x46535953
call fcn.00472340
lea ecx, [ebp - 0x3c]
mov edi, eax
call fcn.005173bc
cmp edi, ebx
jne 0x44f097
cmp dword [ebp - 0x90], ebx
jle 0x44f097
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x2c]
push edx
push 0x20
push eax
lea ecx, [ebp - 0x3c]
call fcn.005171a1
test eax, eax
jne 0x44eefd
push 0xfffe795b
push str.LoadRemoteData_OpenData
call fcn.004227e0
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x16
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x18
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x17
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, 0xffffffec
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0xfffe7956
push str.LoadRemoteData_Analyze
call fcn.004227e0
add esp, 8
mov edi, 1
lea edx, [ebp - 0x3c]
lea ecx, [ebp - 0x100]
push ebx
push 0x8000
push edi
push edx
mov byte [ebp - 4], 0x19
call fcn.0051af01
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 0x100]
add esi, 8
push eax
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x1a
call fcn.0044c390
lea ecx, [ebp - 0x100]
call fcn.0051b065
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x44ef5e
cmp eax, edi
jne 0x44ef69
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 0x14]
mov edi, eax
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 0x19
call fcn.0051afdd
jmp 0x44efce
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], 7
call fcn.005173bc
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [0x5ab980]
mov dword [ebp - 0x18], ecx
push edi
lea edx, [ebp - 0x18]
push str.LoadRemoteData_Analyze__result_was__i
push edx
mov byte [ebp - 4], 0x1c
call fcn.0050e6c7
xor eax, eax
cmp edi, ebx
mov ecx, dword [ebp - 0x18]
setle al
dec eax
and eax, 0x186aa
add eax, 0xfffe7956
push eax
push ecx
call fcn.004227e0
add esp, 0x14
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.005128e4
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x1d
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x1f
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x1e
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [0x5ab980]
mov dword [ebp + 8], edx
mov eax, dword [esi + 0xa78]
mov byte [ebp - 4], 0xe
add eax, 0x2c
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push ecx
mov ecx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x90]
push ecx
push edx
push eax
push edi
lea ecx, [ebp + 8]
push str.Port_i__Function_i_nRecvd:__u___u_nBlocks:__u__retries__u_
push ecx
call fcn.0050e6c7
add esp, 0x20
lea edx, [ebp + 8]
lea eax, [ebp - 0x40]
push edx
push str.LoadRemoteData_Transfer_n_n
push eax
call fcn.00512bed
mov eax, dword [eax]
push 0xfffe795d
push eax
mov byte [ebp - 4], 0xf
call fcn.004227e0
add esp, 8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xe
call fcn.005128e4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x90]
cmp eax, ebx
jge 0x44f193
lea ecx, [ebp + 8]
mov esi, eax
mov byte [ebp - 4], 7
call fcn.005128e4
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x10
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x12
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x11
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 7
call fcn.005128e4
mov dword [ebp - 0x2c], vtable.CFileException.0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0x13
call fcn.005128e4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.005170e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.005128e4
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], 0x15
call fcn.005128e4
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x14
call fcn.005128e4
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], 0xffffffff
call fcn.005128e4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
or eax, 0xffffffff
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4