Function at 0x10009217
Capabilities:
Download url
Receive data

Disassembly:
mov eax, 0x100432bd
call fcn.10033d28
sub esp, 0x524
mov eax, dword [0x1005392c]
push ebx
push esi
push edi
lea ecx, [ebp - 0x4c0]
mov dword [ebp - 0x10], eax
call fcn.10001019
xor ebx, ebx
lea ecx, [ebp - 0x4b0]
mov dword [ebp - 4], ebx
call fcn.100255a6
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 1
call fcn.10021a5e
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], 2
call fcn.100257d3
mov dword [ebp - 0x4cc], ebx
mov dword [ebp - 0x4c8], ebx
mov dword [ebp - 0x4c4], ebx
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 4
call fcn.10024ab4
xor eax, eax
mov byte [ebp - 0x4a8], bl
mov ecx, 0xff
lea edi, [ebp - 0x4a7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x21
stosb byte es:[edi], al
lea eax, [ebp - 0x4a8]
push 0x100466d8
push eax
mov byte [ebp - 4], 5
call fcn.10033130
add esp, 0xc
mov esi, 0x10046718
push esi
push 0x21
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10024ac4
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.10001cde
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 6
call fcn.1000340e
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 5
call fcn.1000151f
push 0x1c
lea eax, [ebp - 0x4a8]
push 0x100466fc
push eax
call fcn.10033130
add esp, 0xc
push esi
push 0x1c
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.10024ac4
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4f8]
call fcn.10001cde
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x4d0]
mov byte [ebp - 4], 7
call fcn.1000340e
push ebx
push edi
lea ecx, [ebp - 0x4f8]
mov byte [ebp - 4], 5
call fcn.1000151f
lea eax, [ebp - 0x4d0]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.100267a6
pop ecx
pop ecx
lea eax, [ebp - 0x514]
push eax
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 8
call fcn.100241ce
mov esi, eax
push 0x10046730
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x530]
push eax
mov byte [ebp - 4], 9
call fcn.100024fa
push esi
push eax
lea eax, [ebp - 0x4f8]
push eax
mov byte [ebp - 4], 0xa
call fcn.100024a8
add esp, 0x18
or esi, 0xffffffff
push esi
push ebx
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xb
call fcn.10001a1c
push ebx
push edi
lea ecx, [ebp - 0x4f8]
call fcn.1000151f
push ebx
push edi
lea ecx, [ebp - 0x530]
call fcn.1000151f
push ebx
push edi
lea ecx, [ebp - 0x514]
mov byte [ebp - 4], 8
call fcn.1000151f
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000941d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
cmp dword [ebp - 0x30], 0x10
mov ecx, dword [ebp - 0x44]
jae 0x10009430
lea ecx, [ebp - 0x44]
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x1000943c
lea eax, [ebp - 0x28]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
jne 0x10009557
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.100256bb
push 8
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x10009557
lea ecx, [ebp - 0x4dc]
call fcn.10008e7b
mov esi, 0x100549c0
mov ecx, esi
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x4b8], ebx
call fcn.10001117
test eax, eax
jbe 0x100094ed
xor edi, edi
mov eax, dword [0x100549c4]
add eax, edi
push eax
lea ecx, [ebp - 0xa8]
call fcn.10001c7b
lea eax, [ebp - 0xa8]
push eax
push eax
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 0xd
call fcn.1000348e
mov ecx, eax
call fcn.10001dfc
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 0xc
call fcn.10001804
inc dword [ebp - 0x4b8]
mov ecx, esi
add edi, 0x60
call fcn.10001117
cmp dword [ebp - 0x4b8], eax
jb 0x10009492
xor edi, edi
inc edi
mov ecx, esi
call fcn.1000839b
lea eax, [ebp - 0x4dc]
push eax
push 0x100549c0
lea eax, [ebp - 0x48]
push eax
push dword [0x10094b0c]
lea ecx, [ebp - 0x4c0]
push dword [0x10094b28]
call fcn.1000350d
cmp dword [ebp - 0x30], 0x10
mov byte [ebp - 0x4a9], al
mov eax, dword [ebp - 0x44]
jae 0x1000952d
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x4b0]
call fcn.100255e2
cmp byte [ebp - 0x4a9], bl
jne 0x10009546
or esi, 0xffffffff
jmp 0x10009548
mov esi, edi
lea ecx, [ebp - 0x4dc]
mov byte [ebp - 4], 8
call fcn.100091e7
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.1000151f
lea ecx, [ebp - 0x4b4]
mov byte [ebp - 4], 4
call fcn.10024abd
lea ecx, [ebp - 0x4d0]
call fcn.10002a7d
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.1000151f
lea ecx, [ebp - 0x4bc]
mov byte [ebp - 4], 1
call fcn.10021a67
lea ecx, [ebp - 0x4b0]
mov byte [ebp - 4], bl
call fcn.100255af
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4c0]
call fcn.10001022
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.100341e0
leave
ret