Function at 0x463860
Capabilities:
Initialize winhttp library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494763
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x4bc8c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x128], esi
mov al, byte [esi + 0x290]
lea edi, [esi + 0x290]
mov dword [ebp - 0x134], edi
nop
test al, al
je 0x4638b3
xor eax, eax
jmp 0x464149
lea eax, [esi + 0xc0]
mov byte [ebp - 0x14c], 0
push eax
mov dword [ebp - 0x150], eax
call fcn.00466bc4
add esp, 4
test eax, eax
jne 0x464164
mov byte [ebp - 0x14c], 1
mov dword [ebp - 4], eax
mov al, byte [edi]
nop
test al, al
je 0x4638ef
xor esi, esi
jmp 0x464139
xorps xmm0, xmm0
movups xmmword [ebp - 0x144], xmm0
xor edi, edi
mov byte [esi + 0x29d], 0
xor eax, eax
mov dword [ebp - 0x130], edi
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 7
mov word [ebp - 0x54], ax
push 0x499458
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 2
call fcn.00416a40
lea eax, [ebp - 0x100]
mov dword [ebp - 0xf0], edi
mov dword [ebp - 0x120], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0xec], 7
movups xmmword [ebp - 0x100], xmm0
mov word [ebp - 0x100], ax
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
push 0x499458
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 6
call fcn.00416a40
xorps xmm0, xmm0
mov dword [ebp - 0x90], edi
xor eax, eax
mov dword [ebp - 0x8c], 7
movups xmmword [ebp - 0xa0], xmm0
mov word [ebp - 0xa0], ax
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov dword [ebp - 0x70], 0xffffffff
mov ecx, esi
mov byte [ebp - 4], 7
call fcn.00447670
mov dword [ebp - 0x12c], eax
mov ecx, dword [eax + 0xbc]
test ecx, ecx
jne 0x463a16
call fcn.0045e530
jmp 0x463f1e
cmp ecx, 2
jne 0x463a23
lea eax, [ecx - 1]
jmp 0x463f1e
cmp ecx, 1
jne 0x463b5d
call fcn.0045e530
mov dword [ebp - 0x11c], eax
cmp eax, 4
je 0x463f1e
xorps xmm0, xmm0
mov byte [esi + 0x29d], 1
movq qword [ebp - 0x15c], xmm0
mov dword [ebp - 0x154], 0
lea eax, [ebp - 0x15c]
mov byte [ebp - 4], 8
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetDefaultProxyConfiguration]
test eax, eax
je 0x463a7e
cmp dword [ebp - 0x15c], 1
jne 0x463b43
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpGetIEProxyConfigForCurrentUser]
test eax, eax
je 0x463b43
cmp dword [ebp - 0x144], 0
je 0x463abd
lea ecx, [ebp - 0x15c]
mov byte [esi + 0x29d], 1
mov byte [ebp - 4], 7
call fcn.0045c370
mov eax, dword [ebp - 0x11c]
jmp 0x463f1e
mov edx, dword [ebp - 0x140]
test edx, edx
je 0x463b1a
mov ecx, edx
mov byte [esi + 0x29d], 1
lea eax, [ecx + 2]
mov dword [ebp - 0x124], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463ae0
sub ecx, dword [ebp - 0x124]
sar ecx, 1
push ecx
push edx
lea ecx, [esi + 0x2a0]
call fcn.00417480
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.0045c370
mov eax, dword [ebp - 0x11c]
jmp 0x463f1e
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x463b43
mov edi, eax
mov dword [ebp - 0x11c], 3
mov eax, dword [ebp - 0x138]
xor ecx, ecx
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x130], ecx
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 7
call fcn.0045c370
mov eax, dword [ebp - 0x11c]
jmp 0x463f1e
lea edi, [eax + 0x10]
lea eax, [ebp - 0x118]
cmp eax, edi
je 0x463b83
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x463b74
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x118]
push eax
call fcn.00417480
add edi, 0x18
lea eax, [ebp - 0x100]
cmp eax, edi
je 0x463ba9
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x463b9a
mov eax, dword [edi]
push dword [edi + 0x10]
lea ecx, [ebp - 0x100]
push eax
call fcn.00417480
lea eax, [edi + 0x18]
lea ecx, [ebp - 0xe8]
cmp ecx, eax
je 0x463bcf
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x463bc0
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xe8]
call fcn.00417480
lea eax, [edi + 0x30]
lea ecx, [ebp - 0xd0]
cmp ecx, eax
je 0x463bf5
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x463be6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xd0]
call fcn.00417480
lea eax, [edi + 0x48]
lea ecx, [ebp - 0xb8]
cmp ecx, eax
je 0x463c1b
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x463c0c
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xb8]
call fcn.00417480
lea eax, [edi + 0x60]
lea ecx, [ebp - 0xa0]
cmp ecx, eax
je 0x463c41
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x463c32
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0xa0]
call fcn.00417480
lea eax, [edi + 0x78]
lea ecx, [ebp - 0x88]
cmp ecx, eax
je 0x463c67
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x463c58
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x88]
call fcn.00417480
cmp dword [ebp - 0x108], 0
mov edi, dword [edi + 0x90]
mov dword [ebp - 0x70], edi
je 0x463cae
lea eax, [ebp - 0x118]
push 0x499458
push eax
call fcn.004434a0
add esp, 8
test al, al
jne 0x463cae
test edi, edi
jne 0x463cae
cmp dword [ebp - 0xd4], 8
lea edi, [ebp - 0xe8]
cmovae edi, dword [ebp - 0xe8]
jmp 0x463f19
lea eax, [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x54]
call fcn.00416980
cmp dword [ebp - 0x70], 0
jle 0x463f0e
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x11c], ecx
cmp edx, ecx
jae 0x463cf9
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
cmovae eax, dword [ebp - 0x54]
mov dword [eax + edx*2], 0x3a
jmp 0x463de9
mov eax, 0x7ffffffe
sub eax, edx
cmp eax, 1
jb 0x46416a
lea eax, [edx + 1]
mov edi, eax
mov dword [ebp - 0x148], eax
or edi, 7
cmp edi, 0x7ffffffe
jbe 0x463d26
mov edi, 0x7ffffffe
jmp 0x463d44
mov edx, ecx
mov eax, 0x7ffffffe
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x463d3c
mov edi, 0x7ffffffe
jmp 0x463d44
lea eax, [ecx + edx]
cmp edi, eax
cmovb edi, eax
lea eax, [edi + 1]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040cc60
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x120]
add ecx, ecx
mov dword [ebp - 0x40], edi
cmp dword [ebp - 0x11c], 8
mov dword [ebp - 0x124], eax
push ecx
lea edi, [eax + ecx]
mov dword [ebp - 0x120], edi
jb 0x463dcd
mov edi, dword [ebp - 0x54]
push edi
push eax
call fcn.0046b2f0
mov eax, dword [ebp - 0x120]
add esp, 0xc
mov dword [eax], 0x3a
mov eax, dword [ebp - 0x11c]
lea ecx, [eax*2 + 2]
cmp ecx, 0x1000
jb 0x463dc1
mov edx, dword [edi - 4]
add ecx, 0x23
sub edi, edx
lea eax, [edi - 4]
cmp eax, 0x1f
ja 0x464174
mov edi, edx
push ecx
push edi
call fcn.004697ab
add esp, 8
jmp 0x463de0
lea ecx, [ebp - 0x54]
push ecx
push eax
call fcn.0046b2f0
add esp, 0xc
mov dword [edi], 0x3a
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x70]
test eax, eax
jns 0x463e0f
neg eax
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00443500
lea ecx, [eax - 2]
mov eax, 0x2d
mov dword [ebp - 0x11c], ecx
mov word [ecx], ax
jmp 0x463e21
push eax
lea eax, [ebp - 0x12]
push eax
call fcn.00443500
mov ecx, eax
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x12]
mov dword [ebp - 0x5c], 0
add esp, 8
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
cmp ecx, eax
jne 0x463e59
xor eax, eax
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 7
mov word [ebp - 0x6c], ax
jmp 0x463ef2
lea eax, [ebp - 0x12]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x120], eax
cmp eax, 0x7ffffffe
ja 0x46416f
cmp eax, 8
jae 0x463e92
mov dword [ebp - 0x5c], eax
add eax, eax
push eax
push ecx
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], 7
push eax
call fcn.0046b2f0
add esp, 0xc
jmp 0x463ef2
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x463ea3
mov eax, 0x7ffffffe
jmp 0x463ead
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 0x124], eax
lea ecx, [ebp - 0x6c]
inc eax
push eax
call fcn.0040cc60
mov esi, dword [ebp - 0x120]
mov edi, eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x5c], esi
add esi, esi
push esi
push dword [ebp - 0x11c]
mov dword [ebp - 0x6c], edi
push edi
mov dword [ebp - 0x58], eax
call fcn.0046b2f0
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov esi, dword [ebp - 0x128]
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x54]
call fcn.00416960
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 7
call fcn.00404db0
cmp dword [ebp - 0x40], 8
lea edi, [ebp - 0x54]
cmovae edi, dword [ebp - 0x54]
mov eax, 3
push 0x10000000
push dword [ebp - 0x130]
push edi
push eax
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [esi + 0x294], edi
test edi, edi
jne 0x463f4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
mov eax, dword [ebp - 0x12c]
push 0
push 0x3e8
push dword [eax + 0x11c]
push dword [eax + 0x118]
call fcn.00469f50
mov ecx, 1
cmp eax, ecx
cmovl eax, ecx
push eax
push eax
push eax
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x463f90
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
mov eax, dword [ebp - 0x12c]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
cmp byte [eax + 0x110], 0
je 0x463fd3
push 4
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 1
push eax
push 0x49
push dword [esi + 0x294]
call edi
test eax, eax
jne 0x463fd3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
push 4
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0xaa0
push eax
push 0x54
push dword [esi + 0x294]
call edi
test eax, eax
jne 0x464001
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 0x174]
test ecx, ecx
je 0x464029
mov eax, dword [esi + 0x294]
lea edx, [ebp - 0x120]
mov dword [ebp - 0x120], eax
mov eax, dword [ecx]
push edx
call dword [eax + 8]
push 0
push 0x97f4c30
push 0x460e10
push dword [esi + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
cmp eax, 0xffffffff
jne 0x464050
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
lea ecx, [esi + 0x14]
call fcn.00458800
test al, al
je 0x464072
cmp byte [esi + 0x29c], 0
mov eax, 0x50
mov ecx, 0x1bb
cmovne eax, ecx
jmp 0x464078
mov eax, dword [esi + 0xbc]
cmp dword [esi + 0x58], 8
lea ecx, [esi + 0x44]
jb 0x464083
mov ecx, dword [ecx]
push 0
push eax
push ecx
push dword [esi + 0x294]
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [esi + 0x298], eax
test eax, eax
jne 0x4640a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4640b3
mov ecx, dword [ebp - 0x134]
mov al, 1
xchg byte [ecx], al
xor esi, esi
lea ecx, [ebp - 0x118]
call fcn.00412bb0
mov ecx, dword [ebp - 0x40]
cmp ecx, 8
jb 0x4640f8
mov edx, dword [ebp - 0x54]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4640ee
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x464174
push ecx
push edx
call fcn.004697ab
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
mov word [ebp - 0x54], ax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 7
test eax, eax
je 0x46411f
push eax
call edi
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x46412c
push eax
call edi
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x464139
push eax
call edi
push dword [ebp - 0x150]
call fcn.00466bd5
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046977a
mov esp, ebp
pop ebp
ret
push eax
call fcn.00466b46
call fcn.0040ce60
call fcn.0040ce60
call fcn.0046e96f
int3