Function at 0x41ce80
Capabilities:
Check http status code
Connect to http server
Create http request
Get http content length
Read data from internet
Receive data
Reference http user-agent string
Resolve function by parsing pe exports
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x4d6b61
mov eax, dword fs:[0]
push eax
sub esp, 0x5c8
mov eax, dword [0x536f50]
xor eax, esp
mov dword [esp + 0x5c4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x536f50]
xor eax, esp
push eax
lea eax, [esp + 0x5dc]
mov dword fs:[0], eax
mov edi, dword [esp + 0x5ec]
mov ebp, dword [esp + 0x5f0]
xor ebx, ebx
push ebx
xor eax, eax
push 0x4de910
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
mov word [esp + 0xe8], ax
call fcn.00402500
sub esp, 0x1c
mov esi, esp
mov eax, ebp
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x600], ebx
mov dword [esp + 0x34], esp
mov byte [esi + 4], bl
lea ecx, [eax + 1]
jmp 0x41cf20
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x41cf20
sub eax, ecx
push eax
push ebp
mov ecx, esi
call fcn.00404570
lea ecx, [esp + 0x114]
push ecx
call fcn.0041bad0
add esp, 4
mov esi, esp
mov eax, edi
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esp + 0x600], 1
mov dword [esp + 0x34], esp
mov byte [esi + 4], bl
lea ebp, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41cf62
sub eax, ebp
push eax
push edi
mov ecx, esi
call fcn.00404570
lea edx, [esp + 0x130]
push edx
call fcn.0041bad0
add esp, 4
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov byte [esp + 0x604], 2
call fcn.0041b690
lea ecx, [esp + 0xe0]
add esp, 4
push ecx
call fcn.0041b610
add esp, 0x20
push 0xffffffffffffffff
push ebx
xor edx, edx
mov esi, 7
push 0x5221e8
lea ecx, [esp + 0x78]
mov byte [esp + 0x5f0], 3
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebx
mov word [esp + 0x7c], dx
call fcn.00401da0
push 0xffffffffffffffff
push ebx
xor eax, eax
push 0x522204
lea ecx, [esp + 0x5c]
mov byte [esp + 0x5f0], 4
mov dword [esp + 0x74], esi
mov dword [esp + 0x70], ebx
mov word [esp + 0x60], ax
call fcn.00401da0
xor ecx, ecx
push esi
mov word [esp + 0x90], cx
push 0x4defe4
lea ecx, [esp + 0x90]
mov byte [esp + 0x5ec], 5
mov dword [esp + 0xa8], esi
mov dword [esp + 0xa4], ebx
call fcn.00402500
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x5e8], 6
call fcn.004335a0
mov dword [esp + 0x5e8], esi
xor eax, eax
mov dword [esp + 0x1bc], esi
mov dword [esp + 0x1b8], ebx
mov word [esp + 0x1a8], ax
push 0x4defe0
lea ecx, [esp + 0x170]
push 0x5221b0
push ecx
mov byte [esp + 0x5f4], 0xf
call fcn.0041b480
add esp, 0x10
mov byte [esp + 0x5e4], 0x10
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1ac]
call fcn.00401da0
cmp dword [esp + 0x180], 8
mov byte [esp + 0x5e4], 0xf
jb 0x41d0c8
mov edx, dword [esp + 0x16c]
push edx
call fcn.004798f2
add esp, 4
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x100]
mov edi, 7
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x68], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x138]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x628], 0x11
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x80], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x170]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x644], 0x12
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x98], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x138]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x660], 0x13
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xa0], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x100]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x67c], 0x14
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xcc], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
mov byte [esp + 0x690], 0x15
mov word [ecx + 4], ax
push ebx
lea edx, [esp + 0x100]
push edx
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xe4], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x154]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x6b4], 0x16
mov word [ecx + 4], ax
call fcn.00401da0
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0xfc], esp
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0x18c]
xor eax, eax
mov dword [ecx + 0x18], edi
mov dword [ecx + 0x14], ebx
push edx
mov byte [esp + 0x6d0], 0x17
mov word [ecx + 4], ax
call fcn.00401da0
lea eax, [esp + 0x248]
push eax
mov byte [esp + 0x6c8], 0xf
call fcn.0041c700
add esp, 0xe4
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1ac]
mov byte [esp + 0x5f0], 0x18
call fcn.00410670
mov esi, 8
cmp dword [esp + 0x180], esi
jb 0x41d290
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.004798f2
add esp, 4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0x400
cmp dword [esp + 0x1b8], esi
mov esi, dword [esp + 0x1a4]
jae 0x41d2bf
lea esi, [esp + 0x1a4]
push 0x3ff
lea edx, [esp + 0x1dd]
push ebx
push edx
mov dword [esp + 0x28], ebx
mov byte [esp + 0x1e4], bl
call fcn.0047a920
xor eax, eax
add esp, 0xc
mov dword [esp + 0x24], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x20], 4
mov dword [esp + 0x28], 0x3a98
mov dword [esp + 0x1d4], edi
mov dword [esp + 0x1d0], ebx
mov word [esp + 0x1c0], ax
xor ecx, ecx
mov dword [esp + 0x19c], edi
mov dword [esp + 0x198], ebx
mov word [esp + 0x188], cx
mov eax, esi
mov byte [esp + 0x5e4], 0x1b
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d341
sub eax, edx
sar eax, 1
je 0x41d9d7
xor edx, edx
mov edi, 7
mov eax, esi
mov word [esp + 0x150], dx
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
lea edx, [eax + 2]
jmp 0x41d380
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d380
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [esp + 0x154]
call fcn.00402500
mov byte [esp + 0x5e4], 0x1c
cmp dword [esp + 0x160], edi
ja 0x41d417
mov esi, 8
cmp dword [esp + 0x164], esi
jb 0x41d3cc
mov eax, dword [esp + 0x150]
push eax
call fcn.004798f2
add esp, 4
cmp dword [esp + 0x19c], esi
jb 0x41d3e5
mov edx, dword [esp + 0x188]
push edx
call fcn.004798f2
add esp, 4
xor eax, eax
mov dword [esp + 0x19c], edi
mov dword [esp + 0x198], ebx
mov word [esp + 0x188], ax
cmp dword [esp + 0x1d4], esi
jb 0x41d9d7
mov ecx, dword [esp + 0x1c0]
push ecx
jmp 0x41d9cf
push 0xffffffffffffffff
push 7
lea ecx, [esp + 0x170]
push ecx
lea ecx, [esp + 0x158]
mov dword [esp + 0x20], 0x50
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x5f0], 0x1d
call fcn.00401da0
mov ebp, 8
mov byte [esp + 0x5e4], 0x1c
cmp dword [esp + 0x180], ebp
jb 0x41d475
mov edx, dword [esp + 0x16c]
push edx
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x160]
xor esi, esi
cmp ecx, ebx
jbe 0x41d592
cmp esi, ecx
jbe 0x41d496
call fcn.0047b9cb
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], ebp
jae 0x41d4ad
lea eax, [esp + 0x150]
cmp word [eax + esi*2], 0x3a
je 0x41d4ec
cmp esi, ecx
jbe 0x41d4c4
call fcn.0047b9cb
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], ebp
jae 0x41d4db
lea eax, [esp + 0x150]
cmp word [eax + esi*2], 0x2f
je 0x41d4ec
inc esi
cmp esi, ecx
jb 0x41d496
jmp 0x41d592
push esi
push ebx
lea eax, [esp + 0x170]
push eax
lea ecx, [esp + 0x158]
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x5f0], 0x1e
call fcn.00401da0
mov byte [esp + 0x5e4], 0x1c
cmp dword [esp + 0x180], ebp
jb 0x41d53b
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.004798f2
add esp, 4
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x170]
push edx
lea ecx, [esp + 0x158]
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x5f0], 0x1f
call fcn.00401da0
mov byte [esp + 0x5e4], 0x1c
cmp dword [esp + 0x180], ebp
jb 0x41d58b
mov eax, dword [esp + 0x16c]
push eax
call fcn.004798f2
add esp, 4
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], ebp
jae 0x41d5a9
lea eax, [esp + 0x150]
cmp word [eax], 0x3a
jne 0x41d6a7
mov esi, 1
cmp ecx, esi
jbe 0x41d6a7
cmp esi, ecx
jbe 0x41d5d0
call fcn.0047b9cb
mov ecx, dword [esp + 0x160]
mov eax, dword [esp + 0x150]
cmp dword [esp + 0x164], ebp
jae 0x41d5e7
lea eax, [esp + 0x150]
cmp word [eax + esi*2], 0x2f
je 0x41d5f8
inc esi
cmp esi, ecx
jb 0x41d5d0
jmp 0x41d6a7
push esi
push 1
lea ecx, [esp + 0x170]
push ecx
lea ecx, [esp + 0x158]
call fcn.00410880
mov eax, dword [esp + 0x16c]
mov byte [esp + 0x5e4], 0x20
cmp dword [esp + 0x180], ebp
jae 0x41d62e
lea eax, [esp + 0x16c]
push eax
call fcn.0047be2e
add esp, 4
push 0xffffffffffffffff
movzx edx, ax
push esi
lea eax, [esp + 0x138]
push eax
lea ecx, [esp + 0x158]
mov dword [esp + 0x20], edx
call fcn.00410880
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x158]
mov byte [esp + 0x5f0], 0x21
call fcn.00401da0
cmp dword [esp + 0x148], ebp
jb 0x41d686
mov ecx, dword [esp + 0x134]
push ecx
call fcn.004798f2
add esp, 4
mov byte [esp + 0x5e4], 0x1c
cmp dword [esp + 0x180], ebp
jb 0x41d6a7
mov edx, dword [esp + 0x16c]
push edx
call fcn.004798f2
add esp, 4
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x154]
push eax
lea ecx, [esp + 0x190]
call fcn.00401da0
mov byte [esp + 0x5e4], 0x1b
cmp dword [esp + 0x164], ebp
jb 0x41d6df
mov ecx, dword [esp + 0x150]
push ecx
call fcn.004798f2
add esp, 4
push ebx
push ebx
push ebx
push ebx
push str.Mozilla_5.0__Windows_NT_6.1__WOW64__rv:14.0__Gecko_20100101_Firefox_14.0.1
call dword [sym.imp.WININET.dll_InternetOpenW]
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [esp + 0x2c]
push edx
mov edi, eax
push 2
push edi
call esi
push 4
lea eax, [esp + 0x2c]
push eax
push ebp
push edi
call esi
push 4
lea ecx, [esp + 0x2c]
push ecx
push 7
push edi
call esi
cmp edi, ebx
je 0x41d984
cmp dword [esp + 0x1d4], 8
mov eax, dword [esp + 0x1c0]
jae 0x41d739
lea eax, [esp + 0x1c0]
mov edx, dword [esp + 0x14]
push ebx
push ebx
push 3
push ebx
push ebx
push edx
push eax
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov ebp, eax
cmp ebp, ebx
je 0x41d969
cmp dword [esp + 0x19c], 8
mov eax, dword [esp + 0x188]
mov dword [esp + 0x48], str.text_html_application_xhtmlxml_application_xml_q0.9___q0.8_r_n
mov dword [esp + 0x4c], ebx
jae 0x41d77a
lea eax, [esp + 0x188]
push ebx
push SysReAllocString
lea ecx, [esp + 0x50]
push ecx
push ebx
push str.HTTP_1.0
push eax
push 0x4dee10
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x41d969
mov eax, 0x4dee04
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41d7b0
push ebx
sub eax, edx
push ebx
sar eax, 1
push eax
push 0x4dee04
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x41d969
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x20000013
push edx
call esi
test eax, eax
je 0x41d969
mov eax, dword [esp + 0x24]
cmp eax, 0xc8
je 0x41d8d0
cmp eax, 0x12c
jbe 0x41d969
cmp eax, 0x12f
ja 0x41d969
xor eax, eax
mov dword [esp + 0x164], 7
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], ax
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x21
push edx
mov byte [esp + 0x5f8], 0x22
call esi
test eax, eax
je 0x41d8bf
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x150]
call fcn.00401800
cmp dword [esp + 0x164], 8
mov eax, dword [esp + 0x150]
jae 0x41d885
lea eax, [esp + 0x150]
mov edx, dword [esp + 0x1c]
push ebx
lea ecx, [esp + 0x24]
push ecx
push eax
push 0x21
push edx
call esi
test eax, eax
je 0x41d8bf
cmp dword [esp + 0x164], 8
mov eax, dword [esp + 0x150]
jae 0x41d8b1
lea eax, [esp + 0x150]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.0041bfe0
add esp, 8
lea ecx, [esp + 0x14c]
call fcn.00401780
jmp 0x41d969
lea edx, [esp + 0x30]
push edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x2c]
push ecx
push 0x20000005
push edx
call esi
test eax, eax
je 0x41d8f7
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x14]
push ecx
push 0x400
lea edx, [esp + 0x1e0]
push edx
push eax
mov dword [esp + 0x24], ebx
call esi
test eax, eax
je 0x41d969
mov edi, edi
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x41d969
add dword [esp + 0x2c], eax
push eax
lea ecx, [esp + 0x1dc]
push ecx
lea ecx, [esp + 0x3c]
call fcn.0041b150
mov edx, dword [esp + 0x18]
cmp dword [esp + 0x2c], edx
jae 0x41d969
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x14]
push eax
push 0x400
lea ecx, [esp + 0x1e0]
push ecx
push edx
mov dword [esp + 0x24], ebx
call esi
test eax, eax
jne 0x41d920
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
cmp ebp, ebx
je 0x41d979
push ebp
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x41d984
push eax
call esi
mov esi, 8
cmp dword [esp + 0x19c], esi
jb 0x41d9a2
mov eax, dword [esp + 0x188]
push eax
call fcn.004798f2
add esp, 4
xor ecx, ecx
mov dword [esp + 0x19c], 7
mov dword [esp + 0x198], ebx
mov word [esp + 0x188], cx
cmp dword [esp + 0x1d4], esi
jb 0x41d9d7
mov edx, dword [esp + 0x1c0]
push edx
call fcn.004798f2
add esp, 4
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x1c], ebx
call fcn.0041b020
mov ecx, dword [esp + 0x18]
mov esi, 8
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x1b8], esi
jb 0x41da1b
mov edx, dword [esp + 0x1a4]
push edx
call fcn.004798f2
add esp, 4
xor eax, eax
mov edi, 7
mov dword [esp + 0x1b8], edi
mov dword [esp + 0x1b4], ebx
mov word [esp + 0x1a4], ax
cmp dword [esp + 0xbc], esi
jb 0x41da51
mov ecx, dword [esp + 0xa8]
push ecx
call fcn.004798f2
add esp, 4
xor edx, edx
mov dword [esp + 0xbc], edi
mov dword [esp + 0xb8], ebx
mov word [esp + 0xa8], dx
cmp dword [esp + 0xa0], esi
jb 0x41da82
mov eax, dword [esp + 0x8c]
push eax
call fcn.004798f2
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], ebx
mov word [esp + 0x8c], cx
cmp dword [esp + 0x68], esi
jb 0x41daad
mov edx, dword [esp + 0x54]
push edx
call fcn.004798f2
add esp, 4
xor eax, eax
mov dword [esp + 0x68], edi
mov dword [esp + 0x64], ebx
mov word [esp + 0x54], ax
cmp dword [esp + 0x84], esi
jb 0x41dad2
mov ecx, dword [esp + 0x70]
push ecx
call fcn.004798f2
add esp, 4
xor edx, edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], dx
cmp dword [esp + 0xd8], esi
jb 0x41db00
mov eax, dword [esp + 0xc4]
push eax
call fcn.004798f2
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd8], edi
mov dword [esp + 0xd4], ebx
mov word [esp + 0xc4], cx
cmp dword [esp + 0x12c], esi
jb 0x41db31
mov edx, dword [esp + 0x118]
push edx
call fcn.004798f2
add esp, 4
xor eax, eax
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], ax
cmp dword [esp + 0x110], esi
jb 0x41db62
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.004798f2
add esp, 4
xor edx, edx
mov dword [esp + 0x110], edi
mov dword [esp + 0x10c], ebx
mov word [esp + 0xfc], dx
cmp dword [esp + 0xf4], esi
jb 0x41db93
mov eax, dword [esp + 0xe0]
push eax
call fcn.004798f2
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x5dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5c4]
xor ecx, esp
call fcn.0047a885
add esp, 0x5d4
ret