Function at 0x430ce0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e2228
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x50c7c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
xor ebx, ebx
lea esp, [esp]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x430e86
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x430f0b
cmp eax, 0x500000
ja 0x430f0b
inc eax
push eax
call fcn.004a633d
mov edi, eax
add esp, 4
test edi, edi
je 0x430e52
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
push edi
call fcn.004af8a0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x430e3f
push ecx
push eax
push 0xe5
push str.WinhttpProxyClient.cpp
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x28], eax
call fcn.004a44e0
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x24]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.WinHttpReadData_error:
mov ecx, esi
call fcn.00403cd0
add esp, 4
mov ecx, eax
call fcn.004075f0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4a80
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x430e0b
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x430e02
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
mov esi, dword [ebp - 0x18]
push edi
call fcn.004a861d
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x430f0b
cmp dword [ebp - 0x10], 0
ja 0x430d20
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00403130
mov ebx, 1
jmp 0x430e0e
push ecx
push 0
push 0xdb
push str.WinhttpProxyClient.cpp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.004a44e0
mov dword [ebp - 4], 1
mov edx, str.Out_of_memory_when_receive_http_respinse:
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x10]
push ecx
mov ecx, dword [eax + 0x10]
jmp 0x430ebe
push ecx
push 0
push 0xcf
push str.WinhttpProxyClient.cpp
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], 0
call fcn.004a44e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1c]
mov esi, dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov edx, str.WinHttpQueryDataAvailable_error:
mov ecx, esi
call fcn.00403cd0
add esp, 4
mov ecx, eax
call fcn.004075f0
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.004a4a80
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x430f0b
push dword [esi + 4]
call fcn.004a861d
mov ecx, dword [esi + 0xc]
add esp, 4
test ecx, ecx
je 0x430f02
mov eax, dword [ecx]
push 1
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
call dword [eax]
push esi
call fcn.004a78e3
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret