Function at 0x408820
Capabilities:
Check for time delay via gettickcount
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493667
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x4c100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov dword [ebp - 0x1bc], eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x1b8], edx
cmp dword [ebp + 8], 8
jl 0x40a136
push eax
push 0x4b0574
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x138], 7
mov dword [ebp - 0x13c], eax
mov word [ebp - 0x14c], ax
call fcn.00404450
xor eax, eax
mov dword [ebp - 4], 0
push eax
push 0x4b0574
lea ecx, [ebp - 0x134]
mov dword [ebp - 0x120], 7
mov dword [ebp - 0x124], 0
mov word [ebp - 0x134], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 1
push eax
push 0x4b0574
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x108], 7
mov dword [ebp - 0x10c], 0
mov word [ebp - 0x11c], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 2
push eax
push 0x4b0574
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 3
push eax
push 0x4b0574
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0xa8], 7
mov dword [ebp - 0xac], 0
mov word [ebp - 0xbc], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x4b0574
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x78], 7
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 5
push eax
push 0x4b0574
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404450
xor eax, eax
mov byte [ebp - 4], 6
push eax
push 0x4b0574
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x168], 7
mov dword [ebp - 0x16c], 0
mov word [ebp - 0x17c], ax
call fcn.00404450
mov byte [ebp - 4], 7
mov dword [ebp - 0x150], 7
mov dword [ebp - 0x154], 0
push 4
xor eax, eax
lea ecx, [ebp - 0x164]
push 0x4b1ad8
mov word [ebp - 0x164], ax
call fcn.00404450
mov byte [ebp - 4], 8
mov eax, dword [edi + 4]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408a3c
xor esi, esi
jmp 0x408a8f
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408a41
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408a87
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408a87
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408a89
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408a99
xor ecx, ecx
jmp 0x408aaf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408aa0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14c]
call fcn.00404450
mov eax, dword [edi + 8]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408acd
xor esi, esi
jmp 0x408b20
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408ad2
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408b18
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408b18
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408b1a
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408b2a
xor ecx, ecx
jmp 0x408b3f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408b30
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x134]
call fcn.00404450
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408b5d
xor esi, esi
jmp 0x408bb0
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408b62
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408ba8
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408ba8
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408baa
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408bba
xor ecx, ecx
jmp 0x408bcf
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408bc0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x74]
call fcn.00404450
mov eax, dword [edi + 0x10]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408bea
xor esi, esi
jmp 0x408c3e
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408bf0
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408c36
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408c36
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408c38
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408c48
xor ecx, ecx
jmp 0x408c5f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408c50
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0xbc]
call fcn.00404450
mov eax, dword [edi + 0x14]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408c7d
xor esi, esi
jmp 0x408cd0
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408c82
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408cc8
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408cc8
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408cca
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408cda
xor ecx, ecx
jmp 0x408cef
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408ce0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x17c]
call fcn.00404450
mov eax, dword [edi + 0x18]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x408d0d
xor esi, esi
jmp 0x408d60
mov ecx, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408d12
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408d58
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408d58
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408d5a
xor esi, esi
mov edi, dword [ebp - 0x1a8]
cmp word [esi], 0
jne 0x408d6a
xor ecx, ecx
jmp 0x408d7f
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408d70
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x164]
call fcn.00404450
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x408de6
mov ecx, eax
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x408da0
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jg 0x408de6
lea eax, [edi + edi]
call fcn.0047c5d0
mov esi, esp
mov dword [ebp - 0x10], esp
test esi, esi
je 0x408de6
push edi
push esi
push 0xffffffffffffffff
push dword [ebp - 0x1a4]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x408de8
xor esi, esi
cmp word [esi], 0
jne 0x408df2
xor ecx, ecx
jmp 0x408e06
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x408df7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x11c]
call fcn.00404450
push 0x4b1af4
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x104]
call fcn.0040a3a0
lea ecx, [ebp - 0x14c]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.0040a4b0
push 0x4b1af0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x44]
call fcn.0040a330
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 0xb
push ecx
mov edx, eax
lea ecx, [ebp - 0xd4]
call fcn.0040a4b0
push str..exe
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xec]
call fcn.0040a330
add esp, 0x14
mov esi, eax
lea eax, [ebp - 0x8c]
cmp eax, esi
je 0x408ecc
mov eax, dword [ebp - 0x78]
cmp eax, 8
jb 0x408ea9
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x78], 7
push esi
lea ecx, [ebp - 0x8c]
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
call fcn.00404790
mov eax, dword [ebp - 0xd8]
cmp eax, 8
jb 0x408eea
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0xd8], 7
mov word [ebp - 0xec], ax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xdc], 0
cmp eax, 8
jb 0x408f25
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc4], 0
cmp eax, 8
jb 0x408f57
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x408f80
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404b00
xor eax, eax
mov byte [ebp - 4], 8
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x408fb6
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00404b00
push str.download_state_machine.dsm
lea edx, [ebp - 0xbc]
lea ecx, [ebp - 0x104]
call fcn.0040a3a0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2c]
cmp eax, esi
je 0x40900a
mov eax, dword [ebp - 0x18]
cmp eax, 8
jb 0x408fed
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x18], 7
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00404790
mov byte [ebp - 4], 8
mov eax, dword [ebp - 0xf0]
cmp eax, 8
jb 0x40902c
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00404b00
sub esp, 0x18
lea esi, [ebp - 0x134]
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40905d
mov eax, dword [ecx]
jmp 0x40905f
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00404c60
mov ecx, esi
call fcn.00407b60
add esp, 0x18
test eax, eax
jne 0x409f54
push 0xffffffffffffffff
push eax
mov dword [ebp - 0x94], eax
lea ecx, [ebp - 0xa4]
mov word [ebp - 0xa4], ax
lea eax, [ebp - 0xbc]
push eax
mov dword [ebp - 0x90], 7
call fcn.00404c60
push 0xb
push str.update.log
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xf
call fcn.00404550
push 0x4b1ad8
lea ecx, [ebp - 0x164]
call fcn.0040a500
test eax, eax
je 0x4090ec
push str.TRUE
lea ecx, [ebp - 0x164]
call fcn.0040a500
test eax, eax
jne 0x409110
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00404230
call fcn.004069d0
lea edx, [ebp - 0x8c]
call fcn.004084e0
xorps xmm0, xmm0
mov dword [ebp - 0x1a4], 0
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0x180], 0
movups xmmword [ebp - 0x1a0], xmm0
movups xmmword [ebp - 0x190], xmm0
call fcn.0040ae90
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x44]
push 0
push 0x4b18f0
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
call fcn.00404860
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x204]
push 0
push 0x4b18f0
mov dword [ebp - 0x1f0], 0xf
mov dword [ebp - 0x1f4], 0
mov byte [ebp - 0x204], 0
call fcn.00404860
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x1ec]
push 0xe
push str.AutoUpdate.exe
mov dword [ebp - 0x1d8], 0xf
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1ec], 0
call fcn.00404860
mov byte [ebp - 4], 0x14
lea edi, [ebp - 0x11c]
cmp dword [ebp - 0x108], 8
cmovae edi, dword [ebp - 0x11c]
test edi, edi
jne 0x4091f2
xor eax, eax
jmp 0x40922d
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4091f7
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x409215
xor eax, eax
jmp 0x40922d
add esi, esi
mov eax, esi
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
push 3
push esi
mov edx, edi
call fcn.00407af0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a1c0
mov byte [ebp - 4], 0x15
lea edi, [ebp - 0x14c]
cmp dword [ebp - 0x138], 8
cmovae edi, dword [ebp - 0x14c]
test edi, edi
jne 0x409256
xor eax, eax
jmp 0x409296
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409260
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x40927e
xor eax, eax
jmp 0x409296
add esi, esi
mov eax, esi
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
push 3
push esi
mov edx, edi
call fcn.00407af0
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0040a1c0
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0x16
push eax
push ecx
lea eax, [ebp - 0x204]
push eax
lea eax, [ebp - 0x1ec]
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x1d4]
call fcn.0040aaa0
mov eax, dword [ebp - 0x1c0]
add esp, 0x10
cmp eax, 0x10
jb 0x4092e8
inc eax
lea ecx, [ebp - 0x1d4]
push eax
push dword [ebp - 0x1d4]
call fcn.00404b60
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x1c0], 0xf
mov dword [ebp - 0x1c4], 0
mov byte [ebp - 0x1d4], 0
cmp eax, 0x10
jb 0x409318
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404b60
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x48], 0xf
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
cmp eax, 0x10
jb 0x409348
inc eax
lea ecx, [ebp - 0x1ec]
push eax
push dword [ebp - 0x1ec]
call fcn.00404b60
mov eax, dword [ebp - 0x1f0]
mov dword [ebp - 0x1d8], 0xf
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1ec], 0
cmp eax, 0x10
jb 0x409381
inc eax
lea ecx, [ebp - 0x204]
push eax
push dword [ebp - 0x204]
call fcn.00404b60
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x1f0], 0xf
mov dword [ebp - 0x1f4], 0
mov byte [ebp - 0x204], 0
cmp eax, 0x10
jb 0x4093b1
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404b60
mov esi, dword [0x4c4a30]
mov dword [ebp - 0x1a8], esi
mov dword [ebp - 4], 0x10
jmp 0x4093df
push 0x4083b0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x4b0574
lea ecx, [ebp - 0x5c]
call fcn.00404230
push 0x4b0574
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x18
call fcn.00404230
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x19
push eax
sub esp, 0x18
lea esi, [ebp - 0x44]
mov ecx, esp
lea edi, [ebp - 0x2c]
push 0x4b1b6c
call fcn.00404230
mov edx, esi
mov ecx, edi
call fcn.00407ed0
mov eax, dword [ebp - 0x30]
add esp, 0x1c
cmp eax, 8
jb 0x409445
inc eax
mov ecx, esi
push eax
push dword [ebp - 0x44]
call fcn.00404b00
xor eax, eax
mov byte [ebp - 4], 0x10
mov word [ebp - 0x44], ax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 7
mov dword [ebp - 0x34], 0
cmp eax, 8
jb 0x409472
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404b00
mov edx, dword [ebp - 0x1ac]
lea ecx, [ebp - 0x44]
call fcn.00407a60
mov esi, eax
mov byte [ebp - 4], 0x1a
cmp dword [esi + 0x14], 0x10
jb 0x40948e
mov esi, dword [esi]
test esi, esi
jne 0x409496
xor eax, eax
jmp 0x4094cf
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4094a0
sub ecx, edx
lea edi, [ecx + 1]
cmp edi, 0x3fffffff
jle 0x4094b8
xor eax, eax
jmp 0x4094cf
lea eax, [edi + edi]
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
push 3
push edi
mov edx, esi
call fcn.00407ab0
push eax
lea ecx, [ebp - 0xec]
call fcn.00404230
mov byte [ebp - 4], 0x1c
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x4094f4
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404b60
sub esp, 0x18
mov dword [ebp - 0x30], 0xf
mov ecx, esp
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x1ac], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x409537
mov eax, dword [ecx]
jmp 0x409539
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xec]
push edx
push eax
call fcn.00404c60
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
mov dword [ebp - 0x1a4], esp
push 0x4b1b70
call fcn.00404230
sub esp, 0x18
mov byte [ebp - 4], 0x1e
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push str.CurrentUpdate
call fcn.00404230
sub esp, 0x18
mov byte [ebp - 4], 0x1f
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x4095ae
mov eax, dword [ecx]
jmp 0x4095b0
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00404c60
mov byte [ebp - 4], 0x1c
call fcn.00404110
add esp, 0x60
xor esi, esi
push 0x4c11f4
test al, al
je 0x409611
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
mov edi, 1
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, edi
jne 0x40965a
push 0x4b1b78
push 0x4c11f0
call fcn.00406c60
push 0x4b1b78
jmp 0x409648
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
mov edi, 1
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, edi
jne 0x40965a
push 0x4b1ba4
push 0x4c11f0
call fcn.00406c60
push 0x4b1ba4
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x10
push dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1bc]
lea ecx, [ebp - 0x5c]
push esi
call fcn.00407a80
add esp, 8
mov byte [ebp - 4], 0x20
cmp dword [eax + 0x14], 0x10
jb 0x40967e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x104]
call fcn.0040a1c0
mov byte [ebp - 4], 0x22
mov eax, dword [ebp - 0x48]
cmp eax, 0x10
jb 0x4096a3
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404b60
push dword [ebp - 0x1b8]
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x48], 0xf
push esi
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x5c], 0
call fcn.00407a80
add esp, 8
mov esi, eax
mov byte [ebp - 4], 0x23
cmp dword [esi + 0x14], 0x10
jb 0x4096d8
mov esi, dword [esi]
test esi, esi
jne 0x4096e0
xor eax, eax
jmp 0x40971d
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4096e5
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x1ac], eax
cmp eax, 0x3fffffff
jle 0x409702
xor eax, eax
jmp 0x40971d
add eax, eax
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
push 3
push dword [ebp - 0x1ac]
mov edx, esi
call fcn.00407ab0
push eax
lea ecx, [ebp - 0xd4]
call fcn.00404230
mov byte [ebp - 4], 0x25
mov eax, dword [ebp - 0x1c0]
cmp eax, 0x10
jb 0x40974b
inc eax
lea ecx, [ebp - 0x1d4]
push eax
push dword [ebp - 0x1d4]
call fcn.00404b60
sub esp, 0x18
mov dword [ebp - 0x1c0], 0xf
mov ecx, esp
mov dword [ebp - 0x1c4], 0
mov byte [ebp - 0x1d4], 0
mov dword [ebp - 0x1b0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x409797
mov eax, dword [ecx]
jmp 0x409799
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0xd4]
push edx
push eax
call fcn.00404c60
sub esp, 0x18
mov byte [ebp - 4], 0x26
mov ecx, esp
mov dword [ebp - 0x1b4], esp
push str.timestamp
call fcn.00404230
sub esp, 0x18
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x1ac], esp
push str.CurrentUpdate
call fcn.00404230
sub esp, 0x18
mov byte [ebp - 4], 0x28
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 7
cmp dword [ecx + 0x14], 8
mov dword [ecx + 0x10], 0
jb 0x40980e
mov eax, dword [ecx]
jmp 0x409810
mov eax, ecx
xor edx, edx
push 0xffffffffffffffff
mov word [eax], dx
lea eax, [ebp - 0x2c]
push edx
push eax
call fcn.00404c60
mov byte [ebp - 4], 0x25
call fcn.00404110
add esp, 0x60
xor esi, esi
push 0x4c11f4
test al, al
je 0x40986d
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x4098b2
push 0x4b1be4
push 0x4c11f0
call fcn.00406c60
push 0x4b1be4
jmp 0x4098a0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x4098b2
push 0x4b1c1c
push 0x4c11f0
call fcn.00406c60
push 0x4b1c1c
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x10
cmp dword [ebp - 0xa8], 8
lea eax, [ebp - 0xbc]
cmovae eax, dword [ebp - 0xbc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor esi, esi
push 0x4c11f4
test eax, eax
jne 0x409950
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x409e77
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
push 0x4b1c54
push 0x4c11f0
call fcn.00406c60
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
push 0x4b1c54
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x18
jmp 0x409e77
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x409995
push 0x4b1c6c
push 0x4c11f0
call fcn.00406c60
push 0x4b1c6c
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x10
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x4099bc
movss xmm2, dword [0x4b4168]
lea ecx, [ebp - 0x1a0]
push ecx
push 0
mov edx, edi
mov ecx, eax
call fcn.004086a0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x4b0574
lea ecx, [ebp - 0x1ec]
mov dword [ebp - 0x1a4], eax
call fcn.00404230
push 0x4b0574
lea ecx, [ebp - 0x204]
mov byte [ebp - 4], 0x29
call fcn.00404230
lea eax, [ebp - 0x1ec]
mov byte [ebp - 4], 0x2a
push eax
sub esp, 0x18
lea esi, [ebp - 0x204]
mov ecx, esp
push 0x4b1c78
call fcn.00404230
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00407ed0
add esp, 0x1c
mov ecx, esi
call fcn.004041f0
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0x25
call fcn.004041f0
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x409a8a
mov ecx, eax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409a50
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x409a6e
xor eax, eax
jmp 0x409a8a
add esi, esi
mov eax, esi
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
mov edx, dword [ebp - 0x1ac]
push 3
push esi
call fcn.00407af0
push eax
lea ecx, [ebp - 0x5c]
call fcn.0040a1c0
mov byte [ebp - 4], 0x2b
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
cmovae eax, dword [ebp - 0x8c]
mov dword [ebp - 0x1ac], eax
test eax, eax
je 0x409af1
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x409ab7
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x409ad5
xor eax, eax
jmp 0x409af1
add esi, esi
mov eax, esi
call fcn.0047c5d0
mov dword [ebp - 0x10], esp
mov ecx, esp
mov edx, dword [ebp - 0x1ac]
push 3
push esi
call fcn.00407af0
push eax
lea ecx, [ebp - 0x44]
call fcn.0040a1c0
sub esp, 0x18
mov byte [ebp - 4], 0x2c
mov ecx, esp
mov dword [ebp - 0x1b0], esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x409b2f
mov eax, dword [ecx]
jmp 0x409b31
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00404960
sub esp, 0x18
mov byte [ebp - 4], 0x2d
mov ecx, esp
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x14], 0xf
cmp dword [ecx + 0x14], 0x10
mov dword [ecx + 0x10], 0
jb 0x409b70
mov eax, dword [ecx]
jmp 0x409b72
mov eax, ecx
push 0xffffffffffffffff
mov byte [eax], 0
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00404960
mov edx, 0x1388
mov byte [ebp - 4], 0x2c
mov ecx, 0x1e
call fcn.00407d30
add esp, 0x30
mov dword [ebp - 0x1ac], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1a4]
xor esi, esi
push 0x4c11f4
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4b4190]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x4b4150]
movss dword [ebp - 0x1a4], xmm0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x409c44
movss xmm0, dword [ebp - 0x1a4]
sub esp, 8
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push 0x4b1c7c
push 0x4c11f0
call fcn.00406c60
movss xmm1, dword [ebp - 0x1a4]
add esp, 8
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push 0x4b1c7c
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x10
cmp dword [ebp - 0x1ac], 0
mov eax, dword [ebp - 0x1a8]
jne 0x409ce3
test eax, eax
je 0x409c7b
movss xmm2, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a0]
push ecx
push 0
mov edx, 2
mov ecx, eax
call fcn.004086a0
add esp, 8
lea eax, [ebp - 0x134]
push eax
sub esp, 0x18
lea esi, [ebp - 0x8c]
mov ecx, esp
push 0x4b196c
call fcn.00404230
mov edx, esi
lea ecx, [ebp - 0x2c]
call fcn.00407ed0
add esp, 0x1c
call fcn.004069a0
cmp eax, 1
jne 0x409de5
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push 0x4b1c90
push 0x4c11f0
call fcn.00406c60
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push 0x4b1c90
jmp 0x409dd3
test eax, eax
je 0x409d07
movss xmm2, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a0]
push ecx
push 3
mov edx, 2
mov ecx, eax
call fcn.004086a0
add esp, 8
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x409d55
call fcn.004069a0
cmp eax, 1
jne 0x409d9d
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x4b1a74
push 0x4c11f0
call fcn.00406c60
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x4b1a74
jmp 0x409d8b
call fcn.004069a0
cmp eax, 1
jne 0x409d9d
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x4b1a88
push 0x4c11f0
call fcn.00406c60
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push 0x4b1a88
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x18
call fcn.004069a0
cmp eax, 1
jne 0x409de5
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push str.url:__s
push 0x4c11f0
call fcn.00406c60
cmp dword [ebp - 0x60], 8
lea eax, [ebp - 0x74]
cmovae eax, dword [ebp - 0x74]
push eax
push str.url:__s
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x18
push 0x4c11f4
xor esi, esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x4c120c], esi
push 0x4c11f4
cmovne esi, edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp esi, 1
jne 0x409e31
push 0x4b1cc0
push 0x4c11f0
call fcn.00406c60
push 0x4b1cc0
call fcn.00407a30
push 0x4b1878
call fcn.00407a30
add esp, 0x10
mov ecx, 0x4c11f0
call fcn.00406bf0
mov eax, dword [ebp - 0x30]
cmp eax, 0x10
jb 0x409e50
inc eax
lea ecx, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
call fcn.00404b60
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x44], 0
cmp eax, 0x10
jb 0x409e77
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00404b60
call fcn.0040abf0
mov eax, dword [ebp - 0xc0]
cmp eax, 8
jb 0x409e9a
inc eax
lea ecx, [ebp - 0xd4]
push eax
push dword [ebp - 0xd4]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0xc0], 7
mov word [ebp - 0xd4], ax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc4], 0
cmp eax, 0x10
jb 0x409ed5
inc eax
lea ecx, [ebp - 0x104]
push eax
push dword [ebp - 0x104]
call fcn.00404b60
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xf0], 0xf
mov dword [ebp - 0xf4], 0
mov byte [ebp - 0x104], 0
cmp eax, 8
jb 0x409f0e
inc eax
lea ecx, [ebp - 0xec]
push eax
push dword [ebp - 0xec]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0xd8], 7
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 0xdc], 0
mov word [ebp - 0xec], ax
call fcn.0040af80
mov eax, dword [ebp - 0x90]
cmp eax, 8
jb 0x409f54
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.00404b00
mov eax, dword [ebp - 0x150]
cmp eax, 8
jb 0x409f72
inc eax
lea ecx, [ebp - 0x164]
push eax
push dword [ebp - 0x164]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x150], 7
mov word [ebp - 0x164], ax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x154], 0
cmp eax, 8
jb 0x409fad
inc eax
lea ecx, [ebp - 0x17c]
push eax
push dword [ebp - 0x17c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x168], 7
mov word [ebp - 0x17c], ax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x16c], 0
cmp eax, 8
jb 0x409fdf
inc eax
lea ecx, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], 0
cmp eax, 8
jb 0x40a00e
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x7c], 0
cmp eax, 8
jb 0x40a043
inc eax
lea ecx, [ebp - 0xbc]
push eax
push dword [ebp - 0xbc]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0xa8], 7
mov word [ebp - 0xbc], ax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xac], 0
cmp eax, 8
jb 0x40a075
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x64], 0
cmp eax, 8
jb 0x40a0a7
inc eax
lea ecx, [ebp - 0x11c]
push eax
push dword [ebp - 0x11c]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x108], 7
mov word [ebp - 0x11c], ax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x10c], 0
cmp eax, 8
jb 0x40a0e2
inc eax
lea ecx, [ebp - 0x134]
push eax
push dword [ebp - 0x134]
call fcn.00404b00
xor eax, eax
mov dword [ebp - 0x120], 7
mov word [ebp - 0x134], ax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x124], 0
cmp eax, 8
jb 0x40a11d
inc eax
lea ecx, [ebp - 0x14c]
push eax
push dword [ebp - 0x14c]
call fcn.00404b00
push 0
lea ecx, [ebp - 0x14c]
mov dword [ebp - 0x138], 7
call fcn.00404c30
xor eax, eax
lea esp, [ebp - 0x218]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00439578
mov esp, ebp
pop ebp
ret