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

Disassembly:
mov eax, 0x1254
call fcn.004d0e10
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1268]
mov eax, dword [esi + 0x26dc]
mov ebx, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x26cc]
xor ebp, ebp
sub eax, ecx
mov dword [esi + 0x26d0], eax
mov ecx, dword [ebx + 0x20]
mov dword [ebx + 0x2c], ebp
cmp dword [ecx + 4], 1
je 0x41d85a
push ebx
mov ecx, esi
call fcn.0041eee0
mov dword [esi + 0x26c8], eax
mov ecx, dword [ebx + 0x20]
cmp ecx, ebp
je 0x41d4f1
mov dword [ecx + 0x2450], eax
cmp dword [esi + 0x26c8], 0xc8
jne 0x41d73f
push ebx
mov ecx, esi
call fcn.00420290
push ebx
mov ecx, esi
call fcn.0041edf0
push ebx
mov ecx, esi
call fcn.00420310
push ebx
mov ecx, esi
call fcn.0041ef40
push ebx
mov ecx, esi
call fcn.0041ed90
mov edx, dword [ebx + 0x34]
mov eax, dword [esi + 0x5d0b0]
mov edi, dword [ebx + 0x38]
cmp eax, edx
jne 0x41d738
mov ecx, dword [esi + 0x5d0b4]
cmp ecx, edi
jne 0x41d738
cmp dword [esi + 0x268c], ebp
je 0x41d566
mov ecx, dword [ebx + 0x30]
xor eax, eax
cmp ecx, 1
sete al
cmp eax, ebp
je 0x41d738
mov eax, dword [esi + 0x5d0b8]
mov ecx, dword [esi + 0x5d0bc]
cmp eax, ebp
jne 0x41d57a
cmp ecx, ebp
je 0x41d5b7
cmp eax, edx
jne 0x41d582
cmp ecx, edi
je 0x41d5b7
mov ebx, dword [ebx + 0x20]
cmp ebx, ebp
je 0x41d593
mov dword [ebx + 0x244c], 1
mov edx, dword [esp + 0x1268]
mov ecx, esi
push edx
call fcn.0041e3d0
push ebp
mov ecx, esi
call fcn.0041cb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1254
ret 4
mov eax, dword [ebx + 0x30]
push ebx
mov ecx, esi
mov dword [esi + 0x26f8], eax
call fcn.0041f010
test eax, eax
je 0x41d66d
mov dword [esi + 0x268c], 1
mov dword [esi + 0x2478], ebp
mov dword [esi + 0x26f8], ebp
mov dword [ebx + 0x30], ebp
lea ebp, [esi + 0x5d0d0]
or eax, 0xffffffff
push ebp
mov dword [esi + 0x5d0b0], eax
push 0x4e923c
lea ecx, [esi + 0x5d2d8]
mov dword [esi + 0x5d0b4], eax
push 0x103
mov dword [ebx + 0x34], eax
push ecx
mov dword [ebx + 0x38], eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
mov ecx, 0x82
xor eax, eax
mov edi, ebp
add esp, 0x10
rep stosd dword es:[edi], eax
mov dx, word [0x503fd0]
mov ecx, 0x81
lea edi, [esp + 0x16]
mov word [esp + 0x14], dx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x14]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0x1c]
push 0x4e8770
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
xor ebp, ebp
mov edi, dword [esp + 0x1268]
mov eax, dword [ebx + 0x20]
cmp eax, ebp
je 0x41d698
cmp dword [eax + 0x2448], 0xffffffff
jne 0x41d698
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 8]
sub eax, ecx
mov ecx, dword [ebx + 0x20]
mov dword [ecx + 0x2448], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [esi]
push eax
push 2
mov ecx, esi
call dword [edx + 4]
test eax, eax
je 0x41d9f7
mov edx, dword [esi]
push ebp
push 3
mov ecx, esi
call dword [edx + 4]
test eax, eax
je 0x41d9f7
mov ecx, esi
call fcn.0041f0a0
test eax, eax
je 0x41d9ef
mov eax, dword [esi]
push ebp
push 4
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x41d9f7
cmp dword [esi + 0x26f8], ebp
je 0x41d9c1
mov ecx, dword [esi + 0x5d0b0]
mov eax, dword [esi + 0x5d0c0]
cmp ecx, eax
jne 0x41d8ff
mov edx, dword [esi + 0x5d0b4]
mov eax, dword [esi + 0x5d0c4]
cmp edx, eax
jne 0x41d8ff
push edi
mov ecx, esi
call fcn.0041e3d0
mov dword [esi + 0x5d0ac], 7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
mov edi, dword [esp + 0x1268]
cmp dword [esi + 0x268c], ebp
jne 0x41d8d8
mov eax, dword [esi + 0x26c8]
cmp eax, 0x12e
jne 0x41d81a
mov dx, word [0x503fd0]
mov ecx, 0x411
xor eax, eax
lea edi, [esp + 0x21e]
mov word [esp + 0x21c], dx
push 0x1048
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x220]
mov ecx, esi
push eax
push ebx
call fcn.0041efc0
test eax, eax
je 0x41d9e8
mov ecx, dword [ebx + 0x20]
push ebp
lea edx, [esp + 0x220]
push ecx
push edx
call fcn.0041c020
add esp, 0xc
test eax, eax
je 0x41d9e8
cmp dword [ebx + 0x24], ebp
jne 0x41d7e9
lea edx, [esi + 0x5f570]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
push eax
push 0x4e923c
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push ebp
mov ecx, esi
call fcn.0041cb60
test eax, eax
je 0x41d9e8
mov ecx, dword [esp + 0x1268]
push ecx
mov ecx, esi
call fcn.0041e3d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
cmp eax, 0x194
jne 0x41d8d8
mov eax, 1
mov dword [esi + 0x246c], eax
mov ebx, dword [ebx + 0x20]
cmp ebx, ebp
je 0x41d83d
mov dword [ebx + 0x244c], eax
push edi
mov ecx, esi
call fcn.0041e3d0
push ebp
mov ecx, esi
call fcn.0041cb60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1254
ret 4
cmp dword [ebx], ebp
jne 0x41d8af
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x41d8af
push ebx
mov ecx, esi
mov dword [ebx + 0x1c], eax
call fcn.0041edf0
mov edx, dword [esi + 0x5d0b0]
mov eax, dword [ebx + 0x34]
cmp edx, eax
jne 0x41d8d8
mov eax, dword [esi + 0x5d0b4]
mov ecx, dword [ebx + 0x38]
cmp eax, ecx
jne 0x41d8d8
cmp dword [esi + 0x268c], ebp
je 0x41d8a1
mov edx, dword [ebx + 0x30]
xor eax, eax
cmp edx, 1
sete al
cmp eax, ebp
je 0x41d8d8
mov ecx, dword [ebx + 0x30]
mov dword [esi + 0x26f8], ecx
jmp 0x41d674
lea edx, [ebx + 0x8068]
push 0x4ead34
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x41d8d8
mov dword [esi + 0x26f8], ebp
mov dword [ebx + 0x30], ebp
mov dword [esi + 0x26d4], 0x8000000
push 1
push edi
mov ecx, esi
mov dword [ebx + 0x28], ebp
call fcn.0041e930
test eax, eax
je 0x41d9ef
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
mov ecx, dword [ebx + 0x1c]
lea eax, [esp + 0x10]
push 4
push eax
push 6
push ecx
mov dword [esp + 0x20], 0x4e20
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push 0xffffffffffffffff
push 0xffffffffffffffff
push ebp
push ebx
mov ecx, esi
call fcn.0041fdf0
test eax, eax
je 0x41d9a7
mov eax, dword [ebx + 0x803c]
cmp dword [eax + 8], ebp
jne 0x41d94b
cmp dword [eax + 0xc], ebp
jne 0x41d94b
mov dword [eax + 4], 1
mov dword [ebx + 0x28], 8
jmp 0x41d95b
push ebp
push edi
mov ecx, esi
mov dword [ebx + 0x28], 4
call fcn.0041e930
cmp dword [esi + 0x268c], ebp
jne 0x41d98a
mov eax, dword [esi + 0x2464]
mov edi, 1
cmp eax, edi
jbe 0x41d98a
push 4
mov ecx, esi
call fcn.0041cb60
test eax, eax
je 0x41d98a
mov eax, dword [esi + 0x2464]
inc edi
cmp edi, eax
jb 0x41d972
mov edx, dword [esi]
push ebp
push 5
mov ecx, esi
call dword [edx + 4]
neg eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 0x1254
ret 4
push edi
mov ecx, esi
call fcn.0041e3d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
mov eax, dword [esi]
push ebp
push 5
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x41d9f7
pop edi
pop esi
mov dword [ebx + 0x28], 8
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
mov edi, dword [esp + 0x1268]
push edi
mov ecx, esi
call fcn.0041e3d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1254
ret 4