Function at 0x4bc480
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612198
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x6cd400]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xa4], ebx
mov byte [ebp - 0x99], 1
mov byte [ebp - 0x9a], 0
push ebx
mov ecx, esi
call fcn.004baf40
test al, al
je 0x4bc82c
mov eax, dword [esi + 0x24]
cmp byte [eax + 0x16a], 0
je 0x4bc520
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x10], 0
je 0x4bc520
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x4bc4f7
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
jb 0x4bc501
mov edx, dword [eax]
jmp 0x4bc503
mov edx, eax
push 0
push ecx
push edx
push dword [eax + 0x30]
push 1
push dword [esi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x4bc7b2
mov eax, dword [esi + 0x24]
push ebx
mov al, byte [eax + 0x16b]
mov ecx, esi
call fcn.004bc360
test al, al
je 0x4bc816
lea edi, [esi + 0xac]
push 0
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x4bc7f3
cmp byte [ebp + 0xc], 0
je 0x4bc560
push edi
call fcn.004bba40
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x50]
push eax
push 0x13
mov ecx, esi
call fcn.004bb7c0
test al, al
je 0x4bc7da
cmp dword [ebp - 0x3c], 8
lea ecx, [ebp - 0xa0]
lea eax, [ebp - 0x50]
cmovae eax, dword [ebp - 0x50]
push ecx
push eax
call fcn.004afde0
add esp, 8
mov ecx, esi
push dword [ebp - 0xa0]
call fcn.004bbad0
cmp dword [ebp - 0x3c], 8
mov bl, al
mov dword [ebp - 4], 0xffffffff
jb 0x4bc5ce
push dword [ebp - 0x50]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
test bl, bl
je 0x4bc7eb
cmp dword [esi + 0x38], 0xb
jne 0x4bc82c
mov eax, dword [esi + 0x24]
mov ecx, esi
mov byte [eax + 0x16a], 1
call fcn.004bb300
test al, al
je 0x4bc780
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0x30]
test eax, eax
je 0x4bc780
xor ecx, ecx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], cx
push eax
xorps xmm0, xmm0
lea eax, [ebp - 0x38]
push 0x67a950
push eax
mov dword [ebp - 4], 1
mov word [ebp - 0x38], cx
movq qword [ebp - 0x36], xmm0
movq qword [ebp - 0x2e], xmm0
movq qword [ebp - 0x26], xmm0
movq qword [ebp - 0x1e], xmm0
mov dword [ebp - 0x16], ecx
mov word [ebp - 0x12], cx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp word [ebp - 0x38], 0
jne 0x4bc676
xor eax, eax
jmp 0x4bc68f
lea eax, [ebp - 0x38]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4bc680
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x68]
call fcn.00403c30
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push 0x64111c
push eax
call fcn.0040d7c0
push 0x67f0f0
push eax
lea eax, [ebp - 0x98]
push eax
mov byte [ebp - 4], 2
call fcn.0040d6e0
mov ebx, eax
lea edi, [esi + 0x40]
add esp, 0x18
cmp edi, ebx
je 0x4bc6fb
cmp dword [edi + 0x14], 8
jb 0x4bc6e0
push dword [edi]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
push ebx
mov ecx, edi
mov word [edi], ax
call fcn.00403760
cmp dword [ebp - 0x84], 8
jb 0x4bc712
push dword [ebp - 0x98]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x88], 0
mov word [ebp - 0x98], ax
jb 0x4bc740
push dword [ebp - 0x80]
call fcn.004c56c2
add esp, 4
xor eax, eax
cmp dword [ebp - 0x54], 8
mov dword [ebp - 0x6c], 7
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
mov dword [ebp - 4], 0xffffffff
jb 0x4bc76c
push dword [ebp - 0x68]
call fcn.004c56c2
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp byte [ebp - 0x9a], 0
jne 0x4bc82c
call fcn.004ab940
mov ecx, dword [eax]
push 0x641140
push eax
call dword [ecx + 4]
mov ebx, dword [ebp - 0xa4]
add esp, 8
mov byte [ebp - 0x9a], 1
jmp 0x4bc4c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004bbd40
call fcn.004ab940
mov ecx, dword [eax]
push 0x641058
push 0x676964
push eax
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x4bc82c
cmp dword [ebp - 0x3c], 8
jb 0x4bc7eb
push dword [ebp - 0x50]
call fcn.004c56c2
add esp, 4
mov al, byte [ebp - 0x99]
jmp 0x4bc82e
call fcn.004ab940
mov ecx, dword [eax]
push 0x6410a0
push eax
call dword [ecx + 4]
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004bbd40
jmp 0x4bc82c
push dword [esi + 0xac]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0xac], 0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005e96ad
mov esp, ebp
pop ebp
ret 8