Function at 0x416990
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b248
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x43d288]
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.00416750
test al, al
je 0x416e72
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.004167b0
push 0x4318c4
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.004030d0
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb4]
mov eax, dword [edi + 8]
xorps xmm0, xmm0
mov dword [ebp - 0xac], eax
mov ax, word [edi + 0xc]
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xa8], ax
mov byte [ebp - 0x76], 0
movdqu xmmword [ebp - 0xa6], xmm0
movdqu xmmword [ebp - 0x96], xmm0
movdqu xmmword [ebp - 0x86], xmm0
call fcn.00416ec0
mov eax, dword [edi]
test eax, eax
je 0x416b0a
cmp eax, dword [ebp - 0xb4]
je 0x416b0a
push 0x439ff0
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x74]
call fcn.004030d0
add esp, 4
mov esi, eax
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00401390
mov edx, eax
mov ecx, esi
call fcn.00404a60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x60], 8
mov byte [ebp - 0xb5], al
jb 0x416aa9
push dword [ebp - 0x74]
call fcn.0041ac27
mov al, byte [ebp - 0xb5]
add esp, 4
test al, al
jne 0x416acd
call fcn.0041aa5e
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.004161a0
add esp, 0x14
push str.WTware_HTTP
push edi
lea ecx, [ebp - 0x24]
call fcn.00401390
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00401390
push eax
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [edi + 8]
call fcn.00402aa0
push eax
push str.__s__Changed_IP__s____s._Source:__s.
call fcn.00417a40
add esp, 0x14
cmp byte [edi + 0x2e], 0
lea esi, [edi + 0x2e]
je 0x416bbc
lea edx, [ebp - 0x86]
mov ecx, esi
call fcn.004155e0
test al, al
jne 0x416bbc
push str.version
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004030d0
add esp, 4
mov edx, esi
mov byte [ebp - 4], 3
mov ecx, eax
call fcn.00404a60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xb5], al
jb 0x416b6d
push dword [ebp - 0x2c]
call fcn.0041ac27
mov al, byte [ebp - 0xb5]
add esp, 4
test al, al
jne 0x416b91
call fcn.0041aa5e
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.004161a0
add esp, 0x14
push str.WTware_HTTP
push esi
lea eax, [ebp - 0x86]
push eax
push ecx
lea eax, [ebp - 0xd8]
push eax
lea ecx, [edi + 8]
call fcn.00402aa0
push eax
push str.__s__Changed_version__s____s._Source:__s.
call fcn.00417a40
add esp, 0x14
cmp byte [edi + 0xe], 0
lea esi, [edi + 0xe]
je 0x416c72
lea edx, [ebp - 0xa6]
mov ecx, esi
call fcn.004155e0
test al, al
jne 0x416c72
push str.host
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004030d0
add esp, 4
mov edx, esi
mov byte [ebp - 4], 4
mov ecx, eax
call fcn.00404a60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], 8
mov byte [ebp - 0xb5], al
jb 0x416c1f
push dword [ebp - 0x2c]
call fcn.0041ac27
mov al, byte [ebp - 0xb5]
add esp, 4
test al, al
jne 0x416c43
call fcn.0041aa5e
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.004161a0
add esp, 0x14
push str.WTware_HTTP
push esi
lea eax, [ebp - 0xa6]
push eax
push ecx
lea eax, [ebp - 0xd8]
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.00417a40
add esp, 0x14
jmp 0x416c75
lea esi, [edi + 8]
mov eax, dword [edi + 4]
test eax, eax
je 0x416d2b
cmp eax, dword [ebp - 0xb0]
je 0x416d2b
push str.platform
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004030d0
add esp, 4
mov esi, eax
mov byte [ebp - 4], 5
mov ecx, dword [edi + 4]
call fcn.00416690
mov edx, eax
mov ecx, esi
call fcn.00404a60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb5], al
mov byte [ebp - 4], 1
call fcn.004030a0
cmp byte [ebp - 0xb5], 0
jne 0x416cf1
call fcn.0041aa5e
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.004161a0
add esp, 0x14
mov ecx, dword [edi + 4]
push str.WTware_HTTP
call fcn.00416690
mov ecx, dword [ebp - 0xb0]
push eax
call fcn.00416690
push eax
push ecx
lea eax, [ebp - 0xd8]
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.00417a40
add esp, 0x14
mov al, byte [edi + 0x3e]
test al, al
je 0x416dbf
cmp al, byte [ebp - 0x76]
je 0x416dbf
push 0x43a0dc
lea edx, [ebp - 0x44]
lea ecx, [ebp - 0x2c]
call fcn.004030d0
add esp, 4
mov edx, 0x43a0d8
mov byte [ebp - 4], 6
mov ecx, eax
call fcn.00404a60
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0xb5], al
mov byte [ebp - 4], 1
call fcn.004030a0
cmp byte [ebp - 0xb5], 0
jne 0x416d9d
call fcn.0041aa5e
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.004161a0
add esp, 0x14
push str.WTware_HTTP
push ecx
lea eax, [ebp - 0xd8]
mov ecx, esi
push eax
call fcn.00402aa0
push eax
push str.__s__Set_iswtware_flag._Source:__s.
call fcn.00417a40
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 0x416e1a
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 0x416e38
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.00415f40
add esp, 0x10
cmp dword [ebp - 0x30], 8
jb 0x416e49
push dword [ebp - 0x44]
call fcn.0041ac27
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 0x416e6e
push dword [ebp - 0x5c]
call fcn.0041ac27
add esp, 4
mov al, 1
jmp 0x416e94
call fcn.0041aa5e
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.004161a0
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.0041aa1b
mov esp, ebp
pop ebp
ret 4