Function at 0x1001c480
Capabilities:
Connect to http server
Create http request
Make an http request with a cookie
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004220d
mov eax, dword fs:[0]
push eax
mov eax, 0xc6254
call fcn.10020200
mov eax, dword [0x1005a1b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc619c], 0
mov dword [ebp - 4], 6
cmp dword [ebp + 0x24], 2
jle 0x1001c54c
push 0x100496aa
mov ecx, dword [ebp + 8]
call fcn.100038e0
mov eax, dword [ebp - 0xc619c]
or eax, 1
mov dword [ebp - 0xc619c], eax
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
jmp 0x1001d408
lea ecx, [ebp - 0xc5f88]
call fcn.10003b90
mov byte [ebp - 4], 7
cmp dword [ebp + 0x24], 0
jne 0x1001c571
push 0x100497ec
lea ecx, [ebp - 0xc5f88]
call fcn.10013be0
cmp dword [ebp + 0x24], 1
jne 0x1001c587
push 0x100497f0
lea ecx, [ebp - 0xc5f88]
call fcn.10013be0
cmp dword [ebp + 0x24], 2
jne 0x1001c59d
push 0x100497f8
lea ecx, [ebp - 0xc5f88]
call fcn.10013be0
mov dword [ebp - 0xc61c8], 0
push 8
push 0
lea ecx, [ebp - 0xc5fd0]
push ecx
lea ecx, [ebp + 0xc]
call fcn.10018960
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5fd0]
call fcn.10009c20
push eax
push 0x10049800
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1001c5e3
mov dword [ebp - 0xc61c8], 1
lea ecx, [ebp - 0xc5f70]
call fcn.10003b90
mov byte [ebp - 4], 9
push 0
push 0x1004980c
lea ecx, [ebp + 0x70]
call fcn.10018670
cmp eax, 0xffffffff
je 0x1001c6e1
push str.User___Agent:
lea ecx, [ebp - 0xc6030]
call fcn.100038e0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc6030]
call fcn.1000c7e0
mov dword [ebp - 0xc61ec], eax
lea ecx, [ebp + 0x70]
call fcn.1000c7e0
mov dword [ebp - 0xc61f0], eax
mov edx, dword [ebp - 0xc61f0]
push edx
mov eax, dword [ebp - 0xc61ec]
push eax
lea ecx, [ebp - 0xc6060]
push ecx
lea ecx, [ebp + 0x70]
call fcn.10018960
mov dword [ebp - 0xc61e8], eax
mov edx, dword [ebp - 0xc61e8]
push edx
lea ecx, [ebp - 0xc5f70]
call fcn.10005120
lea ecx, [ebp - 0xc6060]
call fcn.10004bd0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc6250], esp
lea eax, [ebp - 0xc5f70]
push eax
call fcn.10003770
lea ecx, [ebp - 0xc6048]
push ecx
call fcn.1001be60
add esp, 0x1c
mov dword [ebp - 0xc624c], eax
mov edx, dword [ebp - 0xc624c]
mov dword [ebp - 0xc6248], edx
mov eax, dword [ebp - 0xc6248]
push eax
lea ecx, [ebp - 0xc5f70]
call fcn.10005120
lea ecx, [ebp - 0xc6048]
call fcn.10004bd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc6030]
call fcn.10004bd0
push 0x100496ab
lea ecx, [ebp - 0xc5f70]
push ecx
call fcn.100139f0
add esp, 8
movzx edx, al
test edx, edx
je 0x1001c70c
push 0x1004982c
lea ecx, [ebp - 0xc5f70]
call fcn.10013be0
push 0x100496b1
lea eax, [ebp + 0xa8]
push eax
call fcn.100139f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x1001c756
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0xc5f70]
call fcn.10009c20
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc61a8], eax
mov dword [ebp - 0xc6254], 1
jmp 0x1001c7ef
cmp dword [ebp - 0xc61c8], 1
jne 0x1001c789
push 0
push 0x100496b2
lea edx, [ebp + 0xa8]
push edx
push 3
lea ecx, [ebp - 0xc5f70]
call fcn.10009c20
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc61a8], eax
jmp 0x1001c7ef
lea eax, [ebp + 0xa8]
push eax
push 0x10049864
lea ecx, [ebp - 0xc6198]
push ecx
call fcn.10001360
add esp, 0xc
mov dword [ebp - 0xc6244], eax
mov edx, dword [ebp - 0xc6244]
push edx
lea ecx, [ebp + 0xa8]
call fcn.10005120
lea ecx, [ebp - 0xc6198]
call fcn.10004bd0
push 0
push 0x100496b3
lea eax, [ebp + 0xa8]
push eax
push 3
lea ecx, [ebp - 0xc5f70]
call fcn.10009c20
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp - 0xc61a8], eax
cmp dword [ebp - 0xc61a8], 0
jne 0x1001c8aa
push 0x100496bd
mov ecx, dword [ebp + 8]
call fcn.100038e0
mov ecx, dword [ebp - 0xc619c]
or ecx, 1
mov dword [ebp - 0xc619c], ecx
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5f70]
call fcn.10004bd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc5fd0]
call fcn.10004bd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc5f88]
call fcn.10004bd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
jmp 0x1001d408
cmp dword [ebp - 0xc61a8], 0
jne 0x1001c972
mov edx, dword [ebp - 0xc61a8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x100496be
mov ecx, dword [ebp + 8]
call fcn.100038e0
mov eax, dword [ebp - 0xc619c]
or eax, 1
mov dword [ebp - 0xc619c], eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5f70]
call fcn.10004bd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc5fd0]
call fcn.10004bd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc5f88]
call fcn.10004bd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
jmp 0x1001d408
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc6258], esp
lea edx, [ebp + 0xc]
push edx
call fcn.10003770
lea eax, [ebp - 0xc5fb8]
push eax
call fcn.1001c2c0
add esp, 0x1c
mov dword [ebp - 0xc625c], eax
mov byte [ebp - 4], 0xb
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc6260], esp
lea edx, [ebp + 0xc]
push edx
call fcn.10003770
call fcn.1001c420
add esp, 0x18
mov dword [ebp - 0xc6240], eax
mov eax, dword [ebp - 0xc6240]
mov dword [ebp - 0xc6238], eax
push 0
push 0
push 3
push 0
push 0
movzx ecx, word [ebp - 0xc6238]
push ecx
lea ecx, [ebp - 0xc5fb8]
call fcn.10009c20
push eax
mov edx, dword [ebp - 0xc61a8]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0xc61b8], eax
cmp dword [ebp - 0xc61b8], 0
jne 0x1001cae2
mov eax, dword [ebp - 0xc61a8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 0xc61b8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x100496bf
mov ecx, dword [ebp + 8]
call fcn.100038e0
mov edx, dword [ebp - 0xc619c]
or edx, 1
mov dword [ebp - 0xc619c], edx
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc5fb8]
call fcn.10004bd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5f70]
call fcn.10004bd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc5fd0]
call fcn.10004bd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc5f88]
call fcn.10004bd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
jmp 0x1001d408
mov dword [ebp - 0xc61a4], SysReAllocString
mov dword [ebp - 0xc6234], 0x10
mov eax, dword [ebp - 0xc61a4]
or eax, dword [ebp - 0xc6234]
mov dword [ebp - 0xc61ac], eax
lea ecx, [ebp + 0x40]
call fcn.1000c7e0
test eax, eax
jbe 0x1001cb30
mov dword [ebp - 0xc61a4], 0x80000
mov ecx, dword [ebp - 0xc61ac]
or ecx, dword [ebp - 0xc61a4]
mov dword [ebp - 0xc61ac], ecx
cmp dword [ebp + 0xa0], 0
je 0x1001cb55
mov dword [ebp - 0xc61a4], 0x200000
mov edx, dword [ebp - 0xc61ac]
or edx, dword [ebp - 0xc61a4]
mov dword [ebp - 0xc61ac], edx
cmp dword [ebp - 0xc61c8], 1
jne 0x1001cb7c
mov dword [ebp - 0xc61a4], 0x800000
mov eax, dword [ebp - 0xc61ac]
or eax, dword [ebp - 0xc61a4]
mov dword [ebp - 0xc61ac], eax
jmp 0x1001cb98
mov dword [ebp - 0xc61a4], 0x4000
mov ecx, dword [ebp - 0xc61ac]
or ecx, dword [ebp - 0xc61a4]
mov dword [ebp - 0xc61ac], ecx
lea ecx, [ebp + 0xc]
call fcn.1000c7e0
mov dword [ebp - 0xc61c0], eax
push 0
lea edx, [ebp - 0xc5fb8]
push edx
lea ecx, [ebp + 0xc]
call fcn.10018630
mov esi, eax
lea ecx, [ebp - 0xc5fb8]
call fcn.1000c7e0
add esi, eax
mov dword [ebp - 0xc61cc], esi
mov eax, dword [ebp - 0xc61c0]
sub eax, dword [ebp - 0xc61cc]
push eax
mov ecx, dword [ebp - 0xc61cc]
push ecx
lea edx, [ebp - 0xc6018]
push edx
lea ecx, [ebp + 0xc]
call fcn.10018960
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc5f88]
call fcn.10009c20
mov dword [ebp - 0xc622c], eax
lea ecx, [ebp - 0xc6018]
call fcn.10009c20
mov dword [ebp - 0xc6230], eax
push 0
mov eax, dword [ebp - 0xc61ac]
push eax
push 0
push 0
push 0x1004986c
mov ecx, dword [ebp - 0xc6230]
push ecx
mov edx, dword [ebp - 0xc622c]
push edx
mov eax, dword [ebp - 0xc61b8]
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [ebp - 0xc61b0], eax
cmp dword [ebp - 0xc61b0], 0
jne 0x1001cd48
mov ecx, dword [ebp - 0xc61a8]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xc61b8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xc61b0]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x100496ce
mov ecx, dword [ebp + 8]
call fcn.100038e0
mov ecx, dword [ebp - 0xc619c]
or ecx, 1
mov dword [ebp - 0xc619c], ecx
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc6018]
call fcn.10004bd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc5fb8]
call fcn.10004bd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5f70]
call fcn.10004bd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc5fd0]
call fcn.10004bd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc5f88]
call fcn.10004bd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
jmp 0x1001d408
push 0x100496cf
lea edx, [ebp + 0x70]
push edx
call fcn.100139f0
add esp, 8
movzx eax, al
test eax, eax
je 0x1001cd72
push 0x10049878
lea ecx, [ebp + 0x70]
call fcn.10013be0
jmp 0x1001ce08
push 0
push 0x10049884
lea ecx, [ebp + 0x70]
call fcn.10018670
mov dword [ebp - 0xc61c0], eax
cmp dword [ebp - 0xc61c0], 0xffffffff
jne 0x1001ce08
push 0x1004988c
push 0x10049898
lea ecx, [ebp + 0x70]
push ecx
lea edx, [ebp - 0xc6168]
push edx
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0xc6228], eax
mov eax, dword [ebp - 0xc6228]
mov dword [ebp - 0xc6224], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc6224]
push ecx
lea edx, [ebp - 0xc6180]
push edx
call fcn.100012e0
add esp, 0xc
mov dword [ebp - 0xc6220], eax
mov eax, dword [ebp - 0xc6220]
push eax
lea ecx, [ebp + 0x70]
call fcn.10005120
lea ecx, [ebp - 0xc6180]
call fcn.10004bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc6168]
call fcn.10004bd0
push 0
push 0x1004989c
lea ecx, [ebp + 0x70]
call fcn.10018670
push 0
push 0x100498a8
lea ecx, [ebp + 0x70]
call fcn.10018670
cmp eax, 0xffffffff
jne 0x1001cea3
push 0x100498bc
push 0x100498d4
lea ecx, [ebp + 0x70]
push ecx
lea edx, [ebp - 0xc6138]
push edx
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0xc621c], eax
mov eax, dword [ebp - 0xc621c]
mov dword [ebp - 0xc61f4], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xc61f4]
push ecx
lea edx, [ebp - 0xc6150]
push edx
call fcn.100012e0
add esp, 0xc
mov dword [ebp - 0xc6214], eax
mov eax, dword [ebp - 0xc6214]
push eax
lea ecx, [ebp + 0x70]
call fcn.10005120
lea ecx, [ebp - 0xc6150]
call fcn.10004bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc6138]
call fcn.10004bd0
push 0
push 0x100498d8
lea ecx, [ebp + 0x70]
call fcn.10018670
push 0x100496de
lea ecx, [ebp + 0x40]
push ecx
call fcn.1001baf0
add esp, 8
movzx edx, al
test edx, edx
je 0x1001d016
push 0
push 0x100498e8
lea ecx, [ebp + 0x40]
call fcn.10018670
cmp eax, 0xffffffff
jne 0x1001cf9f
lea eax, [ebp + 0x40]
push eax
push 0x100498f0
push 0x100498fc
lea ecx, [ebp + 0x70]
push ecx
lea edx, [ebp - 0xc6108]
push edx
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0xc6210], eax
mov eax, dword [ebp - 0xc6210]
mov dword [ebp - 0xc620c], eax
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0xc620c]
push ecx
lea edx, [ebp - 0xc6078]
push edx
call fcn.100012e0
add esp, 0xc
mov dword [ebp - 0xc6208], eax
mov eax, dword [ebp - 0xc6208]
mov dword [ebp - 0xc6204], eax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0xc6204]
push ecx
lea edx, [ebp - 0xc6120]
push edx
call fcn.10014620
add esp, 0xc
mov dword [ebp - 0xc6200], eax
mov eax, dword [ebp - 0xc6200]
push eax
lea ecx, [ebp + 0x70]
call fcn.10005120
lea ecx, [ebp - 0xc6120]
call fcn.10004bd0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc6078]
call fcn.10004bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc6108]
call fcn.10004bd0
jmp 0x1001d016
lea ecx, [ebp + 0x40]
push ecx
push 0x10049900
lea edx, [ebp + 0x70]
push edx
lea eax, [ebp - 0xc60d8]
push eax
call fcn.1001bbc0
add esp, 0xc
mov dword [ebp - 0xc61fc], eax
mov ecx, dword [ebp - 0xc61fc]
mov dword [ebp - 0xc61f8], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xc61f8]
push edx
lea eax, [ebp - 0xc60f0]
push eax
call fcn.10014620
add esp, 0xc
mov dword [ebp - 0xc623c], eax
mov ecx, dword [ebp - 0xc623c]
push ecx
lea ecx, [ebp + 0x70]
call fcn.10005120
lea ecx, [ebp - 0xc60f0]
call fcn.10004bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc60d8]
call fcn.10004bd0
mov dword [ebp - 0xc6218], 0x1f380
push 4
lea edx, [ebp - 0xc6218]
push edx
push 0x1f
mov eax, dword [ebp - 0xc61b0]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
je 0x1001d045
mov byte [ebp - 0xc619d], 1
jmp 0x1001d04c
mov byte [ebp - 0xc619d], 0
mov cl, byte [ebp - 0xc619d]
mov byte [ebp - 0xc61b9], cl
cmp dword [ebp + 0x24], 0
jne 0x1001d088
push 0
mov edx, dword [ebp + 0xa4]
push edx
lea ecx, [ebp + 0x70]
call fcn.1000c7e0
push eax
lea ecx, [ebp + 0x70]
call fcn.10009c20
push eax
mov eax, dword [ebp - 0xc61b0]
push eax
call dword [sym.imp.WININET.dll_HttpSendRequestA]
jmp 0x1001d0c5
lea ecx, [ebp + 0x28]
call fcn.10009c20
mov dword [ebp - 0xc61d4], eax
lea ecx, [ebp + 0x28]
call fcn.1000c7e0
push eax
mov ecx, dword [ebp - 0xc61d4]
push ecx
lea ecx, [ebp + 0x70]
call fcn.1000c7e0
push eax
lea ecx, [ebp + 0x70]
call fcn.10009c20
push eax
mov edx, dword [ebp - 0xc61b0]
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp - 0xc61b4], 1
push 0x400
push 0
lea eax, [ebp - 0x410]
push eax
call fcn.10022a00
add esp, 0xc
push 0xc47c0
push 0
lea ecx, [ebp - 0xc5f58]
push ecx
call fcn.10022a00
add esp, 0xc
lea ecx, [ebp - 0xc5fa0]
call fcn.10003b90
mov byte [ebp - 4], 0x12
mov dword [ebp - 0xc61c4], 0
cmp dword [ebp - 0xc61b4], 0
je 0x1001d188
mov dword [ebp - 0xc61b4], 0
lea edx, [ebp - 0xc61b4]
push edx
push 0x400
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0xc61b0]
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp dword [ebp - 0xc61b4], 0
je 0x1001d186
mov edx, dword [ebp - 0xc61b4]
push edx
lea eax, [ebp - 0x410]
push eax
mov ecx, dword [ebp - 0xc61c4]
lea edx, [ebp + ecx - 0xc5f58]
push edx
call fcn.10022480
add esp, 0xc
mov eax, dword [ebp - 0xc61b4]
add eax, dword [ebp - 0xc61c4]
mov dword [ebp - 0xc61c4], eax
jmp 0x1001d114
lea ecx, [ebp - 0xc5f58]
push ecx
lea ecx, [ebp - 0xc5fa0]
call fcn.10013be0
lea edx, [ebp - 0xc5fa0]
push edx
lea eax, [ebp - 0xc60c0]
push eax
call fcn.1001bf80
add esp, 8
mov dword [ebp - 0xc61d8], eax
mov ecx, dword [ebp - 0xc61d8]
push ecx
lea ecx, [ebp - 0xc5fa0]
call fcn.10005120
lea ecx, [ebp - 0xc60c0]
call fcn.10004bd0
push 0x1388
push 0
lea edx, [ebp - 0x1798]
push edx
call fcn.10022a00
add esp, 0xc
mov dword [ebp - 0xc61dc], 0x1388
push 0
lea eax, [ebp - 0xc61dc]
push eax
lea ecx, [ebp - 0x1798]
push ecx
push 0x16
mov edx, dword [ebp - 0xc61b0]
push edx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
lea eax, [ebp - 0x1798]
push eax
lea ecx, [ebp - 0xc6000]
call fcn.100038e0
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc5fe8]
call fcn.10003b90
mov byte [ebp - 4], 0x14
push 0
push 0x10049904
lea ecx, [ebp - 0xc6000]
call fcn.10018670
mov dword [ebp - 0xc61d0], eax
cmp dword [ebp - 0xc61d0], 0xffffffff
je 0x1001d29b
push 3
mov ecx, dword [ebp - 0xc61d0]
add ecx, 9
push ecx
lea edx, [ebp - 0xc60a8]
push edx
lea ecx, [ebp - 0xc6000]
call fcn.10018960
mov dword [ebp - 0xc61e0], eax
mov eax, dword [ebp - 0xc61e0]
push eax
lea ecx, [ebp - 0xc5fe8]
call fcn.10005120
lea ecx, [ebp - 0xc60a8]
call fcn.10004bd0
jmp 0x1001d2ab
push 0x10049910
lea ecx, [ebp - 0xc5fe8]
call fcn.10013be0
mov ecx, dword [ebp - 0xc61b0]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [ebp - 0xc61b8]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0xc61a8]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea ecx, [ebp - 0xc5fa0]
push ecx
lea edx, [ebp - 0xc5fe8]
push edx
lea eax, [ebp - 0xc6090]
push eax
call fcn.1001bb30
add esp, 0xc
mov dword [ebp - 0xc61e4], eax
mov ecx, dword [ebp - 0xc61e4]
push ecx
lea ecx, [ebp - 0xc5fa0]
call fcn.10005120
lea ecx, [ebp - 0xc6090]
call fcn.10004bd0
lea edx, [ebp - 0xc5fa0]
push edx
mov ecx, dword [ebp + 8]
call fcn.10003720
mov eax, dword [ebp - 0xc619c]
or eax, 1
mov dword [ebp - 0xc619c], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc5fe8]
call fcn.10004bd0
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc6000]
call fcn.10004bd0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc5fa0]
call fcn.10004bd0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc6018]
call fcn.10004bd0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc5fb8]
call fcn.10004bd0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc5f70]
call fcn.10004bd0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc5fd0]
call fcn.10004bd0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc5f88]
call fcn.10004bd0
mov byte [ebp - 4], 5
lea ecx, [ebp + 0xc]
call fcn.10004bd0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x28]
call fcn.10004bd0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x40]
call fcn.10004bd0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x58]
call fcn.10004bd0
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x70]
call fcn.10004bd0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x88]
call fcn.10004bd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xa8]
call fcn.10004bd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1001fa8c
mov esp, ebp
pop ebp
ret