Function at 0x40a750
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4b2959
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x4e4520]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x4e4520]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], eax
mov byte [esp + 0x30], al
mov dword [esp + 0xb8], eax
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], eax
mov byte [esp + 0x60], al
cmp byte [edx], al
jne 0x40a7df
xor ecx, ecx
jmp 0x40a7f3
mov ecx, edx
lea eax, [ecx + 1]
mov dword [esp + 0x18], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a7e8
sub ecx, dword [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x68]
call fcn.00403660
lea edx, [esp + 0x60]
mov byte [esp + 0xb8], 1
lea ecx, [esp + 0x48]
call fcn.004084e0
mov byte [esp + 0xb8], 3
cmp dword [esp + 0x74], 0x10
jb 0x40a82e
push dword [esp + 0x60]
call fcn.0047c598
add esp, 4
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], 0
mov byte [esp + 0x60], 0
test edi, edi
jne 0x40a84e
xor ecx, ecx
jmp 0x40a8d0
cmp byte [edi], 0
mov dword [esp + 0x8c], 0xf
mov dword [esp + 0x88], 0
mov byte [esp + 0x78], 0
jne 0x40a872
xor ecx, ecx
jmp 0x40a880
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a877
sub ecx, edx
push ecx
push edi
lea ecx, [esp + 0x80]
call fcn.00403660
mov byte [esp + 0xb8], 4
lea edx, [esp + 0x78]
lea ecx, [esp + 0x90]
mov dword [esp + 0x24], 1
call fcn.004084e0
mov ecx, eax
mov dword [esp + 0xb8], 5
mov eax, 3
cmp dword [ecx + 0x14], 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
jb 0x40a8d0
mov ecx, dword [ecx]
cmp dword [esp + 0x5c], 8
lea eax, [esp + 0x48]
push ecx
push dword [esp + 0x24]
cmovae eax, dword [esp + 0x50]
mov ecx, esi
push dword [ebp + 0x10]
push eax
call fcn.0040ae90
test al, al
mov eax, dword [esp + 0x1c]
sete byte [esp + 0x17]
test al, 2
je 0x40a941
and eax, 0xfffffffd
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x1c], eax
jb 0x40a921
push dword [esp + 0x90]
call fcn.0047c598
mov eax, dword [esp + 0x20]
add esp, 4
xor ecx, ecx
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], 0
mov word [esp + 0x90], cx
mov dword [esp + 0xb8], 3
test al, 1
je 0x40a966
cmp dword [esp + 0x8c], 0x10
jb 0x40a966
push dword [esp + 0x78]
call fcn.0047c598
add esp, 4
cmp byte [esp + 0x17], 0
je 0x40a9fb
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov ecx, dword [esp + 0x44]
cmp ecx, 0x10
jae 0x40a9a7
mov eax, dword [esp + 0x40]
inc eax
je 0x40a9b5
push eax
lea eax, [esp + 0x34]
push eax
push ebx
call fcn.0047c6e0
mov ecx, dword [esp + 0x50]
add esp, 0xc
jmp 0x40a9b5
mov eax, dword [esp + 0x30]
mov dword [ebx], eax
mov dword [esp + 0x30], 0
cmp dword [esp + 0x5c], 8
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x10], eax
mov eax, 0xf
mov dword [ebx + 0x14], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
jb 0x40a9ec
push dword [esp + 0x48]
call fcn.0047c598
mov eax, dword [esp + 0x48]
add esp, 4
xor ecx, ecx
cmp eax, 0x10
mov word [esp + 0x48], cx
jmp 0x40ab08
mov ecx, esi
call fcn.0040adf0
mov dword [esi + 4], eax
cmp eax, 0x194
jne 0x40aa23
push 0x4e17fc
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 5
push eax
call fcn.0047cd33
push 0x1000
call fcn.0047e8e8
add esp, 4
mov byte [esp + 0x17], 0
mov edi, eax
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x40aab4
lea esp, [esp]
mov esi, dword [esp + 0x18]
test esi, esi
je 0x40aaaf
cmp esi, 0x1000
jbe 0x40aa75
push edi
call fcn.0047e8b0
mov esi, dword [esp + 0x1c]
push esi
call fcn.0047e8e8
add esp, 8
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push esi
mov esi, dword [esp + 0x30]
push edi
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x40aab4
push dword [esp + 0x2c]
lea ecx, [esp + 0x34]
push edi
call fcn.00407a20
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x40aa50
jmp 0x40aab4
mov byte [esp + 0x17], 1
push edi
call fcn.0047e8b0
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x40aadd
cmp dword [esp + 0x44], 0x10
lea eax, [esp + 0x30]
mov dword [esp + 0x40], 0
cmovae eax, dword [esp + 0x30]
mov byte [eax], 0
lea eax, [esp + 0x30]
mov ecx, ebx
push eax
call fcn.00407b90
cmp dword [esp + 0x5c], 8
jb 0x40aafc
push dword [esp + 0x48]
call fcn.0047c598
add esp, 4
xor eax, eax
cmp dword [esp + 0x44], 0x10
mov word [esp + 0x48], ax
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 7
jb 0x40ab26
push dword [esp + 0x30]
call fcn.0047c598
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.0047cd24
mov esp, ebp
pop ebp
ret 0x14