Function at 0x48bd50
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a830
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
push ebx
push esi
push edi
mov eax, dword [0x5ec3c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x4f0], 0
je 0x48bdfd
call fcn.0044f060
push 3
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x10], 0xc7
call fcn.0041a580
mov edx, str.Event_Sender_already_initialized_for_AWS
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
lea eax, [ebp - 0x60]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x60], vtable.std::ios_base.0
call fcn.004f317c
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x4f4], 0
jne 0x48bfb0
push 0
push 0
push 0
push 0
push 0x5d5434
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0x4f4], eax
test eax, eax
je 0x48bfb0
mov eax, dword [esi + 0x510]
lea ebx, [esi + 0x518]
lea edi, [esi + 0x56c]
mov dword [ebx], 0x3c
mov ecx, dword [edi + 0x10]
cmp eax, ecx
ja 0x48be5f
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x48be54
mov ecx, dword [edi]
xor edx, edx
mov dword [edi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x48be6b
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0044c1d0
cmp dword [edi + 0x14], 8
jb 0x48be73
mov edi, dword [edi]
mov eax, dword [esi + 0x57c]
mov dword [esi + 0x528], edi
lea edi, [esi + 0x554]
mov dword [esi + 0x52c], eax
mov eax, dword [esi + 0x510]
mov ecx, dword [edi + 0x10]
cmp eax, ecx
ja 0x48bead
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x48bea2
mov ecx, dword [edi]
xor edx, edx
mov dword [edi + 0x10], eax
mov word [ecx + eax*2], dx
jmp 0x48beb9
sub eax, ecx
mov ecx, edi
push 0
push eax
call fcn.0044c1d0
cmp dword [edi + 0x14], 8
jb 0x48bec1
mov edi, dword [edi]
mov eax, dword [esi + 0x564]
mov dword [esi + 0x548], eax
lea eax, [esi + 0x500]
mov dword [esi + 0x544], edi
cmp dword [eax + 0x14], 8
jb 0x48bee1
mov eax, dword [eax]
push ebx
push 0
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
jne 0x48bf70
call fcn.0044f060
push 1
lea ecx, [ebp - 0x158]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.EventSender.cpp
lea ecx, [ebp - 0x158]
mov dword [ebp - 0x10], 0xde
call fcn.0041a580
mov edx, str.WinHttpCrackUrl_failed_for_AWS:
lea ecx, [ebp - 0x158]
call fcn.0041a5e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x158]
call fcn.004301e0
lea ecx, [ebp - 0x100]
call fcn.0044dd10
mov dword [ebp - 4], 4
lea eax, [ebp - 0x100]
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
jmp 0x48c00a
cmp word [esi + 0x530], 0
jne 0x48bf95
cmp dword [esi + 0x524], 2
mov eax, 0x50
mov ecx, 0x1bb
cmove eax, ecx
mov word [esi + 0x530], ax
mov byte [esi + 0x4f0], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0044f060
push 1
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x14]
mov dword [ebp - 0x14], str.EventSender.cpp
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x10], 0xce
call fcn.0041a580
mov edx, str.Unable_to_open_HTTP_session_for_AWS
lea ecx, [ebp - 0xb8]
call fcn.0041a5e0
lea ecx, [ebp - 0x60]
call fcn.0044dd10
mov dword [ebp - 4], 3
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], vtable.std::ios_base.0
push eax
call fcn.004f317c
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret