Function at 0x45d7af
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x210
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
mov ecx, ebx
mov edx, edi
call fcn.00425176
test edx, edx
je 0x45d8b4
mov eax, dword [esi]
mov dword [esp + 0x24], eax
lea esi, [esp + 0xe0]
mov ecx, esi
mov dword [esp + 0x2c], ebx
mov edx, ebx
push edi
call fcn.00487116
add esp, 4
mov esi, dword [esi]
cmp esi, 2
jne 0x45d8cf
mov dword [esp + 0x40], edi
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x30], eax
mov ebx, dword [eax + 0x4c]
test ebx, ebx
je 0x45d892
mov eax, dword [esp + 0x30]
mov esi, dword [eax + 0x50]
mov edi, dword [esi + 0x1c]
push ebx
lea eax, [esp + 0x1f4]
push eax
call edi
add esp, 8
movdqa xmm0, xmmword [esp + 0x1f0]
pxor xmm0, xmmword [0x4d08b0]
ptest xmm0, xmm0
jne 0x45d859
cmp byte [ebx], 6
jne 0x45d883
jmp 0x45dcd9
push ebx
lea eax, [esp + 0x1e4]
push eax
call edi
add esp, 8
movdqa xmm0, xmmword [esp + 0x1e0]
pxor xmm0, xmmword [0x4d08c0]
ptest xmm0, xmm0
je 0x45dcd9
push ebx
call dword [esi + 0x18]
add esp, 4
mov ebx, eax
mov esi, edx
test eax, eax
jne 0x45d826
xor ecx, ecx
mov edx, dword [esp + 0x30]
call fcn.00486f32
mov esi, eax
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], 2
mov edi, dword [esp + 0x20]
jmp 0x45da6c
cmp dword [esi], 0
je 0x45d8c8
push ebx
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor eax, eax
jmp 0x45dcd1
mov edi, dword [esp + 0xe4]
movups xmm0, xmmword [esp + 0xe8]
movups xmmword [esp + 0x1a0], xmm0
movups xmm0, xmmword [esp + 0xf8]
movups xmmword [esp + 0x1b0], xmm0
movups xmm0, xmmword [esp + 0x108]
movups xmmword [esp + 0x1c0], xmm0
movups xmm0, xmmword [esp + 0x118]
movups xmmword [esp + 0x1d0], xmm0
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], edi
movaps xmm0, xmmword [esp + 0x1a0]
movdqa xmm1, xmmword [esp + 0x1b0]
movups xmmword [esp + 0x98], xmm0
movdqu xmmword [esp + 0xa8], xmm1
movaps xmm0, xmmword [esp + 0x1c0]
movups xmmword [esp + 0xb8], xmm0
movdqa xmm0, xmmword [esp + 0x1d0]
movdqu xmmword [esp + 0xc8], xmm0
mov edi, dword [esp + 0xb0]
mov esi, dword [esp + 0xa4]
test edi, edi
je 0x45da34
mov edx, dword [esp + 0xa8]
cmp edx, edi
jbe 0x45d99e
cmp byte [esi + edi], 0xbf
jg 0x45d9a0
mov ecx, esi
push 0x521974
push edi
push 0
call fcn.004cbd80
jne 0x45d98f
cmp edi, 4
jne 0x45da19
cmp dword [esi], 0x70747468
jne 0x45da34
lea ecx, [esp + 0x90]
mov edx, 0x4f66e0
call fcn.004a7311
mov ebx, edx
lea ecx, [esp + 0xe0]
mov edx, eax
push ebx
call fcn.00421f82
add esp, 4
lea eax, [esp + 0xe0]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x45df81
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
jmp 0x45de39
cmp edi, 5
jne 0x45da34
mov eax, 0x70747468
xor eax, dword [esi]
movzx ecx, byte [esi + 4]
xor ecx, 0x73
or ecx, eax
je 0x45ddd7
mov ecx, str.unknown_proxy_scheme
mov edx, 0x14
call fcn.00486fc2
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], 2
cmp dword [esp + 0xa0], 0
mov edi, dword [esp + 0x20]
je 0x45da6c
push esi
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x45da87
push eax
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x68], 2
setne al
mov dword [esp + 0x14], eax
je 0x45dc0e
mov ebx, dword [ebp + 8]
movsd xmm0, qword [esp + 0x88]
movsd qword [esp + 0x190], xmm0
movdqu xmm0, xmmword [esp + 0x68]
movups xmm1, xmmword [esp + 0x78]
movaps xmmword [esp + 0x180], xmm1
movdqa xmmword [esp + 0x170], xmm0
mov dword [esp + 0x18], 0
mov ecx, ebx
xor edx, edx
call fcn.004a5ddb
mov dword [esp + 0x10], eax
mov esi, edx
push ebx
push dword [esp + 0x2c]
push edx
call fcn.004b64b0
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
push ebx
mov dword [esp + 0x28], esi
push esi
push dword [edi + 0x1c]
push dword [edi + 0x18]
call fcn.0044dd84
add esp, 0x10
cmp dword [edi + 8], 0
je 0x45e017
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov dword [esp + 0x28], edx
mov edi, edx
and edi, eax
shr eax, 0x19
mov dword [esp + 0x58], eax
movd xmm1, eax
pxor xmm0, xmm0
pshufb xmm1, xmm0
mov dword [esp + 0x1c], 0
mov edx, dword [ebp + 8]
movdqa xmmword [esp + 0x30], xmm1
mov dword [esp + 0x2c], edi
movdqu xmm0, xmmword [ecx + edi]
movdqa xmmword [esp + 0x40], xmm0
pcmpeqb xmm0, xmm1
pmovmskb esi, xmm0
test si, si
je 0x45dba5
lea eax, [esi - 1]
and eax, esi
mov edi, ecx
bsf ecx, esi
mov esi, eax
add ecx, dword [esp + 0x2c]
and ecx, dword [esp + 0x28]
neg ecx
imul ebx, ecx, 0x34
mov ecx, edi
cmp dword [edi + ebx - 0x2c], edx
jne 0x45db5c
add ebx, ecx
push edx
push dword [ebx - 0x30]
push dword [esp + 0x2c]
call fcn.004b6b8a
movdqa xmm1, xmmword [esp + 0x3c]
mov ecx, edi
mov edx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x45db5c
jmp 0x45dc1c
cmp dword [esp + 0x1c], 1
mov ebx, 1
mov esi, dword [esp + 8]
mov edi, dword [esp + 0x2c]
je 0x45dbd3
movdqa xmm0, xmmword [esp + 0x40]
pmovmskb eax, xmm0
xor ebx, ebx
test eax, eax
setne bl
bsf esi, eax
add esi, edi
and esi, dword [esp + 0x28]
pcmpeqd xmm0, xmm0
movdqa xmm2, xmmword [esp + 0x40]
pcmpeqb xmm2, xmm0
pmovmskb eax, xmm2
test eax, eax
jne 0x45df92
mov dword [esp + 0x1c], ebx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x18]
add edi, eax
add edi, 0x10
add eax, 0x10
mov dword [esp + 0x18], eax
and edi, dword [esp + 0x28]
jmp 0x45db45
lea ecx, [esp + 0x68]
call fcn.0045e16d
jmp 0x45dccd
movsd xmm0, qword [ebx - 8]
movsd qword [esp + 0xb0], xmm0
movups xmm0, xmmword [ebx - 0x28]
movups xmm1, xmmword [ebx - 0x18]
movaps xmmword [esp + 0xa0], xmm1
movaps xmmword [esp + 0x90], xmm0
movaps xmm0, xmmword [esp + 0x170]
movaps xmm1, xmmword [esp + 0x180]
movups xmmword [ebx - 0x28], xmm0
movups xmmword [ebx - 0x18], xmm1
movsd xmm0, qword [esp + 0x190]
movsd qword [ebx - 8], xmm0
movsd xmm0, qword [esp + 0xb0]
movsd qword [esp + 0x100], xmm0
movdqa xmm0, xmmword [esp + 0x90]
movdqa xmm1, xmmword [esp + 0xa0]
movdqa xmmword [esp + 0xf0], xmm1
movdqa xmmword [esp + 0xe0], xmm0
cmp dword [esp + 0x10], 0
je 0x45dcb7
push dword [esp + 0x24]
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0xe0], 2
je 0x45dccd
lea ecx, [esp + 0xe0]
call fcn.0045c2b4
mov eax, dword [esp + 0x14]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esp + 0x130]
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
lea ecx, [esp + 0x164]
mov dword [ecx], eax
mov dword [ecx + 4], 0x4a5dc5
lea edx, [esp + 0x90]
mov dword [edx], str.http:__
xor eax, eax
inc eax
mov dword [edx + 4], eax
mov dword [edx + 0x10], 0
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
lea edi, [esp + 0x200]
mov ecx, edi
call fcn.004017c0
mov esi, dword [edi + 4]
lea ecx, [esp + 0x90]
mov edx, esi
push dword [edi + 8]
call fcn.00487116
add esp, 4
cmp dword [edi], 0
je 0x45dd56
push esi
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov esi, dword [esp + 0x90]
cmp esi, 2
jne 0x45dd82
mov edi, dword [esp + 0x94]
xor ecx, ecx
mov edx, dword [esp + 0x30]
call fcn.00486f32
mov esi, eax
mov ecx, edi
call fcn.0044980c
jmp 0x45d89f
mov edi, dword [esp + 0x94]
movups xmm0, xmmword [esp + 0x98]
movaps xmmword [esp + 0x1a0], xmm0
movups xmm0, xmmword [esp + 0xa8]
movaps xmmword [esp + 0x1b0], xmm0
movups xmm0, xmmword [esp + 0xb8]
movaps xmmword [esp + 0x1c0], xmm0
movups xmm0, xmmword [esp + 0xc8]
movaps xmmword [esp + 0x1d0], xmm0
mov ecx, dword [esp + 0x30]
call fcn.0044980c
jmp 0x45d916
lea ecx, [esp + 0x90]
mov edx, 0x4f66d0
call fcn.004a7311
mov ebx, edx
lea ecx, [esp + 0xe0]
mov edx, eax
push ebx
call fcn.00421f82
add esp, 4
lea eax, [esp + 0xe0]
mov eax, dword [eax]
mov dword [esp + 0x30], eax
test eax, eax
je 0x45df81
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0xe8]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x18], eax
xor eax, eax
inc eax
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x90]
call fcn.004a8156
test eax, eax
je 0x45e02a
mov esi, eax
lea ecx, [esp + 0x90]
mov dword [esp + 8], edx
call fcn.004a80b9
mov ebx, edx
add ebx, eax
lea ecx, [esp + 0x14c]
mov edx, eax
push ebx
call fcn.0043d8a9
add esp, 4
mov eax, dword [esp + 8]
add eax, esi
lea ecx, [esp + 0x158]
mov edx, esi
push eax
call fcn.0043d8a9
add esp, 4
lea esi, [esp + 0xf4]
mov eax, dword [esp + 0x14]
mov dword [esi - 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esi - 0x10], eax
mov eax, dword [esp + 0x40]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x18]
mov dword [esi - 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esi - 8], eax
movups xmm0, xmmword [esp + 0x130]
movups xmmword [esi], xmm0
mov byte [esi + 0x10], 2
movzx eax, word [esp + 0xc]
mov word [esi + 0x11], ax
mov al, byte [esp + 0xe]
mov byte [esi + 0x13], al
cmp edi, 4
lea edi, [esp + 0x5c]
lea edx, [esp + 0x14c]
mov ecx, edi
call fcn.00401bc0
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 8]
mov dword [esp + 8], eax
lea edi, [esp + 0x164]
lea edx, [esp + 0x158]
mov ecx, edi
call fcn.00401bc0
mov ebx, dword [edi + 4]
mov ecx, esi
mov edx, dword [esp + 0x10]
push dword [edi + 8]
push ebx
push dword [esp + 0x10]
call fcn.0045bdeb
add esp, 0xc
cmp dword [edi], 0
je 0x45df3b
push ebx
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp dword [esp + 0x5c], 0
mov edi, dword [esp + 0x20]
je 0x45df58
push dword [esp + 0x60]
push 0
push dword [0x530ac8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
movdqu xmm0, xmmword [esi]
movdqa xmmword [esp + 0x130], xmm0
mov al, byte [esp + 0x104]
movzx ecx, word [esi + 0x11]
mov word [esp + 0xc], cx
mov cl, byte [esi + 0x13]
mov byte [esp + 0xe], cl
jmp 0x45e030
mov ecx, dword [esp + 0xe4]
call fcn.00487057
jmp 0x45da43
mov al, byte [ecx + esi]
test al, al
js 0x45dfa7
movdqa xmm0, xmmword [ecx]
pmovmskb eax, xmm0
bsf esi, eax
mov al, byte [ecx + esi]
and al, 1
movzx eax, al
mov ebx, esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
sub dword [ecx + 8], eax
lea eax, [ebx - 0x10]
mov edi, dword [esp + 0x28]
and edi, eax
mov eax, dword [esp + 0x58]
mov byte [esi + ebx], al
mov byte [esi + edi + 0x10], al
inc dword [ecx + 0xc]
neg ebx
imul eax, ebx, 0x34
mov ecx, dword [esp + 0x10]
mov dword [esi + eax - 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esi + eax - 0x30], ecx
mov dword [esi + eax - 0x2c], edx
movaps xmm0, xmmword [esp + 0x170]
movdqa xmm1, xmmword [esp + 0x180]
movups xmmword [esi + eax - 0x28], xmm0
movdqu xmmword [esi + eax - 0x18], xmm1
movq xmm0, qword [esp + 0x190]
movq qword [esi + eax - 8], xmm0
jmp 0x45dccd
lea edx, [edi + 0x10]
mov ecx, edi
mov esi, eax
call fcn.004cd605
mov eax, esi
jmp 0x45db13
mov al, 2
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x78], ecx
movdqa xmm0, xmmword [esp + 0x130]
movdqu xmmword [esp + 0x7c], xmm0
mov byte [esp + 0x8c], al
movzx eax, word [esp + 0xc]
mov word [esp + 0x8d], ax
mov al, byte [esp + 0xe]
mov byte [esp + 0x8f], al
cmp dword [esp + 0xa0], 0
je 0x45da6c
mov esi, dword [esp + 0xa4]
jmp 0x45da5d