Function at 0x4b8ca0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x526094
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x5640a8]
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 ebx, dword [ebp + 8]
lea eax, [ebp - 0xf0]
push 0x3c
push 0
push eax
call fcn.004fb2d0
lea eax, [ebx + 0x80]
mov dword [ebp - 0xf0], 0x3c
add esp, 0xc
mov dword [ebp - 0xd0], 1
cmp dword [eax + 0x14], 8
mov dword [ebp - 0xc8], 1
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0xc0], 1
jb 0x4b8d24
mov eax, dword [eax]
lea ecx, [ebp - 0xf0]
push ecx
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x4b8d44
mov eax, 1
jmp 0x4b9023
lea ecx, [ebp - 0xa4]
call fcn.004cb2a0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], 0x5486d8
mov byte [ebp - 4], 1
cmp dword [ebx + 0x78], edi
jne 0x4b8d75
xor esi, esi
jmp 0x4b8d80
cmp dword [ebx + 0x7c], 0x10
lea esi, [ebx + 0x68]
jb 0x4b8d80
mov esi, dword [esi]
cmp dword [ebx + 0x1c], 8
jb 0x4b8d8b
mov ecx, dword [ebx + 8]
jmp 0x4b8d8e
lea ecx, [ebx + 8]
cmp dword [ebx + 0x34], 8
jb 0x4b8d99
mov edx, dword [ebx + 0x20]
jmp 0x4b8d9c
lea edx, [ebx + 0x20]
cmp dword [ebx + 0xac], 8
lea eax, [ebx + 0x98]
jb 0x4b8dad
mov eax, dword [eax]
push 0
push ecx
push edx
push dword [ebx + 4]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
test eax, eax
jne 0x4b8dc7
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4b8de3
mov edi, eax
mov dword [ebp - 0xb0], edi
test esi, esi
je 0x4b8de3
push 0
push 0x10
push 0x4cbeb0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push dword [ebx + 0x124]
push dword [ebx + 0x120]
push dword [ebx + 0x12c]
push dword [ebx + 0x128]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4b8e0b
call fcn.004cbcb0
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xe0]
call fcn.00401d00
push eax
push esi
push edi
lea ecx, [ebp - 0xac]
call fcn.004b9960
mov byte [ebp - 4], 2
lea eax, [ebp - 0xb4]
push dword [ebp - 0xd8]
mov esi, dword [ebp - 0xac]
lea ecx, [ebp - 0xa4]
push esi
push eax
call fcn.004cb610
mov edi, eax
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4b8e84
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b8e82
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x4b8e84
call edx
test edi, edi
jne 0x4b9005
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004b98b0
mov byte [ebp - 4], 3
cmp dword [ebx], 2
jne 0x4b8eb1
push str.POST
lea ecx, [ebp - 0xa8]
call fcn.004b9820
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], vtable.CHttpRequest.0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 4
mov esi, dword [ebp - 0xc0]
mov edi, dword [ebp - 0xc4]
call fcn.00401d00
push eax
push esi
push edi
lea ecx, [ebp - 0xac]
call fcn.004b9960
mov esi, dword [ebp - 0xac]
xor eax, eax
cmp dword [ebp - 0xe4], 2
push ecx
mov ecx, 0x800000
cmove eax, ecx
lea ecx, [ebp - 0x34]
push eax
sub esp, 0xc
lea eax, [ebp - 0xa4]
push dword [ebp - 0xa8]
push esi
push eax
call fcn.004cabc0
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b8f5e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b8f5c
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x4b8f5e
call edx
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
jb 0x4b8f69
mov esi, dword [esi]
cmp dword [ebx + 0x4c], 8
lea edx, [ebx + 0x38]
jb 0x4b8f74
mov edx, dword [edx]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
jb 0x4b8f7f
mov eax, dword [eax]
cmp dword [ebx + 0x34], 8
lea ecx, [ebx + 0x20]
jb 0x4b8f8a
mov ecx, dword [ecx]
push esi
push edx
push eax
push ecx
push dword [ebx + 4]
lea ecx, [ebp - 0x34]
call fcn.004ca930
mov edi, eax
test edi, edi
jne 0x4b8faa
push ebx
lea ecx, [ebp - 0x34]
call fcn.004cac30
mov edi, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4b8fc0
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
call fcn.004ca8d0
mov byte [ebp - 4], 1
or eax, 0xffffffff
mov ecx, dword [ebp - 0xa8]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x4b9005
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b9001
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.DLL_HeapFree]
jmp 0x4b9005
mov ecx, edx
call esi
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4b9016
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0xa4]
call fcn.004cb3b0
mov eax, edi
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.004e1bb1
mov esp, ebp
pop ebp
ret 4