Function at 0x100419d8
Capabilities:
Connect to http server
Read data from internet
Receive data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x102168ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1478
call fcn.101fc320
and dword [esp + 0x20], 0
push ebx
push ebp
mov ebx, ecx
lea ecx, [esp + 0x28]
push esi
push edi
push dword [ebx + 0xc]
call fcn.1000fec2
and dword [esp + 0x1494], 0
and dword [esp + 0x34], 0
mov edi, 0x102b8088
mov dword [esp + 0x24], edi
mov byte [esp + 0x1494], 1
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x10]
cmp dword [eax + 8], 0
jne 0x10041a42
mov eax, dword [ecx + 0xc]
add eax, 0xc
lea ecx, [esp + 0x24]
push eax
call fcn.1000243e
mov eax, dword [ebx + 0xc]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
push dword [eax + 0x30]
call fcn.10132f35
lea ecx, [esp + 0x54]
call fcn.10002837
mov byte [esp + 0x1494], 3
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x24]
add eax, 0xc
push eax
call fcn.1013521b
mov esi, dword [esp + 0x60]
cmp dword [esi + 8], 0
je 0x10042026
push str.https
lea ecx, [esp + 0x5c]
call fcn.100024db
mov ecx, dword [ebx + 0xc]
mov ebp, 0x600000
mov edx, 0x4600040
cmp dword [ecx + 0x28], 2
cmove ebp, edx
test al, al
je 0x10041abe
or ebp, 0x800000
mov edx, dword [esp + 0x84]
lea ecx, [esi + 0xc]
mov eax, dword [esp + 0x80]
add edx, 0xc
push 0
push ebp
push 3
push edx
add eax, 0xc
push eax
push dword [esp + 0x78]
push ecx
push dword [0x102b744c]
call dword [sym.imp.WININET.dll_InternetConnectA]
push eax
lea ecx, [ebx + 0x10]
call fcn.1004103c
cmp dword [ebx + 0x10], 0
je 0x1004201a
mov dword [esp + 0x18], edi
mov byte [esp + 0x1494], 4
xor edi, edi
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x2c]
test eax, eax
je 0x10041b1d
mov eax, dword [eax - 4]
jmp 0x10041b1f
xor eax, eax
cmp edi, eax
jge 0x10041c0e
mov eax, dword [ecx + 0x2c]
push 0
lea esi, [eax + edi*8]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call fcn.100025cc
mov byte [esp + 0x1494], 5
mov edx, dword [eax]
push ecx
add edx, 0xc
lea ecx, [esp + 0x18]
push 1
call fcn.101355fe
pop ecx
pop ecx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1494], 7
call fcn.10002371
push 0x3d
lea ecx, [esp + 0x18]
call fcn.10002561
push 0
lea eax, [esp + 0x50]
push eax
lea ecx, [esi + 4]
call fcn.100025cc
mov byte [esp + 0x1494], 8
mov edx, dword [eax]
push ecx
add edx, 0xc
lea ecx, [esp + 0x44]
push 1
call fcn.101355fe
pop ecx
pop ecx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1498], 9
call fcn.1000251c
lea ecx, [esp + 0x40]
call fcn.10002371
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1494], 7
call fcn.10002371
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
call fcn.1000251c
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x10041be5
mov eax, dword [eax - 4]
jmp 0x10041be7
xor eax, eax
dec eax
cmp edi, eax
je 0x10041bf7
push 0x26
lea ecx, [esp + 0x1c]
call fcn.10002561
lea ecx, [esp + 0x14]
mov byte [esp + 0x1494], 4
call fcn.10002371
inc edi
jmp 0x10041b0e
cmp dword [ecx + 0x28], 1
mov edi, dword [esp + 0x18]
jne 0x10041c41
cmp dword [edi + 8], 0
je 0x10041c41
mov eax, dword [esp + 0x74]
cmp dword [eax + 8], 0
je 0x10041c33
push 0x26
lea ecx, [esp + 0x78]
call fcn.10002561
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x78]
call fcn.1000251c
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x58]
call fcn.1013632d
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebx + 0xc]
add eax, 0xc
push 0
push ebp
push 0x102ae67c
push 0x10243426
push str.HTTP_1.0
push eax
call fcn.1004126b
push eax
push dword [ebx + 0x10]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [esp + 0x50], esi
mov byte [esp + 0x1494], 0xb
test esi, esi
je 0x10041ff3
mov ecx, dword [ebx + 0xc]
cmp dword [ecx + 0x28], 1
jne 0x10041cd2
mov eax, dword [esp + 0x1c]
xor ebp, ebp
push ebp
push ebp
mov ecx, esi
push dword [eax + 8]
lea edx, [eax + 0xc]
call fcn.100411bf
add esp, 0xc
test eax, eax
jne 0x10041dd9
mov edi, dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x44], eax
mov ecx, ebx
call fcn.1004115e
jmp 0x10041fea
mov dword [esp + 0x10], 0x102b8088
mov byte [esp + 0x1494], 0xc
mov eax, dword [ecx + 0x38]
lea ecx, [esp + 0x10]
cmp dword [eax + 8], 0
je 0x10041cf7
push eax
call fcn.10132f35
jmp 0x10041d01
push str.Content_Type:_application_x_www_form_urlencoded_charsetutf_8
call fcn.1000243e
mov ecx, dword [ebx + 0xc]
push 0
push 0
lea ecx, [ecx + 0x38]
call fcn.10132ec5
mov ecx, dword [ebx + 0xc]
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x10041d1f
mov eax, dword [eax - 4]
jmp 0x10041d21
xor eax, eax
test eax, eax
je 0x10041d7c
mov eax, dword [ecx + 0x34]
test eax, eax
je 0x10041d31
mov eax, dword [eax - 4]
jmp 0x10041d33
xor eax, eax
push eax
lea eax, [esp + 0x4c]
push str._r_nContent_Length:__d
push eax
call fcn.10133776
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x1498], 0xd
call fcn.1000251c
lea ecx, [esp + 0x48]
mov byte [esp + 0x1494], 0xc
call fcn.10002371
mov eax, dword [ebx + 0xc]
mov edi, dword [eax + 0x34]
test edi, edi
je 0x10041d78
mov ebp, dword [edi - 4]
jmp 0x10041d82
xor ebp, ebp
jmp 0x10041d82
mov ebp, dword [edi + 8]
add edi, 0xc
mov eax, dword [esp + 0x1c]
cmp dword [eax + 8], 0
je 0x10041da8
push 0x1025a344
lea ecx, [esp + 0x14]
call fcn.10040be2
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
call fcn.1000251c
mov eax, dword [esp + 0x10]
mov ecx, esi
push ebp
push edi
push dword [eax + 8]
lea edx, [eax + 0xc]
call fcn.100411bf
add esp, 0xc
test eax, eax
je 0x10041fce
lea ecx, [esp + 0x10]
mov byte [esp + 0x1494], 0xb
call fcn.10002371
xor ebp, ebp
mov edi, dword [ebx + 0xc]
mov ecx, esi
call fcn.10041980
mov dword [edi + 0x44], eax
mov edi, 0x400
push edi
lea eax, [esp + 0x8c]
push ebp
push eax
call fcn.101e2950
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ebp
cmp dword [eax + 0x44], 0x12d
je 0x10041e27
cmp dword [eax + 0x44], 0x12e
je 0x10041e27
cmp dword [eax + 0x44], 0x12f
jne 0x10041f08
mov ebp, dword [esp + 0x34]
inc ebp
mov dword [esp + 0x34], ebp
cmp ebp, 6
jge 0x10041fc5
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x90]
push eax
push 0x21
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x10041efe
cmp dword [esp + 0x20], 0
je 0x10041efe
push dword [esp + 0x20]
lea eax, [esp + 0x8c]
push eax
lea ecx, [esp + 0x44]
call fcn.100023d5
mov edi, eax
push ecx
mov byte [esp + 0x1498], 0xe
mov ecx, esp
mov eax, dword [ebx + 0xc]
mov dword [ecx], 0x102b8088
push dword [eax + 0xc]
call fcn.10132f35
mov edx, edi
lea ecx, [esp + 0x3c]
call fcn.100412d0
pop ecx
mov ecx, dword [ebx + 0xc]
add ecx, 0x10
push dword [eax]
call fcn.10132f35
lea ecx, [esp + 0x38]
call fcn.10002371
lea ecx, [esp + 0x3c]
call fcn.10002371
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [esp + 0x2c]
call fcn.10002371
lea ecx, [esp + 0x18]
call fcn.10002371
lea ecx, [esp + 0x54]
call fcn.10002867
lea ecx, [esp + 0x1c]
call fcn.10002371
lea ecx, [esp + 0x24]
call fcn.10002371
jmp 0x10041a22
xor ebp, ebp
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], ebp
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x90]
push eax
push 1
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x10041f3e
mov ecx, dword [ebx + 0xc]
lea edx, [esp + 0x88]
call fcn.1004138f
test al, al
je 0x10041fc5
mov ecx, dword [ebx + 0xc]
push ebp
add ecx, 0x34
call fcn.100107fb
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x10041f59
mov eax, dword [eax - 4]
jmp 0x10041f5b
mov eax, ebp
cmp eax, 0x2000000
jge 0x10041fc5
mov eax, dword [ebx + 8]
mov al, byte [eax + 8]
test al, al
je 0x10041cc6
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ebp
push eax
push 0x1000
lea eax, [esp + 0x490]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x10041fb9
cmp dword [esp + 0x14], 0
je 0x10041fb1
push dword [esp + 0x14]
mov ecx, dword [ebx + 0xc]
lea eax, [esp + 0x48c]
push eax
add ecx, 0x34
call fcn.10010936
jmp 0x10041f4a
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x44]
jmp 0x10041fbf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebx + 0xc]
mov dword [ecx + 0x44], eax
mov ecx, ebx
call fcn.1004112c
jmp 0x10041fea
mov edi, dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [edi + 0x44], eax
call fcn.1004115e
lea ecx, [esp + 0x10]
call fcn.10002371
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x10042006
mov esi, dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov dword [esi + 0x44], eax
call fcn.1004115e
lea ecx, [esp + 0x2c]
call fcn.10002371
lea ecx, [esp + 0x18]
call fcn.10002371
jmp 0x1004202d
mov esi, dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x44], eax
mov ecx, ebx
call fcn.1004115e
lea ecx, [esp + 0x54]
call fcn.10002867
lea ecx, [esp + 0x1c]
call fcn.10002371
lea ecx, [esp + 0x24]
call fcn.10002371
or dword [esp + 0x1494], 0xffffffff
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1004205d
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x148c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret