Function at 0x4233d0
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51a56c
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x587978]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
xor edi, edi
lea eax, [esi + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], eax
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [ebp - 4], 1
mov dword [esi], vtable.winhttp::async_client_base.0
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0xc]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 3
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x10]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 5
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x14]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 7
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x18]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 9
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x1c]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xb
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x20]
mov ecx, 0x587944
mov dword [ebp - 0x18], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xd
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
lea ebx, [esi + 0x24]
mov dword [ebp - 0x18], ebx
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0xf
fld dword [0x531f28]
lea ecx, [esi + 0x28]
fstp dword [ecx + 0xc]
mov ebx, 0x11
fld dword [0x531f24]
mov dword [ecx], edi
fstp dword [ecx + 0x10]
mov dword [ecx + 4], edi
fld dword [0x531f20]
mov dword [ecx + 8], ebx
fstp dword [ecx + 0x14]
mov dword [ecx + 0x18], 0xffffffff
mov dword [ecx + 0x1c], edi
mov dword [ecx + 0x20], edi
mov dword [ecx + 0x24], 0xa
mov dword [ecx + 0x28], edi
mov dword [ecx + 0x2c], edi
call fcn.0040b940
mov byte [ebp - 4], 0x10
mov eax, vtable.winhttp::handle.0
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], edi
mov byte [ebp - 4], bl
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edi
mov byte [ebp - 4], 0x12
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], edi
mov byte [ebp - 4], 0x13
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov byte [ebp - 4], 0x14
lea ebx, [esi + 0x94]
mov dword [ebp - 0x18], ebx
mov dword [ebx], edi
mov byte [ebp - 4], 0x15
push edi
push 1
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [ebx], eax
cmp ecx, edi
jne 0x4235a5
call fcn.0040b150
mov byte [ebp - 4], 0x16
mov edx, dword [ebp + 8]
push edx
lea ecx, [esi + 0xc]
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call fcn.00411c00
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push ecx
lea ecx, [esi + 0x10]
mov dword [esi + 0x58], eax
call fcn.00411c00
mov edx, dword [ebp + 0x14]
push edx
lea ecx, [esi + 0x14]
call fcn.00411c00
mov eax, dword [ebp + 0x18]
push eax
lea ecx, [esi + 0x18]
call fcn.00411c00
mov ebx, dword [esi + 0x14]
mov dword [esi + 0x5c], edi
cmp dword [ebx - 0xc], edi
jne 0x42362d
mov edx, dword [0x587944]
mov eax, dword [edx + 0xc]
mov ecx, 0x587944
call eax
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 0x17
lea ecx, [ebp + 0xc]
call fcn.00406c60
mov byte [ebp - 4], 0x16
lea ecx, [ebp + 0xc]
mov dword [ebp + 0x10], ecx
mov byte [ebp - 4], 0x18
mov ebx, 1
jmp 0x423658
lea eax, [ebx - 0x10]
push eax
call fcn.00406d80
add esp, 4
add eax, 0x10
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], 0x18
lea edx, [ebp + 0xc]
mov dword [ebp + 0x10], edx
mov dword [ebp - 4], 0x1a
mov ebx, 2
mov dword [ebp - 0x10], ebx
mov eax, dword [esi + 0x10]
cmp dword [eax - 0xc], edi
jne 0x42369a
mov eax, dword [0x587944]
mov edx, dword [eax + 0xc]
mov ecx, 0x587944
call edx
add eax, 0x10
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0x1b
lea ecx, [ebp + 8]
call fcn.00406c60
mov byte [ebp - 4], 0x1a
lea eax, [ebp + 8]
mov dword [ebp - 4], 0x1c
or ebx, 4
jmp 0x4236c0
add eax, 0xfffffff0
push eax
call fcn.00406d80
add eax, 0x10
add esp, 4
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0x1c
lea eax, [ebp + 8]
mov dword [ebp - 4], 0x1e
or ebx, 8
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edx, dword [esi + 0xc]
push 0x10000000
push ecx
push eax
mov eax, dword [esi + 0x58]
push eax
push edx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 0x7c]
cmp eax, edi
je 0x4236f3
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi + 0x7c], edi
mov ecx, dword [ebp + 0x10]
mov eax, 0x1c
mov dword [esi + 0x7c], ecx
mov dword [ebp - 4], eax
test bl, 8
je 0x42372e
and ebx, 0xfffffff7
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42372e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x1a
mov dword [ebp - 4], eax
test bl, 4
je 0x423763
and ebx, 0xfffffffb
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423763
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x18
mov dword [ebp - 4], eax
test bl, 2
je 0x423798
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0x16
test bl, 1
je 0x4237cd
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 0x16
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4237cd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x90], edi
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14