Function at 0x10147720
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x101c1b88]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x26c], 0xffffffff
mov dword [ebp - 0x264], 0
mov byte [ebp - 0x260], 0
push 0x103
push 0
lea eax, [ebp - 0x25f]
push eax
call fcn.1011e8d0
add esp, 0xc
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x144], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea ecx, [ebp - 0x117]
push ecx
call fcn.1011e8d0
add esp, 0xc
fldz
fstp qword [ebp - 0x140]
mov dword [ebp - 0x268], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x134], 0x34
mov dword [ebp - 0x130], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x150], 0
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x154], 0
mov dword [ebp - 0x11c], 0
lea eax, [ebp - 0x150]
push eax
push 0
push 0
mov ecx, dword [ebp + 0x14]
push ecx
call fcn.1014a260
add esp, 0x10
mov edx, dword [ebp + 0x14]
push edx
call fcn.1014bcf0
add esp, 4
mov dword [ebp - 0x268], eax
cmp dword [0x101d98c8], 0
jne 0x1014784f
push 3
call fcn.10029130
add esp, 4
mov dword [0x101d98c8], 1
cmp dword [ebp + 0xc], 0
je 0x10147877
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x10147877
mov edx, dword [ebp + 0xc]
push edx
push 0x104
lea eax, [ebp - 0x118]
push eax
call fcn.1011b28e
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x101478b8
mov ecx, dword [ebp + 0x10]
movsx edx, byte [ecx]
test edx, edx
je 0x101478b8
push 0x101c59fc
push 0x104
lea eax, [ebp - 0x118]
push eax
call fcn.1011a6f4
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
push 0x104
lea edx, [ebp - 0x118]
push edx
call fcn.1011a6f4
add esp, 0xc
cmp dword [ebp + 0x18], 0
je 0x1014790c
push 0x370
push 0x101c5a00
push 0x101c5a10
push 8
call fcn.1014adb0
add esp, 0x10
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x101478f5
mov dword [ebp - 0x26c], 0xfffffffc
jmp 0x10147f09
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp + 0x18]
mov dword [eax], ecx
mov edx, dword [ebp - 0x124]
mov eax, dword [ebp + 0x1c]
mov dword [edx + 4], eax
call fcn.10029150
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
jne 0x1014792f
mov dword [ebp - 0x26c], 0xffffffff
jmp 0x10147f09
mov ecx, dword [ebp + 8]
push ecx
push 0x2712
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
push 0x1e
push 0x4e
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
push 0x2715
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
push 1
push 0x34
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
push 1
push 0x45
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1002cf30
add esp, 0xc
push 1
push 0x2a
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
push 0x10147370
push 0x4e6f
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
lea ecx, [ebp - 0x150]
push ecx
push 0x272d
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
push 1
push 0x2c
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.10029320
add esp, 4
mov dword [ebp - 0x134], eax
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10146b00
add esp, 0xc
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x10147ad1
cmp dword [ebp - 0x26c], 5
je 0x10147ad1
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x134]
push eax
call fcn.10029380
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push 0x101c5a28
push 0x390
push 0x101c5a50
push 0x101c5a60
push 1
call fcn.1014edc0
add esp, 0x20
mov edx, dword [ebp - 0x26c]
push edx
mov eax, dword [ebp - 0x134]
push eax
call fcn.10029380
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._FTP__Url:_s_GetfileInfo._err___s__d
push 0x390
push 0x101c5aa0
push 0x101c5ab0
push 1
call fcn.1014f750
add esp, 0x20
xor edx, edx
jne 0x10147a44
cmp dword [ebp - 0x26c], 0xfffffff6
je 0x10147acc
cmp dword [ebp - 0x134], 0x43
jne 0x10147ad1
jmp 0x10147f09
lea eax, [ebp - 0x140]
push eax
push 0x30000f
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.10029360
add esp, 0xc
mov dword [ebp - 0x134], eax
fld qword [ebp - 0x140]
call fcn.10123dc6
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x268]
xor eax, eax
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x2a8]
jne 0x10147b8f
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x2a4]
jne 0x10147b8f
cmp dword [ebp - 0x148], 0
je 0x10147b8f
push 0x101c5ac8
push 0x3a4
push 0x101c5af4
push 0x101c5b04
push 2
call fcn.1014edc0
add esp, 0x14
push 0x101c5b1c
push 0x3a4
push 0x101c5b48
push 0x101c5b58
push 2
call fcn.1014f750
add esp, 0x14
xor eax, eax
jne 0x10147b36
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x11c], 1
jmp 0x10147f09
mov ecx, dword [ebp + 0x14]
push ecx
push str._s.bak
push 0x104
lea edx, [ebp - 0x260]
push edx
call fcn.1011a6b9
add esp, 0x10
lea eax, [ebp - 0x260]
push eax
call fcn.1014c440
add esp, 4
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x260]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0xffffffff
jne 0x10147c46
lea edx, [ebp - 0x260]
push edx
push 0x101c5b78
push 0x3b9
push 0x101c5b90
push 0x101c5ba0
push 1
call fcn.1014edc0
add esp, 0x18
lea eax, [ebp - 0x260]
push eax
push 0x101c5bb8
push 0x3b9
push 0x101c5bd0
push 0x101c5be0
push 1
call fcn.1014f750
add esp, 0x18
xor ecx, ecx
jne 0x10147be9
mov dword [ebp - 0x26c], 0xfffffffe
jmp 0x10147f09
push 0
push 0x2c
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
push 0x500000
push 0x62
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
push 0x101475c0
push 0x4e2b
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1002cf30
add esp, 0xc
mov edx, dword [ebp - 0x264]
push edx
push 0x2711
mov eax, dword [ebp - 0x120]
push eax
call fcn.1002cf30
add esp, 0xc
cmp dword [ebp - 0x124], 0
je 0x10147cf5
push 0
push 0x2b
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1002cf30
add esp, 0xc
push 0x101474b0
push 0x4e58
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
mov eax, dword [ebp - 0x124]
push eax
push 0x2749
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.1002cf30
add esp, 0xc
jmp 0x10147d08
push 1
push 0x2b
mov edx, dword [ebp - 0x120]
push edx
call fcn.1002cf30
add esp, 0xc
mov eax, dword [ebp - 0x120]
push eax
call fcn.10029320
add esp, 4
mov dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x134]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.10146b00
add esp, 0xc
mov dword [ebp - 0x26c], eax
cmp dword [ebp - 0x26c], 0
je 0x10147dce
cmp dword [ebp - 0x26c], 5
je 0x10147dce
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call fcn.10029380
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
push 0x101c5bf8
push 0x3de
push 0x101c5c20
push 0x101c5c30
push 1
call fcn.1014edc0
add esp, 0x20
mov ecx, dword [ebp - 0x26c]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call fcn.10029380
add esp, 4
push eax
mov eax, dword [ebp + 8]
push eax
push str._FTP__Url:_s_downloadfile._err___s__d
push 0x3de
push 0x101c5c70
push 0x101c5c80
push 1
call fcn.1014f750
add esp, 0x20
xor ecx, ecx
jne 0x10147d53
jmp 0x10147f09
lea edx, [ebp - 0x130]
push edx
push 0x20000e
mov eax, dword [ebp - 0x120]
push eax
call fcn.10029360
add esp, 0xc
mov dword [ebp - 0x134], eax
cmp dword [ebp - 0x134], 0
je 0x10147e65
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.10029380
add esp, 4
push eax
mov edx, dword [ebp + 8]
push edx
push 0x101c5c98
push 0x3e5
push 0x101c5cc4
push 0x101c5cd4
push 1
call fcn.1014edc0
add esp, 0x1c
mov eax, dword [ebp - 0x134]
push eax
call fcn.10029380
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
push str._FTP__get_File:_s_LastTime_fail._err___s
push 0x3e5
push 0x101c5d18
push 0x101c5d28
push 1
call fcn.1014f750
add esp, 0x1c
xor edx, edx
jne 0x10147df8
jmp 0x10147f09
cmp dword [ebp - 0x12c], 0
jl 0x10147f09
jg 0x10147e81
cmp dword [ebp - 0x130], 0
jbe 0x10147f09
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
lea edx, [ebp - 0x2a0]
push edx
call fcn.1014a390
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x284], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x280], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x27c], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x278], edx
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x284]
push ecx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x10147f09
lea edx, [ebp - 0x274]
push edx
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x10147f09
lea ecx, [ebp - 0x274]
push ecx
push 0
push 0
mov edx, dword [ebp - 0x264]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
cmp dword [ebp - 0x124], 0
je 0x10147f30
push 0x3fb
push str.FtpDownloadEx
push 0x101c5d50
mov eax, dword [ebp - 0x124]
push eax
call fcn.1014acc0
add esp, 0x10
cmp dword [ebp - 0x120], 0
je 0x10147f48
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.10029340
add esp, 4
cmp dword [ebp - 0x144], 0
je 0x10147f60
mov edx, dword [ebp - 0x144]
push edx
call fcn.10029340
add esp, 4
cmp dword [ebp - 0x264], 0xffffffff
je 0x10147f76
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x26c], 0
jl 0x10147f9b
cmp dword [ebp - 0x11c], 0
jne 0x10147f9b
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x260]
push edx
call fcn.1014c800
add esp, 8
lea eax, [ebp - 0x260]
push eax
call fcn.1014c2e0
add esp, 4
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1011a380
mov esp, ebp
pop ebp
ret 0x18