Function at 0x1000d810
Capabilities:
Download url
Receive data

Disassembly:
push 0xc74
mov eax, 0x10043ee3
call fcn.1002eafc
mov esi, dword [ebp + 8]
xor ebx, ebx
lea ecx, [ebp - 0xc60]
mov dword [ebp - 0xc7c], esi
mov byte [ebp - 0xc55], bl
call fcn.10011500
lea ecx, [ebp - 0xc78]
mov dword [ebp - 4], ebx
call fcn.1000ad27
cmp dword [esi + 0xc], 7
jne 0x1000d881
mov byte [ebp - 0xc55], 1
lea ecx, [ebp - 0xc78]
mov byte [ebp - 4], bl
call fcn.1000ad30
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc60]
call fcn.10011509
mov al, byte [ebp - 0xc55]
call fcn.1002eb58
ret 4
lea edi, [esi + 0x70]
cmp dword [edi + 0x14], 0x10
mov byte [ebp - 4], 2
mov dword [ebp - 0xc64], edi
jb 0x1000d898
mov eax, dword [edi]
jmp 0x1000d89a
mov eax, edi
push eax
lea eax, [ebp - 0xc54]
push eax
lea ecx, [ebp - 0xc60]
call fcn.100119f6
push eax
lea eax, [ebp - 0xc1c]
push 0x1009c428
push eax
mov byte [ebp - 4], 3
call fcn.1000d7ea
add esp, 0xc
lea ecx, [esi + 0x8c]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0xc80], ecx
call fcn.10001979
push ebx
push 1
lea ecx, [ebp - 0xc1c]
call fcn.100012ee
push ebx
push 1
lea ecx, [ebp - 0xc54]
call fcn.100012ee
mov dword [ebp - 0xbec], 0xf
mov dword [ebp - 0xbf0], ebx
mov byte [ebp - 0xc00], bl
mov dword [ebp - 0xc74], ebx
mov dword [ebp - 0xc70], ebx
mov dword [ebp - 0xc6c], ebx
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0xc00]
mov byte [ebp - 4], 6
call fcn.10001608
lea eax, [ebp - 0xc00]
push eax
lea ecx, [ebp - 0xc74]
call fcn.10003df5
lea ecx, [ebp - 0xc5c]
call fcn.1000ad27
push 0x3ff
lea eax, [ebp - 0x413]
push ebx
push eax
mov byte [ebp - 4], 7
mov byte [ebp - 0x414], bl
call fcn.1002eb70
push 0x13
lea eax, [ebp - 0x414]
push 0x10047eec
push eax
call fcn.1002dda0
add esp, 0x18
mov esi, 0x10047f30
push esi
push 0x13
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.1000ad37
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc1c]
call fcn.10002b9d
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ebp - 0xc74]
mov byte [ebp - 4], 8
call fcn.10003df5
push ebx
mov byte [ebp - 4], 7
push 1
lea ecx, [ebp - 0xc1c]
call fcn.100012ee
push 0x16
pop edi
push edi
lea eax, [ebp - 0x414]
push 0x10047f00
push eax
call fcn.1002dda0
add esp, 0xc
push esi
push edi
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.1000ad37
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc1c]
call fcn.10002b9d
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ebp - 0xc74]
mov byte [ebp - 4], 9
call fcn.10003df5
push ebx
push 1
lea ecx, [ebp - 0xc1c]
mov byte [ebp - 4], 7
call fcn.100012ee
push edi
lea eax, [ebp - 0x414]
push 0x10047f18
push eax
call fcn.1002dda0
add esp, 0xc
push esi
push edi
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc5c]
call fcn.1000ad37
lea eax, [ebp - 0x414]
push eax
lea ecx, [ebp - 0xc1c]
call fcn.10002b9d
lea eax, [ebp - 0xc1c]
push eax
lea ecx, [ebp - 0xc74]
mov byte [ebp - 4], 0xa
call fcn.10003df5
push ebx
push 1
lea ecx, [ebp - 0xc1c]
mov byte [ebp - 4], 7
call fcn.100012ee
lea eax, [ebp - 0xc74]
push eax
lea eax, [ebp - 0xc38]
push eax
call fcn.1000d268
pop ecx
pop ecx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0xc28], ebx
jbe 0x1000dba1
cmp dword [ebp - 0xbec], 0x10
mov ecx, dword [ebp - 0xc00]
jae 0x1000dad9
lea ecx, [ebp - 0xc00]
cmp dword [ebp - 0xc24], 0x10
mov eax, dword [ebp - 0xc38]
jae 0x1000daee
lea eax, [ebp - 0xc38]
push ecx
push eax
call fcn.10041616
pop ecx
pop ecx
test eax, eax
je 0x1000dba1
mov esi, 0x3e8
push esi
lea eax, [ebp - 0xbe4]
push ebx
push eax
call fcn.1002eb70
push esi
lea eax, [ebp - 0x7fc]
push ebx
push eax
call fcn.1002eb70
mov eax, dword [ebp - 0xc00]
add esp, 0x18
cmp dword [ebp - 0xbec], 0x10
jae 0x1000db38
lea eax, [ebp - 0xc00]
push eax
lea eax, [ebp - 0xbe4]
push eax
call fcn.10030000
lea eax, [ebp - 0xbdc]
push 0x10047ba8
push eax
call fcn.1002f030
mov esi, eax
add esp, 0x10
cmp esi, ebx
je 0x1000dba1
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x7fc]
push eax
call fcn.10030000
lea eax, [ebp - 0x7fc]
push esi
push eax
call fcn.10030010
lea eax, [ebp - 0x7fc]
push eax
call fcn.1002dd10
mov ecx, dword [ebp - 0xc64]
add esp, 0x14
push eax
lea eax, [ebp - 0x7fc]
push eax
call fcn.100016a1
mov edi, dword [ebp - 0xc80]
push 0x10
pop esi
cmp dword [edi + 0x14], esi
jb 0x1000dbb3
mov ecx, dword [edi]
jmp 0x1000dbb5
mov ecx, edi
mov eax, dword [ebp - 0xc64]
cmp dword [eax + 0x14], esi
jb 0x1000dbc2
mov eax, dword [eax]
push ebx
push ebx
push ecx
push eax
push ebx
call sub.urlmon.dll_URLDownloadToFileA
test eax, eax
je 0x1000dc19
cmp dword [edi + 0x14], esi
jb 0x1000dbd9
mov eax, dword [edi]
jmp 0x1000dbdb
mov eax, edi
push eax
lea ecx, [ebp - 0xc60]
call fcn.10011510
cmp al, bl
je 0x1000dc02
cmp dword [edi + 0x14], esi
jb 0x1000dbf4
mov eax, dword [edi]
jmp 0x1000dbf6
mov eax, edi
push eax
lea ecx, [ebp - 0xc60]
call fcn.10011661
mov esi, 0x10047689
push esi
call fcn.1002dd10
pop ecx
push eax
push esi
mov ecx, edi
call fcn.100016a1
jmp 0x1000dc20
mov byte [ebp - 0xc55], 1
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xc38]
call fcn.100012ee
lea ecx, [ebp - 0xc5c]
mov byte [ebp - 4], 6
call fcn.1000ad30
lea ecx, [ebp - 0xc74]
call fcn.100034b0
push ebx
push esi
lea ecx, [ebp - 0xc00]
call fcn.100012ee
mov dword [ebp - 4], esi
jmp 0x1000dc8a
mov al, byte [ebp - 0xc55]
mov byte [ebp - 0xc55], al
jmp 0x1000d856