Function at 0x4b8ed0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5262e4
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.004fb530
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 0x4b8f54
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 0x4b8f74
mov eax, 1
jmp 0x4b9253
lea ecx, [ebp - 0xa4]
call fcn.004cb4f0
mov dword [ebp - 4], 0
xor edi, edi
mov dword [ebp - 0xb0], edi
mov dword [ebp - 0xb4], 0x548708
mov byte [ebp - 4], 1
cmp dword [ebx + 0x78], edi
jne 0x4b8fa5
xor esi, esi
jmp 0x4b8fb0
cmp dword [ebx + 0x7c], 0x10
lea esi, [ebx + 0x68]
jb 0x4b8fb0
mov esi, dword [esi]
cmp dword [ebx + 0x1c], 8
jb 0x4b8fbb
mov ecx, dword [ebx + 8]
jmp 0x4b8fbe
lea ecx, [ebx + 8]
cmp dword [ebx + 0x34], 8
jb 0x4b8fc9
mov edx, dword [ebx + 0x20]
jmp 0x4b8fcc
lea edx, [ebx + 0x20]
cmp dword [ebx + 0xac], 8
lea eax, [ebx + 0x98]
jb 0x4b8fdd
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 0x4b8ff7
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4b9013
mov edi, eax
mov dword [ebp - 0xb0], edi
test esi, esi
je 0x4b9013
push 0
push 0x10
push 0x4cc100
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 0x4b903b
call fcn.004cbf00
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.004b9b90
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.004cb860
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 0x4b90b4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b90b2
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4b90b4
call edx
test edi, edi
jne 0x4b9235
push ecx
lea ecx, [ebp - 0xa8]
call fcn.004b9ae0
mov byte [ebp - 4], 3
cmp dword [ebx], 2
jne 0x4b90e1
push str.POST
lea ecx, [ebp - 0xa8]
call fcn.004b9a50
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.004b9b90
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.004cae10
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4b918e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b918c
mov eax, dword [ecx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4b918e
call edx
cmp dword [ebx + 0x64], 8
lea esi, [ebx + 0x50]
jb 0x4b9199
mov esi, dword [esi]
cmp dword [ebx + 0x4c], 8
lea edx, [ebx + 0x38]
jb 0x4b91a4
mov edx, dword [edx]
cmp dword [ebx + 0x1c], 8
lea eax, [ebx + 8]
jb 0x4b91af
mov eax, dword [eax]
cmp dword [ebx + 0x34], 8
lea ecx, [ebx + 0x20]
jb 0x4b91ba
mov ecx, dword [ecx]
push esi
push edx
push eax
push ecx
push dword [ebx + 4]
lea ecx, [ebp - 0x34]
call fcn.004cab80
mov edi, eax
test edi, edi
jne 0x4b91da
push ebx
lea ecx, [ebp - 0x34]
call fcn.004cae80
mov edi, eax
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4b91f0
push eax
mov eax, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call eax
mov dword [ebp - 0x30], 0
lea ecx, [ebp - 0x34]
call fcn.004cab20
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 0x4b9235
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x4b9231
mov eax, dword [edx + 4]
push 0
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x4b9235
mov ecx, edx
call esi
mov eax, dword [ebp - 0xb0]
test eax, eax
je 0x4b9246
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
lea ecx, [ebp - 0xa4]
call fcn.004cb600
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.004e1de4
mov esp, ebp
pop ebp
ret 4