Function at 0x4193d8
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12ac
call fcn.0049b9f0
mov eax, dword [0x4dbc40]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x26ec]
call fcn.0041cb07
mov esi, dword [eax]
mov dword [ebp - 0x1264], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 0x26e0]
mov dword [ebx + 0x26e4], eax
mov eax, dword [esi + 0x20]
and dword [esi + 0x2c], 0
cmp dword [eax + 4], 1
je 0x4197c2
mov edi, esi
cmp dword [edi + 0x1c], 0
je 0x41943a
push edi
call fcn.0041b22d
jmp 0x41943c
xor eax, eax
mov dword [ebx + 0x26dc], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x41944f
mov dword [ecx + 0x2450], eax
cmp dword [ebx + 0x26dc], 0xc8
jne 0x419689
mov eax, edi
mov ecx, ebx
call fcn.0041beeb
push ebx
call fcn.0041b140
push edi
mov ecx, ebx
call fcn.0041bf54
mov eax, edi
mov esi, ebx
call fcn.0041b26a
push ebx
mov eax, edi
call fcn.0041b0fb
mov edx, dword [edi + 0x38]
mov eax, dword [ebx + 0x5d128]
mov esi, dword [edi + 0x3c]
cmp eax, edx
jne 0x419689
mov eax, dword [ebx + 0x5d12c]
cmp eax, esi
jne 0x419689
xor eax, eax
cmp dword [ebx + 0x2694], eax
je 0x4194bc
cmp dword [edi + 0x30], 1
sete al
jmp 0x4194bd
inc eax
test eax, eax
je 0x419689
mov eax, dword [ebx + 0x5d130]
mov ecx, dword [ebx + 0x5d134]
test eax, eax
jne 0x4194d9
test ecx, ecx
je 0x419509
cmp eax, edx
jne 0x4194e1
cmp ecx, esi
je 0x419509
mov edi, dword [edi + 0x20]
test edi, edi
je 0x4194f2
mov dword [edi + 0x244c], 1
push dword [ebp + 8]
mov eax, ebx
call fcn.0041a437
push 0
push ebx
call fcn.00418aad
jmp 0x419b98
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x271c], eax
xor eax, eax
cmp dword [edi + 0x1c], eax
je 0x419520
mov esi, edi
call fcn.0041b2c7
test eax, eax
je 0x4195d8
xor eax, eax
mov dword [ebx + 0x247c], eax
mov dword [ebx + 0x271c], eax
mov dword [ebx + 0x2694], 1
mov dword [edi + 0x30], eax
or eax, 0xffffffff
mov dword [ebx + 0x5d128], eax
mov dword [ebx + 0x5d12c], eax
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
lea eax, [ebx + 0x5d148]
push eax
push 0x4c2d64
mov esi, 0x103
lea eax, [ebx + 0x5d350]
push esi
push eax
call fcn.00488ec0
push 0x208
lea eax, [ebx + 0x5d148]
push 0
push eax
call fcn.0048e0e0
add esp, 0x1c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebx + 0x5d148]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push 0x4c8c98
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov eax, dword [edi + 0x20]
xor esi, esi
cmp eax, esi
je 0x4195fc
cmp dword [eax + 0x2448], 0xffffffff
jne 0x4195fc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 8]
mov ecx, dword [edi + 0x20]
mov dword [ecx + 0x2448], eax
push dword [edi + 0x1c]
mov eax, dword [ebx]
push 2
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x419b96
mov eax, dword [ebx]
push esi
push 3
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x419b96
mov ecx, ebx
call fcn.0041b371
test eax, eax
je 0x419b8c
mov eax, dword [ebx]
push esi
push 4
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x419b96
cmp dword [ebx + 0x271c], esi
je 0x419b72
mov eax, dword [ebx + 0x5d128]
cmp eax, dword [ebx + 0x5d138]
jne 0x419847
mov eax, dword [ebx + 0x5d12c]
cmp eax, dword [ebx + 0x5d13c]
jne 0x419847
push dword [ebp + 8]
mov eax, ebx
call fcn.0041a437
mov dword [ebx + 0x5d120], 7
jmp 0x4196aa
xor esi, esi
cmp dword [ebx + 0x2694], esi
je 0x4196b2
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 8]
push 1
mov ecx, ebx
call fcn.0041a9ca
test eax, eax
je 0x419b8c
xor eax, eax
inc eax
jmp 0x419b98
mov eax, dword [ebx + 0x26dc]
cmp eax, 0x12e
jne 0x419791
xor eax, eax
push 0x1046
mov word [ebp - 0x125c], ax
lea eax, [ebp - 0x125a]
push esi
push eax
call fcn.0048e0e0
mov eax, dword [edi + 0x1c]
add esp, 0xc
cmp eax, esi
je 0x419b8c
lea ecx, [ebp - 0x1268]
push ecx
lea ecx, [ebp - 0x1260]
push ecx
lea ecx, [ebp - 0x125c]
push ecx
push 0x21
push eax
mov dword [ebp - 0x1268], esi
mov dword [ebp - 0x1260], 0x1047
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x419b8c
mov esi, dword [edi + 0x20]
lea eax, [ebp - 0x125c]
push 0
push eax
call fcn.00418104
pop ecx
pop ecx
test eax, eax
je 0x419b8c
xor esi, esi
cmp dword [edi + 0x24], esi
jne 0x419773
push 0x1048
lea edi, [ebx + 0x5f5e8]
push esi
push edi
call fcn.0048e0e0
add esp, 0xc
lea eax, [ebp - 0x125c]
push eax
push 0x4c2d64
push 0x823
push edi
call fcn.00488ec0
add esp, 0x10
push esi
push ebx
call fcn.00418aad
test eax, eax
je 0x419b8c
push dword [ebp + 8]
mov eax, ebx
call fcn.0041a437
jmp 0x4196aa
cmp eax, 0x194
jne 0x419693
xor eax, eax
inc eax
mov dword [ebx + 0x2470], eax
mov edi, dword [edi + 0x20]
cmp edi, esi
je 0x4197b2
mov dword [edi + 0x244c], eax
push dword [ebp + 8]
mov eax, ebx
call fcn.0041a437
push esi
jmp 0x4194fe
xor edi, edi
cmp dword [esi], edi
jne 0x419816
mov eax, dword [esi + 4]
cmp eax, edi
je 0x419816
push ebx
mov dword [esi + 0x1c], eax
call fcn.0041b140
mov eax, dword [ebx + 0x5d128]
cmp eax, dword [esi + 0x38]
jne 0x41983f
mov eax, dword [ebx + 0x5d12c]
cmp eax, dword [esi + 0x3c]
jne 0x41983f
xor eax, eax
cmp dword [ebx + 0x2694], edi
je 0x419801
cmp dword [esi + 0x30], 1
sete al
jmp 0x419802
inc eax
cmp eax, edi
je 0x41983f
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x271c], eax
mov edi, esi
jmp 0x4195d8
push 0x4c8ca0
lea eax, [esi + 0x806c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41983f
mov dword [ebx + 0x271c], edi
mov dword [esi + 0x30], edi
mov dword [ebx + 0x26e8], 0x8000000
mov dword [esi + 0x28], edi
jmp 0x419696
push 4
lea eax, [ebp - 0x1288]
push eax
push 6
push dword [edi + 0x1c]
mov dword [ebp - 0x1288], 0x4e20
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov dword [edi + 0x8040], esi
mov eax, dword [ebx + 0x2714]
sub eax, dword [ebx + 0x2710]
xor edi, edi
sar eax, 2
test eax, eax
jbe 0x4198a6
lea esi, [ebx + 0x2704]
call fcn.0041cb07
mov eax, dword [eax]
cmp dword [eax], 0
je 0x4198f0
mov eax, dword [ebx + 0x2714]
sub eax, dword [ebx + 0x2710]
inc edi
sar eax, 2
cmp edi, eax
jb 0x419880
push 8
xor eax, eax
and dword [ebp - 0x1260], eax
pop ecx
lea edi, [ebp - 0x12ac]
rep stosd dword es:[edi], eax
lea edx, [ebx + 0x5cfe0]
push 0x20
pop ecx
mov edi, edx
lea esi, [ebp - 0x12ac]
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
je 0x4198d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x419921
inc dword [ebp - 0x1260]
add edx, 0x20
cmp dword [ebp - 0x1260], 0xa
jb 0x4198bf
jmp 0x419782
lea esi, [ebx + 0x2704]
call fcn.0041cb07
mov eax, dword [eax]
lea esi, [ebx + 0x2704]
mov dword [eax], 1
call fcn.0041cb07
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1264]
mov dword [ecx + 0x8040], eax
jmp 0x419afe
mov eax, dword [ebp - 0x1260]
mov dword [ebp - 0x1268], eax
cmp eax, 0xffffffff
je 0x419782
mov eax, dword [ebx + 0x2714]
sub eax, dword [ebx + 0x2710]
or dword [ebp - 0x1260], 0xffffffff
xor edi, edi
sar eax, 2
mov dword [ebp - 0x1274], edi
mov dword [ebp - 0x1270], edi
test eax, eax
jbe 0x419782
lea esi, [ebx + 0x2704]
call fcn.0041cb07
mov eax, dword [eax]
add eax, 0x18
lea esi, [ebx + 0x2704]
mov dword [ebp - 0x1278], eax
call fcn.0041cb07
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1278]
mov eax, dword [ecx + 0x10]
sub eax, dword [edx]
lea esi, [ebx + 0x2704]
mov dword [ebp - 0x1284], eax
mov eax, dword [ecx + 0x14]
sbb eax, dword [edx + 4]
mov dword [ebp - 0x1280], eax
call fcn.0041cb07
mov edx, dword [eax]
mov eax, dword [ebp - 0x1284]
sub eax, dword [edx + 8]
mov ecx, dword [ebp - 0x1280]
sbb ecx, dword [edx + 0xc]
add eax, 1
adc ecx, 0
cmp ecx, dword [ebp - 0x1270]
jl 0x4199eb
jg 0x4199d9
cmp eax, dword [ebp - 0x1274]
jbe 0x4199eb
mov dword [ebp - 0x1274], eax
mov dword [ebp - 0x1270], ecx
mov dword [ebp - 0x1260], edi
mov eax, dword [ebx + 0x2714]
sub eax, dword [ebx + 0x2710]
inc edi
sar eax, 2
cmp edi, eax
jb 0x419962
cmp dword [ebp - 0x1260], 0xffffffff
je 0x419782
cmp dword [ebp - 0x1270], 0
jl 0x419782
jg 0x419a2f
cmp dword [ebp - 0x1274], 0x40000
jbe 0x419782
mov eax, dword [ebp - 0x1268]
mov edi, dword [ebp - 0x1260]
add eax, 0x2e7f
shl eax, 5
add eax, ebx
lea esi, [ebx + 0x2704]
mov dword [ebp - 0x1280], eax
mov dword [eax], 1
call fcn.0041cb07
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1268]
mov edx, dword [eax + 0x10]
shl ecx, 5
add ecx, ebx
mov dword [ecx + 0x5cff0], edx
mov eax, dword [eax + 0x14]
lea esi, [ebx + 0x2704]
mov dword [ebp - 0x1278], ecx
mov dword [ecx + 0x5cff4], eax
call fcn.0041cb07
mov esi, dword [eax]
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp - 0x1270]
push dword [ebp - 0x1274]
call fcn.0048e600
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
lea esi, [ebx + 0x2704]
call fcn.0041cb07
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 0x1278]
mov esi, dword [ebp - 0x1280]
add ecx, 1
adc edx, 0
mov dword [eax + 0x5cfe8], ecx
mov dword [eax + 0x5cfec], edx
lea eax, [ebp - 0x1280]
push eax
lea eax, [ebx + 0x2704]
mov dword [ebp - 0x1280], esi
call fcn.0041cb20
mov eax, dword [ebp - 0x1264]
mov dword [eax + 0x8040], esi
mov ecx, dword [ebp - 0x1264]
mov eax, dword [ecx + 0x8040]
xor esi, esi
cmp dword [eax + 8], esi
jne 0x419b26
cmp dword [eax + 0xc], esi
jne 0x419b26
mov dword [eax + 4], 1
mov dword [ecx + 0x28], 8
jmp 0x419b38
mov eax, dword [ebp + 8]
mov dword [ecx + 0x28], 4
push esi
mov ecx, ebx
call fcn.0041a9ca
cmp dword [ebx + 0x2694], esi
jne 0x419b60
xor edi, edi
inc edi
lea esi, [ebx + 0x2468]
cmp dword [esi], edi
jbe 0x419b5e
push 4
push ebx
call fcn.00418aad
test eax, eax
je 0x419b5e
inc edi
cmp edi, dword [esi]
jb 0x419b4d
xor esi, esi
mov eax, dword [ebx]
push esi
push 5
mov ecx, ebx
call dword [eax + 4]
neg eax
sbb eax, eax
neg eax
jmp 0x419b98
mov eax, dword [ebx]
push esi
push 5
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x419b96
mov dword [edi + 0x28], 8
jmp 0x4196aa
push dword [ebp + 8]
mov eax, ebx
call fcn.0041a437
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00488e60
leave
ret 4