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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x12ac
call fcn.005a41d0
mov eax, dword [0x61dc40]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x26ec]
call fcn.004750c1
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 0x471d53
mov edi, esi
cmp dword [edi + 0x1c], 0
je 0x4719cb
push edi
call fcn.004737be
jmp 0x4719cd
xor eax, eax
mov dword [ebx + 0x26dc], eax
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x4719e0
mov dword [ecx + 0x2450], eax
cmp dword [ebx + 0x26dc], 0xc8
jne 0x471c1a
mov eax, edi
mov ecx, ebx
call fcn.0047447c
push ebx
call fcn.004736d1
push edi
mov ecx, ebx
call fcn.004744e5
mov eax, edi
mov esi, ebx
call fcn.004737fb
push ebx
mov eax, edi
call fcn.0047368c
mov edx, dword [edi + 0x38]
mov eax, dword [ebx + 0x5d128]
mov esi, dword [edi + 0x3c]
cmp eax, edx
jne 0x471c1a
mov eax, dword [ebx + 0x5d12c]
cmp eax, esi
jne 0x471c1a
xor eax, eax
cmp dword [ebx + 0x2694], eax
je 0x471a4d
cmp dword [edi + 0x30], 1
sete al
jmp 0x471a4e
inc eax
test eax, eax
je 0x471c1a
mov eax, dword [ebx + 0x5d130]
mov ecx, dword [ebx + 0x5d134]
test eax, eax
jne 0x471a6a
test ecx, ecx
je 0x471a9a
cmp eax, edx
jne 0x471a72
cmp ecx, esi
je 0x471a9a
mov edi, dword [edi + 0x20]
test edi, edi
je 0x471a83
mov dword [edi + 0x244c], 1
push dword [ebp + 8]
mov eax, ebx
call fcn.004729c8
push 0
push ebx
call fcn.0047103e
jmp 0x472129
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x271c], eax
xor eax, eax
cmp dword [edi + 0x1c], eax
je 0x471ab1
mov esi, edi
call fcn.00473858
test eax, eax
je 0x471b69
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 0x5db9e0
mov esi, 0x103
lea eax, [ebx + 0x5d350]
push esi
push eax
call fcn.0058f42f
push 0x208
lea eax, [ebx + 0x5d148]
push 0
push eax
call fcn.00596530
add esp, 0x1c
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call fcn.00596530
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 0x5ed00c
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 0x471b8d
cmp dword [eax + 0x2448], 0xffffffff
jne 0x471b8d
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 0x472127
mov eax, dword [ebx]
push esi
push 3
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x472127
mov ecx, ebx
call fcn.00473902
test eax, eax
je 0x47211d
mov eax, dword [ebx]
push esi
push 4
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x472127
cmp dword [ebx + 0x271c], esi
je 0x472103
mov eax, dword [ebx + 0x5d128]
cmp eax, dword [ebx + 0x5d138]
jne 0x471dd8
mov eax, dword [ebx + 0x5d12c]
cmp eax, dword [ebx + 0x5d13c]
jne 0x471dd8
push dword [ebp + 8]
mov eax, ebx
call fcn.004729c8
mov dword [ebx + 0x5d120], 7
jmp 0x471c3b
xor esi, esi
cmp dword [ebx + 0x2694], esi
je 0x471c43
mov dword [edi + 0x28], esi
mov eax, dword [ebp + 8]
push 1
mov ecx, ebx
call fcn.00472f5b
test eax, eax
je 0x47211d
xor eax, eax
inc eax
jmp 0x472129
mov eax, dword [ebx + 0x26dc]
cmp eax, 0x12e
jne 0x471d22
xor eax, eax
push 0x1046
mov word [ebp - 0x125c], ax
lea eax, [ebp - 0x125a]
push esi
push eax
call fcn.00596530
mov eax, dword [edi + 0x1c]
add esp, 0xc
cmp eax, esi
je 0x47211d
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 0x47211d
mov esi, dword [edi + 0x20]
lea eax, [ebp - 0x125c]
push 0
push eax
call fcn.00470695
pop ecx
pop ecx
test eax, eax
je 0x47211d
xor esi, esi
cmp dword [edi + 0x24], esi
jne 0x471d04
push 0x1048
lea edi, [ebx + 0x5f5e8]
push esi
push edi
call fcn.00596530
add esp, 0xc
lea eax, [ebp - 0x125c]
push eax
push 0x5db9e0
push 0x823
push edi
call fcn.0058f42f
add esp, 0x10
push esi
push ebx
call fcn.0047103e
test eax, eax
je 0x47211d
push dword [ebp + 8]
mov eax, ebx
call fcn.004729c8
jmp 0x471c3b
cmp eax, 0x194
jne 0x471c24
xor eax, eax
inc eax
mov dword [ebx + 0x2470], eax
mov edi, dword [edi + 0x20]
cmp edi, esi
je 0x471d43
mov dword [edi + 0x244c], eax
push dword [ebp + 8]
mov eax, ebx
call fcn.004729c8
push esi
jmp 0x471a8f
xor edi, edi
cmp dword [esi], edi
jne 0x471da7
mov eax, dword [esi + 4]
cmp eax, edi
je 0x471da7
push ebx
mov dword [esi + 0x1c], eax
call fcn.004736d1
mov eax, dword [ebx + 0x5d128]
cmp eax, dword [esi + 0x38]
jne 0x471dd0
mov eax, dword [ebx + 0x5d12c]
cmp eax, dword [esi + 0x3c]
jne 0x471dd0
xor eax, eax
cmp dword [ebx + 0x2694], edi
je 0x471d92
cmp dword [esi + 0x30], 1
sete al
jmp 0x471d93
inc eax
cmp eax, edi
je 0x471dd0
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x271c], eax
mov edi, esi
jmp 0x471b69
push 0x5ed014
lea eax, [esi + 0x806c]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x471dd0
mov dword [ebx + 0x271c], edi
mov dword [esi + 0x30], edi
mov dword [ebx + 0x26e8], 0x8000000
mov dword [esi + 0x28], edi
jmp 0x471c27
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 0x471e37
lea esi, [ebx + 0x2704]
call fcn.004750c1
mov eax, dword [eax]
cmp dword [eax], 0
je 0x471e81
mov eax, dword [ebx + 0x2714]
sub eax, dword [ebx + 0x2710]
inc edi
sar eax, 2
cmp edi, eax
jb 0x471e11
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 0x471e66
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x471eb2
inc dword [ebp - 0x1260]
add edx, 0x20
cmp dword [ebp - 0x1260], 0xa
jb 0x471e50
jmp 0x471d13
lea esi, [ebx + 0x2704]
call fcn.004750c1
mov eax, dword [eax]
lea esi, [ebx + 0x2704]
mov dword [eax], 1
call fcn.004750c1
mov eax, dword [eax]
mov ecx, dword [ebp - 0x1264]
mov dword [ecx + 0x8040], eax
jmp 0x47208f
mov eax, dword [ebp - 0x1260]
mov dword [ebp - 0x1268], eax
cmp eax, 0xffffffff
je 0x471d13
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 0x471d13
lea esi, [ebx + 0x2704]
call fcn.004750c1
mov eax, dword [eax]
add eax, 0x18
lea esi, [ebx + 0x2704]
mov dword [ebp - 0x1278], eax
call fcn.004750c1
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.004750c1
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 0x471f7c
jg 0x471f6a
cmp eax, dword [ebp - 0x1274]
jbe 0x471f7c
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 0x471ef3
cmp dword [ebp - 0x1260], 0xffffffff
je 0x471d13
cmp dword [ebp - 0x1270], 0
jl 0x471d13
jg 0x471fc0
cmp dword [ebp - 0x1274], 0x40000
jbe 0x471d13
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.004750c1
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.004750c1
mov esi, dword [eax]
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp - 0x1270]
push dword [ebp - 0x1274]
call fcn.00596a50
add dword [esi + 0x10], eax
adc dword [esi + 0x14], edx
lea esi, [ebx + 0x2704]
call fcn.004750c1
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.0047b54d
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 0x4720b7
cmp dword [eax + 0xc], esi
jne 0x4720b7
mov dword [eax + 4], 1
mov dword [ecx + 0x28], 8
jmp 0x4720c9
mov eax, dword [ebp + 8]
mov dword [ecx + 0x28], 4
push esi
mov ecx, ebx
call fcn.00472f5b
cmp dword [ebx + 0x2694], esi
jne 0x4720f1
xor edi, edi
inc edi
lea esi, [ebx + 0x2468]
cmp dword [esi], edi
jbe 0x4720ef
push 4
push ebx
call fcn.0047103e
test eax, eax
je 0x4720ef
inc edi
cmp edi, dword [esi]
jb 0x4720de
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 0x472129
mov eax, dword [ebx]
push esi
push 5
mov ecx, ebx
call dword [eax + 4]
test eax, eax
je 0x472127
mov dword [edi + 0x28], 8
jmp 0x471c3b
push dword [ebp + 8]
mov eax, ebx
call fcn.004729c8
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.0058f3cf
leave
ret 4