Function at 0x417270
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fd88
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x442288]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00417030
test al, al
je 0x417758
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.00417090
push 0x4368bc
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00403140
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xcc], eax
mov ax, word [edi + 0xc]
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0
mov word [ebp - 0xc8], ax
mov byte [ebp - 0x96], 0
movdqu xmmword [ebp - 0xc6], xmm0
movdqu xmmword [ebp - 0xb6], xmm0
movdqu xmmword [ebp - 0xa6], xmm0
call fcn.004177a0
mov eax, dword [edi]
test eax, eax
je 0x4173ed
cmp eax, dword [ebp - 0xd4]
je 0x4173ed
push 0x43efb4
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00403140
add esp, 4
mov esi, eax
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.004013b0
mov edx, eax
mov ecx, esi
call fcn.00405230
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
mov byte [ebp - 0xd5], al
jb 0x41738c
push dword [ebp - 0x74]
call fcn.0041e612
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x4173b0
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x14
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
push str.WTware_TFTP
push edi
lea ecx, [ebp - 0x24]
call fcn.004013b0
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.004013b0
push eax
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [edi + 8]
call fcn.00402aa0
push eax
push str.__s__Changed_IP__s____s._Source:__s.
call fcn.004184c0
add esp, 0x14
cmp byte [edi + 0x2e], 0
lea esi, [edi + 0x2e]
je 0x41749f
lea edx, [ebp - 0xa6]
mov ecx, esi
call fcn.00415f90
test al, al
jne 0x41749f
push str.version
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403140
add esp, 4
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00405230
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xd5], al
jb 0x417450
push dword [ebp - 0x2c]
call fcn.0041e612
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x417474
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x1a
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
push str.WTware_TFTP
push esi
lea eax, [ebp - 0xa6]
push eax
push ecx
lea eax, [ebp - 0x94]
push eax
lea ecx, [edi + 8]
call fcn.00402aa0
push eax
push str.__s__Changed_version__s____s._Source:__s.
call fcn.004184c0
add esp, 0x14
cmp byte [edi + 0xe], 0
lea esi, [edi + 0xe]
je 0x417555
lea edx, [ebp - 0xc6]
mov ecx, esi
call fcn.00415f90
test al, al
jne 0x417555
push str.host
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403140
add esp, 4
mov edx, esi
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00405230
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xd5], al
jb 0x417502
push dword [ebp - 0x2c]
call fcn.0041e612
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x417526
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x20
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
push str.WTware_TFTP
push esi
lea eax, [ebp - 0xc6]
push eax
push ecx
lea eax, [ebp - 0x94]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00402aa0
push eax
push str.__s__Changed_host__s____s._Source:__s.
call fcn.004184c0
add esp, 0x14
jmp 0x417558
lea esi, [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x41760e
cmp eax, dword [ebp - 0xd0]
je 0x41760e
push str.platform
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403140
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
call fcn.00416f70
mov edx, eax
mov ecx, esi
call fcn.00405230
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], al
mov byte [ebp - 4], 1
call fcn.00403110
cmp byte [ebp - 0xd5], 0
jne 0x4175d4
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x26
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
mov ecx, dword [edi + 4]
push str.WTware_TFTP
call fcn.00416f70
mov ecx, dword [ebp - 0xd0]
push eax
call fcn.00416f70
push eax
push ecx
lea eax, [ebp - 0x94]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00402aa0
push eax
push str.__s__Changed_platform__s____s._Source:__s.
call fcn.004184c0
add esp, 0x14
mov al, byte [edi + 0x3e]
test al, al
je 0x4176a5
cmp al, byte [ebp - 0x96]
je 0x4176a5
push 0x43f0a0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403140
add esp, 4
mov edx, 0x43f09c
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00405230
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], al
mov byte [ebp - 4], 1
call fcn.00403110
cmp byte [ebp - 0xd5], 0
jne 0x417683
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0x2c
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
push str.WTware_TFTP
push ecx
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00402aa0
push eax
push str.__s__Set_iswtware_flag._Source:__s.
call fcn.004184c0
add esp, 0xc
cmp dword [ebp - 0x48], 8
lea eax, [ebp - 0x5c]
push 0
cmovae eax, dword [ebp - 0x5c]
push 0x2000010
push 3
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x417700
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x41771e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402ae0
push eax
push str.Unable_to_open__S._Error__d__0x_x_.
call fcn.004168b0
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x41772f
push dword [ebp - 0x44]
call fcn.0041e612
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x417754
push dword [ebp - 0x5c]
call fcn.0041e612
add esp, 4
mov al, 1
jmp 0x41777a
call fcn.0041e449
push dword [eax]
push str.INTERNAL_ERROR___d_._Please__contact_WTware_tech_support.
push 0xa
push str.....common_terminalID.cpp
push str.ERROR
call fcn.00416950
add esp, 0x14
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e406
mov esp, ebp
pop ebp
ret 4