Function at 0x593310
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x734aa8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x899944]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
add eax, 0x88
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x64], 0
jne 0x59336e
mov dword [ebp - 0xb0], 0
jmp 0x593380
mov eax, dword [ebp - 0x64]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x64]
push edx
mov ecx, dword [ebp - 0xf4]
call fcn.005772d0
mov eax, dword [ebp - 0x44]
add eax, 0x90
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x68], ecx
cmp dword [ebp - 0x68], 0
jne 0x5933bc
mov dword [ebp - 0xb4], 0
jmp 0x5933ce
mov edx, dword [ebp - 0x68]
push edx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0xf8]
call fcn.005772d0
mov edx, dword [ebp - 0x44]
add edx, 0x54
mov dword [ebp - 0xfc], edx
mov eax, 0x75d15e
test eax, eax
jne 0x593405
mov dword [ebp - 0xb8], 0
jmp 0x593418
push 0x75d15e
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
push ecx
push 0x75d15e
mov ecx, dword [ebp - 0xfc]
call fcn.005772d0
mov edx, dword [ebp - 0x44]
add edx, 0x54
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 8]
push eax
push 0x75fdb8
push str.CSFTPImpl::GetFile
push 0x6b7
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xbc], eax
push 0x760398
push 0x7603a8
mov ecx, dword [ebp - 0xbc]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00402060
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
jne 0x5935b5
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x5934b9
mov dword [ebp - 0x8c], 0
jmp 0x5934cb
mov edx, dword [ebp - 0x6c]
push edx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov edx, 0x75ff08
test edx, edx
jne 0x5934f3
mov dword [ebp - 0x90], 0
jmp 0x593506
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
push eax
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
push eax
push str.OpenFile_Failed:__s
push str.CSFTPImpl::GetFile
push 0x6bc
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 4
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov ecx, dword [ebp + 8]
push ecx
push str.Unabale_to_download_the_file__s
mov edx, dword [ebp - 0x4c]
push edx
call fcn.00575ea0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.Downloading_file_failed:__s
push str.CSFTPImpl::GetFile
push 0x6be
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xc0], ecx
mov ecx, dword [ebp - 0xc0]
call fcn.00577240
mov al, byte [ebp - 0x4d]
jmp 0x593c53
push 1
push 0
mov edx, dword [ebp - 0x78]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00401b50
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
jge 0x5936f7
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x5935fb
mov dword [ebp - 0x94], 0
jmp 0x59360d
mov eax, dword [ebp - 0x70]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov eax, 0x75ff08
test eax, eax
jne 0x593635
mov dword [ebp - 0x98], 0
jmp 0x593648
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
push ecx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
push eax
push str.GetFileSize32_Failed:__s
push str.CSFTPImpl::GetFile
push 0x6c9
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 4
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov edx, dword [ebp + 8]
push edx
push str.Unabale_to_read_size_of_file__s
mov eax, dword [ebp - 0x4c]
push eax
call fcn.00575ea0
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
push str.Reading_file_size_for_failed:_s
push str.CSFTPImpl::GetFile
push 0x6cb
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov byte [ebp - 0x4e], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xc4], edx
mov ecx, dword [ebp - 0xc4]
call fcn.00577240
mov al, byte [ebp - 0x4e]
jmp 0x593c53
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 0x9c], ecx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
push 0x760444
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00401e30
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004020c0
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x593828
mov ecx, dword [ebp - 0x5c]
call fcn.00403880
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0x58], 0
jmp 0x593785
mov eax, dword [ebp - 0x58]
add eax, 1
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
cmp ecx, dword [ebp - 0xcc]
jge 0x593828
lea ecx, [ebp - 0x128]
call fcn.00401000
mov byte [ebp - 4], 1
lea edx, [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.00403890
mov byte [ebp - 0x5d], al
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x128]
call fcn.00401120
movzx edx, al
cmp edx, 1
jne 0x593814
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004038e0
mov dword [ebp - 0x74], eax
lea ecx, [ebp - 0x40]
push ecx
mov ecx, dword [ebp - 0x74]
call fcn.00403ba0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x74]
call fcn.00403b20
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x74]
call fcn.00403aa0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x128]
call fcn.00401060
jmp 0x59377c
push str.Closing_FTP_file
push str.CSFTPImpl::GetFile
push 0x705
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x1c
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004017f0
mov byte [ebp - 0x45], al
movzx edx, byte [ebp - 0x45]
cmp edx, 1
je 0x593970
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jne 0x59388d
mov dword [ebp - 0xa0], 0
jmp 0x59389f
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x7c]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov eax, 0x75ff08
test eax, eax
jne 0x5938c7
mov dword [ebp - 0xa4], 0
jmp 0x5938da
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
push ecx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
push eax
push str.CloseHandle_Failed:__s
push str.CSFTPImpl::GetFile
push 0x70a
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 4
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
push str.Closing_FTP_file_failed
push str.CSFTPImpl::GetFile
push 0x70b
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x1c
mov byte [ebp - 0x4f], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xd4], edx
mov ecx, dword [ebp - 0xd4]
call fcn.00577240
mov al, byte [ebp - 0x4f]
jmp 0x593c53
mov eax, dword [ebp + 8]
push eax
push str.Downloading_file__s
push str.CSFTPImpl::GetFile
push 0x710
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xd8], eax
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.00401a10
mov byte [ebp - 0x45], al
movzx eax, byte [ebp - 0x45]
cmp eax, 1
je 0x593afb
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jne 0x5939ff
mov dword [ebp - 0xa8], 0
jmp 0x593a11
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xa8], eax
mov edx, dword [ebp - 0xa8]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, 0x75ff08
test ecx, ecx
jne 0x593a39
mov dword [ebp - 0xac], 0
jmp 0x593a4c
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
push edx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.004014b0
push eax
push str.DownloadFileByName_Failed:__s
push str.CSFTPImpl::GetFile
push 0x718
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 4
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov eax, dword [ebp + 8]
push eax
push str.Unable_to_download_the_file__s
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.00575ea0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push str.Downloading_file_failed_:_s
push str.CSFTPImpl::GetFile
push 0x71a
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 0
push 0
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xe0], eax
mov ecx, dword [ebp - 0xe0]
call fcn.00577240
mov al, byte [ebp - 0x50]
jmp 0x593c53
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xe4], eax
push 0
push 0
push 3
push 0
push 1
push 0x100
mov ecx, dword [ebp - 0xe4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0
je 0x593c2e
lea edx, [ebp - 0x114]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x10c]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [ebp - 0x104]
push edx
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x593bd7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
push eax
push str.Unable_to_set_file_times:__dErr
push str.CSFTPImpl::GetFile
push 0x730
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov edx, dword [ebp - 0x84]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x593c2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0xec]
push eax
push str.Unable_to_close_file_handle:__dErr
push str.CSFTPImpl::GetFile
push 0x737
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov byte [ebp - 0x51], 1
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xf0], edx
mov ecx, dword [ebp - 0xf0]
call fcn.00577240
mov al, byte [ebp - 0x51]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0070bb4c
mov esp, ebp
pop ebp
ret 4