Function at 0x4c2ce0
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54a265
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x5a3604]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x44]
call fcn.004c3040
mov ecx, dword [ebp - 0x44]
call fcn.004c2c70
movzx eax, al
test eax, eax
jne 0x4c2d29
xor al, al
jmp 0x4c2f0a
lea ecx, [ebp - 0x40]
call fcn.00402522
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00402522
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004bfa20
add esp, 0x10
movzx edx, word [ebp - 0x50]
cmp edx, 0x1bb
jne 0x4c2d6f
mov eax, dword [ebp - 0x44]
mov byte [eax + 8], 1
movzx ecx, word [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00402484
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004c2620
movzx edx, al
test edx, edx
jne 0x4c2dc0
mov eax, dword [ebp - 0x44]
mov dword [eax + 0x84], 2
mov byte [ebp - 0x45], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004024ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004024ae
mov al, byte [ebp - 0x45]
jmp 0x4c2f0a
mov ecx, dword [ebp - 0x44]
movzx edx, byte [ecx + 8]
test edx, edx
je 0x4c2dd4
mov dword [ebp - 0x54], 0x800000
jmp 0x4c2ddb
mov dword [ebp - 0x54], 0
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x28]
call fcn.00402484
push eax
mov ecx, dword [ebp - 0x44]
call fcn.004c2670
movzx eax, al
test eax, eax
jne 0x4c2e35
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x84], 1
mov byte [ebp - 0x46], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004024ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004024ae
mov al, byte [ebp - 0x46]
jmp 0x4c2f0a
mov edx, dword [ebp - 0x44]
movzx eax, byte [edx + 8]
test eax, eax
je 0x4c2e5c
mov dword [ebp - 0x5c], 0x3301
push 4
lea ecx, [ebp - 0x5c]
push ecx
push 0x1f
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x44]
call fcn.004c35c0
movzx eax, al
test eax, eax
jne 0x4c2ea4
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x84], 3
mov byte [ebp - 0x47], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004024ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004024ae
mov al, byte [ebp - 0x47]
jmp 0x4c2f0a
push 0
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x4c2ee8
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x84], 1
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004024ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004024ae
mov al, byte [ebp - 0x48]
jmp 0x4c2f0a
mov byte [ebp - 0x49], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004024ae
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.004024ae
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e5fe9
mov esp, ebp
pop ebp
ret 0x10