Function at 0x40db60
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4382d8
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x454288]
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
lea esi, [edi + 8]
mov ecx, esi
call fcn.00402bd0
test al, al
je 0x40e049
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.0040d0d0
push 0x43e9ac
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00403190
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd4]
mov eax, dword [esi]
xorps xmm0, xmm0
mov dword [ebp - 0xcc], eax
mov ax, word [esi + 4]
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.0040e5e0
mov eax, dword [edi]
test eax, eax
je 0x40dce3
cmp eax, dword [ebp - 0xd4]
je 0x40dce3
push 0x44eed0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.00403190
add esp, 4
mov esi, eax
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401350
mov edx, eax
mov ecx, esi
call fcn.00404f90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
mov byte [ebp - 0xd5], al
jb 0x40dc80
push dword [ebp - 0x74]
call fcn.00426e53
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x40dca4
call fcn.00426c8a
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.0040ae90
add esp, 0x14
push str.WTware_DHCP
push edi
lea ecx, [ebp - 0x24]
call fcn.00401350
push eax
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401350
push eax
push ecx
lea eax, [ebp - 0x94]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00402b50
push eax
push str.__s__Changed_IP__s____s._Source:__s.
call fcn.0040d700
add esp, 0x14
cmp byte [edi + 0x2e], 0
je 0x40dd96
lea edx, [ebp - 0xa6]
lea ecx, [edi + 0x2e]
call fcn.004096b0
test al, al
jne 0x40dd96
push str.version
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403190
add esp, 4
lea edx, [edi + 0x2e]
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00404f90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xd5], al
jb 0x40dd45
push dword [ebp - 0x2c]
call fcn.00426e53
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x40dd69
call fcn.00426c8a
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.0040ae90
add esp, 0x14
push str.WTware_DHCP
lea eax, [edi + 0x2e]
push eax
lea eax, [ebp - 0xa6]
push eax
push ecx
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00402b50
push eax
push str.__s__Changed_version__s____s._Source:__s.
call fcn.0040d700
add esp, 0x14
cmp byte [edi + 0xe], 0
je 0x40de49
lea edx, [ebp - 0xc6]
lea ecx, [edi + 0xe]
call fcn.004096b0
test al, al
jne 0x40de49
push 0x44ef40
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403190
add esp, 4
lea edx, [edi + 0xe]
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00404f90
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xd5], al
jb 0x40ddf8
push dword [ebp - 0x2c]
call fcn.00426e53
mov al, byte [ebp - 0xd5]
add esp, 4
test al, al
jne 0x40de1c
call fcn.00426c8a
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.0040ae90
add esp, 0x14
push str.WTware_DHCP
lea eax, [edi + 0xe]
push eax
lea eax, [ebp - 0xc6]
push eax
push ecx
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00402b50
push eax
push str.__s__Changed_host__s____s._Source:__s.
call fcn.0040d700
add esp, 0x14
mov eax, dword [edi + 4]
test eax, eax
je 0x40deff
cmp eax, dword [ebp - 0xd0]
je 0x40deff
push str.platform
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403190
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
call fcn.0040da50
mov edx, eax
mov ecx, esi
call fcn.00404f90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], al
mov byte [ebp - 4], 1
call fcn.00403160
cmp byte [ebp - 0xd5], 0
jne 0x40dec5
call fcn.00426c8a
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.0040ae90
add esp, 0x14
mov ecx, dword [edi + 4]
push str.WTware_DHCP
call fcn.0040da50
mov ecx, dword [ebp - 0xd0]
push eax
call fcn.0040da50
push eax
push ecx
lea eax, [ebp - 0x94]
lea esi, [edi + 8]
push eax
mov ecx, esi
call fcn.00402b50
push eax
push str.__s__Changed_platform__s____s._Source:__s.
call fcn.0040d700
add esp, 0x14
mov al, byte [edi + 0x3e]
test al, al
je 0x40df96
cmp al, byte [ebp - 0x96]
je 0x40df96
push 0x44efbc
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.00403190
add esp, 4
mov edx, 0x44efb8
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00404f90
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xd5], al
mov byte [ebp - 4], 1
call fcn.00403160
cmp byte [ebp - 0xd5], 0
jne 0x40df74
call fcn.00426c8a
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.0040ae90
add esp, 0x14
push str.WTware_DHCP
push ecx
lea eax, [ebp - 0x94]
mov ecx, esi
push eax
call fcn.00402b50
push eax
push str.__s__Set_iswtware_flag._Source:__s.
call fcn.0040d700
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 0x40dff1
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 0x40e00f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push eax
lea ecx, [ebp - 0x5c]
call fcn.00402c30
push eax
push str.Unable_to_open__S._Error__d__0x_x_.
call fcn.0040adf0
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x40e020
push dword [ebp - 0x44]
call fcn.00426e53
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 0x40e045
push dword [ebp - 0x5c]
call fcn.00426e53
add esp, 4
mov al, 1
jmp 0x40e06b
call fcn.00426c8a
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.0040ae90
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.00426c47
mov esp, ebp
pop ebp
ret 4