Function at 0x592c00
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7349fd
mov eax, dword fs:[0]
push eax
sub esp, 0x104
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 - 0x48], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x48]
add eax, 0x88
mov dword [ebp - 0xcc], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x58]
mov dword [ebp - 0x58], edx
cmp dword [ebp - 0x58], 0
jne 0x592c5e
mov dword [ebp - 0xa8], 0
jmp 0x592c70
mov eax, dword [ebp - 0x58]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xa8], eax
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [ebp - 0x58]
push edx
mov ecx, dword [ebp - 0xcc]
call fcn.005772d0
mov eax, dword [ebp - 0x48]
add eax, 0x90
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x5c], ecx
cmp dword [ebp - 0x5c], 0
jne 0x592cac
mov dword [ebp - 0xac], 0
jmp 0x592cbe
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0xf0]
call fcn.005772d0
mov edx, dword [ebp - 0x48]
add edx, 0x54
mov dword [ebp - 0xf4], edx
mov eax, 0x75d15e
test eax, eax
jne 0x592cf5
mov dword [ebp - 0xb0], 0
jmp 0x592d08
push 0x75d15e
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
push 0x75d15e
mov ecx, dword [ebp - 0xf4]
call fcn.005772d0
mov edx, dword [ebp - 0x48]
add edx, 0x54
mov dword [ebp - 0x4c], edx
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004030a0
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jge 0x592dee
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x592d72
mov dword [ebp - 0x78], 0
jmp 0x592d81
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x78], eax
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x60]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, 0x75ff08
test ecx, ecx
jne 0x592da3
mov dword [ebp - 0x7c], 0
jmp 0x592db3
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov byte [ebp - 0x4d], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xb8], eax
mov ecx, dword [ebp - 0xb8]
call fcn.00577240
mov al, byte [ebp - 0x4d]
jmp 0x5932f0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x80]
mov dword [ecx + 0x9c], edx
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xbc], eax
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0xbc]
push edx
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.00402cd0
mov byte [ebp - 0x41], al
movzx eax, byte [ebp - 0x41]
cmp eax, 1
je 0x592ee7
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jne 0x592e5c
mov dword [ebp - 0x84], 0
jmp 0x592e6e
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x84], eax
mov edx, dword [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov ecx, 0x75ff08
test ecx, ecx
jne 0x592e96
mov dword [ebp - 0x88], 0
jmp 0x592ea9
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x88], eax
mov edx, dword [ebp - 0x88]
push edx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov byte [ebp - 0x4e], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
sub eax, 0x10
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xc0]
call fcn.00577240
mov al, byte [ebp - 0x4e]
jmp 0x5932f0
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xc4], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.00402e20
mov byte [ebp - 0x41], al
movzx ecx, byte [ebp - 0x41]
cmp ecx, 1
je 0x592fd4
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x592f49
mov dword [ebp - 0x8c], 0
jmp 0x592f5b
mov edx, dword [ebp - 0x68]
push edx
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov edx, 0x75ff08
test edx, edx
jne 0x592f83
mov dword [ebp - 0x90], 0
jmp 0x592f96
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 byte [ebp - 0x4f], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp - 0xc8]
call fcn.00577240
mov al, byte [ebp - 0x4f]
jmp 0x5932f0
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xe8], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0xe8]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.00402a40
mov byte [ebp - 0x41], al
movzx edx, byte [ebp - 0x41]
cmp edx, 1
je 0x5930c1
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
jne 0x593036
mov dword [ebp - 0x94], 0
jmp 0x593048
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov eax, 0x75ff08
test eax, eax
jne 0x593070
mov dword [ebp - 0x98], 0
jmp 0x593083
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 byte [ebp - 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xd0], edx
mov ecx, dword [ebp - 0xd0]
call fcn.00577240
mov al, byte [ebp - 0x50]
jmp 0x5932f0
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xd4], eax
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xd4]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.00402b90
mov byte [ebp - 0x41], al
movzx edx, byte [ebp - 0x41]
cmp edx, 1
je 0x5931b1
mov ecx, dword [ebp - 0x48]
add ecx, 8
call fcn.004014b0
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 0
jne 0x593126
mov dword [ebp - 0x9c], 0
jmp 0x593138
mov eax, dword [ebp - 0x70]
push eax
call fcn.00710f40
add esp, 4
mov dword [ebp - 0x9c], eax
mov ecx, dword [ebp - 0x9c]
push ecx
mov edx, dword [ebp - 0x70]
push edx
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov eax, 0x75ff08
test eax, eax
jne 0x593160
mov dword [ebp - 0xa0], 0
jmp 0x593173
push 0x75ff08
call fcn.00710f40
add esp, 4
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
push 0x75ff08
mov ecx, dword [ebp - 0x4c]
call fcn.005804a0
mov byte [ebp - 0x51], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0xdc], edx
mov ecx, dword [ebp - 0xdc]
call fcn.00577240
mov al, byte [ebp - 0x51]
jmp 0x5932f0
lea ecx, [ebp + 8]
call fcn.005785c0
mov dword [ebp - 0xe0], eax
push 0
push 0
push 3
push 0
push 1
push 0x101
mov eax, dword [ebp - 0xe0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0xa4], eax
lea ecx, [ebp - 0x110]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea edx, [ebp - 0x100]
push edx
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea ecx, [ebp - 0x100]
push ecx
lea edx, [ebp - 0x108]
push edx
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x59327a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xe4], eax
mov edx, dword [ebp - 0xe4]
push edx
push str.Unable_to_set_file_times:__d_Err
push str.CFTPSImpl::GetFile
push 0x50c
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov eax, dword [ebp - 0x48]
push eax
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x5932cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
push edx
push str.Unable_to_close_file_handle:__dErr
push str.CFTPSImpl::GetFile
push 0x513
push str.D:Bit_BucketBTS_RetailSP24PLUS_REQ_frontendodin_groupFTUpdateServiceFTPHandler.h
push 3
mov eax, dword [ebp - 0x48]
push eax
call fcn.00595750
push eax
call fcn.00597650
add esp, 0x20
mov byte [ebp - 0x52], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
sub ecx, 0x10
mov dword [ebp - 0xec], ecx
mov ecx, dword [ebp - 0xec]
call fcn.00577240
mov al, byte [ebp - 0x52]
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