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

Disassembly:
mov eax, 0x1254
call fcn.004d4ce0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1268]
mov eax, dword [esi + 0x26c4]
mov ebx, dword [eax + edi*4]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x26b4]
xor ebp, ebp
sub eax, ecx
mov dword [esi + 0x26b8], eax
mov ecx, dword [ebx + 0x1c]
mov dword [ebx + 0x24], ebp
cmp dword [ecx + 4], 1
je 0x4a4f44
push ebx
mov ecx, esi
call fcn.004a63d0
cmp eax, 0xc8
mov dword [esi + 0x26b0], eax
jne 0x4a4e4a
push ebx
mov ecx, esi
call fcn.004a74b0
push ebx
mov ecx, esi
call fcn.004a62e0
push ebx
mov ecx, esi
call fcn.004a7530
push ebx
mov ecx, esi
call fcn.004a6430
mov edx, dword [esi + 0x5ceb8]
mov eax, dword [ebx + 0x2c]
cmp edx, eax
jne 0x4a4e4a
mov eax, dword [esi + 0x5cebc]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jne 0x4a4e4a
cmp dword [esi + 0x267c], ebp
je 0x4a4cec
mov edx, dword [ebx + 0x28]
xor eax, eax
cmp edx, 1
sete al
cmp eax, ebp
je 0x4a4e4a
mov ecx, dword [ebx + 0x28]
push ebx
mov dword [esi + 0x26e0], ecx
mov ecx, esi
call fcn.004a6500
test eax, eax
je 0x4a4daa
mov dword [esi + 0x267c], 1
mov dword [esi + 0x2468], ebp
mov dword [esi + 0x26e0], ebp
mov dword [ebx + 0x28], ebp
lea ebp, [esi + 0x5cec8]
or eax, 0xffffffff
push ebp
mov dword [esi + 0x5ceb8], eax
push 0x4ed128
lea edx, [esi + 0x5d0d0]
mov dword [esi + 0x5cebc], eax
push 0x103
mov dword [ebx + 0x2c], eax
push edx
mov dword [ebx + 0x30], 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 ax, word [0x500df0]
mov ecx, 0x81
mov word [esp + 0x14], ax
xor eax, eax
lea edi, [esp + 0x16]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0x103
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push ebp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea edx, [esp + 0x1c]
push 0x4ef034
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, dword [esp + 0x1268]
xor ebp, ebp
mov ecx, dword [ebx + 0x18]
mov eax, dword [esi]
push ecx
push 2
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a50e1
mov edx, dword [esi]
push ebp
push 3
mov ecx, esi
call dword [edx + 4]
test eax, eax
je 0x4a50e1
mov ecx, esi
call fcn.004a6590
test eax, eax
je 0x4a50d9
mov eax, dword [esi]
push ebp
push 4
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a50e1
cmp dword [esi + 0x26e0], ebp
je 0x4a50ab
mov ecx, dword [esi + 0x5ceb8]
mov eax, dword [esi + 0x5cec0]
cmp ecx, eax
jne 0x4a4fe9
mov edx, dword [esi + 0x5cebc]
mov eax, dword [esi + 0x5cec4]
cmp edx, eax
jne 0x4a4fe9
push edi
mov ecx, esi
call fcn.004a59d0
mov dword [esi + 0x5ceb4], 7
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
cmp dword [esi + 0x267c], ebp
jne 0x4a4fc2
mov eax, dword [esi + 0x26b0]
cmp eax, 0x12e
jne 0x4a4f2a
mov ax, word [0x500df0]
mov ecx, 0x411
mov word [esp + 0x21c], ax
xor eax, eax
lea edi, [esp + 0x21e]
push 0x1048
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x220]
push ecx
push ebx
mov ecx, esi
stosw word es:[edi], ax
call fcn.004a64b0
test eax, eax
je 0x4a50d2
lea edx, [esi + 0xc]
push ebp
mov edi, edx
push edx
mov ecx, 0x912
xor eax, eax
lea edx, [esp + 0x224]
rep stosd dword es:[edi], eax
push edx
call fcn.004a39e0
add esp, 0xc
test eax, eax
je 0x4a50d2
lea edx, [esi + 0x5f368]
mov ecx, 0x412
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x21c]
push eax
push 0x4ed128
push 0x823
push edx
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov ecx, esi
push ebp
call fcn.004a4300
test eax, eax
je 0x4a50d2
mov ecx, dword [esp + 0x1268]
push ecx
mov ecx, esi
call fcn.004a59d0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
cmp eax, 0x194
jne 0x4a4fc2
mov dword [esi + 0x2460], 1
jmp 0x4a50d9
cmp dword [ebx], ebp
jne 0x4a4f99
mov eax, dword [ebx + 4]
cmp eax, ebp
je 0x4a4f99
push ebx
mov ecx, esi
mov dword [ebx + 0x18], eax
call fcn.004a62e0
mov edx, dword [esi + 0x5ceb8]
mov eax, dword [ebx + 0x2c]
cmp edx, eax
jne 0x4a4fc2
mov eax, dword [esi + 0x5cebc]
mov ecx, dword [ebx + 0x30]
cmp eax, ecx
jne 0x4a4fc2
cmp dword [esi + 0x267c], ebp
je 0x4a4f8b
mov edx, dword [ebx + 0x28]
xor eax, eax
cmp edx, 1
sete al
cmp eax, ebp
je 0x4a4fc2
mov ecx, dword [ebx + 0x28]
mov dword [esi + 0x26e0], ecx
jmp 0x4a4daa
lea edx, [ebx + 0x8060]
push 0x4fe5b0
push edx
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x4a4fc2
mov dword [esi + 0x26e0], ebp
mov dword [ebx + 0x28], ebp
mov dword [esi + 0x26bc], 0x8000000
push 1
push edi
mov ecx, esi
mov dword [ebx + 0x20], ebp
call fcn.004a5e40
test eax, eax
je 0x4a50d9
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x1254
ret 4
mov ecx, dword [ebx + 0x18]
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.004a7010
test eax, eax
je 0x4a5091
mov eax, dword [ebx + 0x8034]
cmp dword [eax + 8], ebp
jne 0x4a5035
cmp dword [eax + 0xc], ebp
jne 0x4a5035
mov dword [eax + 4], 1
mov dword [ebx + 0x20], 8
jmp 0x4a5045
push ebp
push edi
mov ecx, esi
mov dword [ebx + 0x20], 4
call fcn.004a5e40
cmp dword [esi + 0x267c], ebp
jne 0x4a5074
mov eax, dword [esi + 0x2458]
mov edi, 1
cmp eax, edi
jbe 0x4a5074
push 4
mov ecx, esi
call fcn.004a4300
test eax, eax
je 0x4a5074
mov eax, dword [esi + 0x2458]
inc edi
cmp edi, eax
jb 0x4a505c
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.004a59d0
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 0x4a50e1
pop edi
pop esi
mov dword [ebx + 0x20], 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.004a59d0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1254
ret 4