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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc4
mov edi, edx
mov edx, dword [edx + 0x14]
lea ebx, [esp + 0x48]
mov dword [esp + 0x24], ecx
mov ecx, ebx
push dword [edi + 0x1c]
call fcn.00411d78
pop eax
mov eax, dword [ebx + 8]
mov bl, 3
mov dword [esp + 0x20], edi
cmp eax, 0xfffe
jbe 0x46f639
mov al, 8
jmp 0x46f675
test eax, eax
je 0x46f673
cmp eax, 1
jne 0x46f6e1
mov eax, dword [esp + 0x4c]
movzx eax, byte [eax]
cmp eax, 0x2a
je 0x46f7d5
cmp eax, 0x2f
jne 0x46f7eb
mov dword [esp], 0
mov dword [esp + 0xc], 0x4f9dc4
jmp 0x46f7e4
mov al, 9
mov dword [esp], eax
lea ecx, [esp + 0x48]
call fcn.00425d12
xor ebp, ebp
xor esi, esi
mov eax, 0x4fa19c
mov edi, 0x4b860c
mov dword [esp + 0x18], 0x4b860c
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
inc esi
xor ecx, ecx
xor edx, edx
dec ecx
mov dword [esp + 8], ecx
xor ecx, ecx
cmp bl, 3
jne 0x46f85b
mov edx, dword [esp + 0x20]
lea ebx, [esp + 0x6c]
mov ecx, ebx
call fcn.0046ffb2
mov ecx, ebx
call fcn.0046fb93
mov ecx, dword [esp + 0x24]
mov dword [ecx + 4], eax
mov byte [ecx], 3
jmp 0x46f8c4
mov eax, dword [esp + 0x4c]
cmp byte [eax], 0x2f
jne 0x46f77a
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
mov dword [esp + 0x38], 0x4b860c
mov dword [esp + 0x3c], 0x4fa19c
and dword [esp + 0x40], 0
and dword [esp + 0x44], 0
lea ebx, [esp + 0x6c]
lea edx, [esp + 0x5c]
mov ecx, ebx
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.0042a258
mov eax, dword [ebx]
test eax, eax
mov dword [esp + 0x18], eax
je 0x46f8da
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov edi, 0x4b860c
xor ecx, ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x7c]
mov dword [esp + 8], eax
movzx eax, word [esp + 0x7e]
mov word [esp + 0x1e], ax
mov eax, 0x4fa19c
jmp 0x46f84e
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
movsd qword [esp + 0x30], xmm1
movsd qword [esp + 0x28], xmm0
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
cmp ebp, 7
jb 0x46f8cf
push 7
pop ebx
mov ecx, esi
mov edx, ebp
push 0x4b8dc8
push ebx
call fcn.00428ed0
pop ecx
pop ecx
mov ecx, eax
push ebx
push str.http:__
call fcn.00429c5c
pop ecx
pop edx
test al, al
je 0x46f8ef
xor ecx, ecx
jmp 0x46f91d
mov dword [esp + 0xc], 0x4d05b1
mov dword [esp], 0
xor ebx, ebx
jmp 0x46f678
movsd xmm0, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea ebx, [esp + 0x5c]
lea edx, [esp + 0x6c]
mov ecx, ebx
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.004296e4
mov eax, dword [ebx]
test eax, eax
je 0x46f6bc
mov ecx, dword [esp + 0x64]
mov ebx, eax
mov eax, dword [esp + 0x60]
xor edx, edx
xor esi, esi
mov dword [esp + 0x18], 0x4b860c
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0x4fa19c
dec edx
mov edi, ebx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x68]
xor ebx, ebx
mov dword [esp], 0
xor ebp, ebp
xor edx, edx
mov dword [esp + 4], ecx
mov ecx, eax
movzx eax, byte [esp]
shld edx, ebp, 0x10
shl ebp, 0x10
movzx ebx, bl
mov dword [esp + 0x20], esi
mov esi, dword [esp + 0x24]
shl eax, 8
mov dword [esi + 4], edx
or eax, ebp
or ebx, eax
mov eax, dword [esp + 0x10]
mov dword [esi], ebx
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
movzx ecx, word [esp + 0x1e]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 4]
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x24], eax
mov eax, dword [esp + 8]
mov word [esi + 0x28], ax
mov word [esi + 0x2a], cx
add esp, 0xc4
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebp, 4
jb 0x46f96e
jmp 0x46f944
lea ecx, [esp + 0x38]
call fcn.00425d12
xor ecx, ecx
call fcn.00437b5a
jmp 0x46f6bc
cmp ebp, 8
jb 0x46f944
push 8
pop ebx
mov ecx, esi
mov edx, ebp
push 0x4b8dd8
push ebx
call fcn.00428ed0
pop ecx
pop ecx
mov ecx, eax
push ebx
push str.https:__
call fcn.00429c5c
pop ecx
pop edx
mov cl, 1
test al, al
je 0x46f944
lea edi, [esp + 0x6c]
mov dword [esp + 4], ecx
lea edx, [esp + 0x28]
mov ecx, edi
push ebx
call fcn.00412057
pop eax
mov ecx, edi
call fcn.00425d12
mov bl, 1
mov dword [esp], 0
jmp 0x46f980
xor ecx, ecx
cmp ebp, ecx
je 0x46f96e
movzx eax, byte [esi + ecx]
mov edi, ecx
movzx ebx, byte [eax + 0x4b8cc8]
test ebx, ebx
je 0x46f977
lea ecx, [edi + 1]
cmp ebx, 0x3a
jne 0x46f946
lea ebx, [edi + 3]
cmp ebx, ebp
jbe 0x46fab7
mov al, 1
mov dword [esp], eax
xor ebx, ebx
jmp 0x46f97c
mov al, 1
mov dword [esp], eax
mov dword [esp + 4], eax
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
mov edx, edi
push esi
call fcn.00429757
pop eax
lea eax, [esp + 0x6c]
cmp byte [eax], 0
je 0x46f9c3
mov cl, byte [esp + 0x6d]
mov dword [esp], ecx
movzx ecx, bl
mov edx, ebp
call fcn.00437b5a
lea ecx, [esp + 0x28]
call fcn.00425d12
mov dword [esp + 8], ecx
mov bl, 3
jmp 0x46f6b3
mov eax, dword [esp + 0x70]
cmp byte [esp], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x58], edi
je 0x46fa1e
cmp eax, dword [esp + 0x10]
mov cl, 4
jne 0x46f9a2
mov edx, ebp
mov eax, dword [esp + 4]
shl ebp, 0x10
mov dword [esp], eax
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], 0x4b860c
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0x4fa19c
shr edx, 0x10
xor eax, eax
xor esi, esi
dec eax
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
jmp 0x46f6b3
test eax, eax
je 0x46fb6d
lea edi, [esp + 0x28]
lea ecx, [esp + 0x38]
mov edx, edi
push eax
call fcn.00412057
pop eax
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
lea edi, [esp + 0x6c]
lea edx, [esp + 0x5c]
mov ecx, edi
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm0
call fcn.0042a258
mov eax, dword [edi]
test eax, eax
mov dword [esp + 0x18], eax
je 0x46fb74
mov eax, dword [esp + 0x70]
mov esi, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x38]
mov edx, ebp
shl ebp, 0x10
shr edx, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], esi
mov esi, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
movzx eax, word [esp + 0x7c]
mov dword [esp + 8], eax
movzx eax, word [esp + 0x7e]
mov word [esp + 0x1e], ax
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
jmp 0x46f6b3
mov al, 1
mov edx, ebx
mov dword [esp], eax
push 0x4b8de8
push ebp
push esi
call fcn.00440081
add esp, 0xc
cmp edx, 2
jne 0x46f973
cmp word [eax], 0x2f2f
jne 0x46f973
mov al, 0xa
cmp edi, 0x40
mov dword [esp], eax
ja 0x46f9af
mov eax, ebx
lea ebx, [esp + 0x5c]
lea edx, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.00412057
pop eax
lea ebp, [esp + 0x6c]
mov edx, ebx
mov ecx, ebp
push edi
call fcn.00411f89
pop eax
mov ecx, ebp
call fcn.00425d12
movsd xmm0, qword [ebx]
movsd xmm1, qword [ebx + 8]
movsd qword [esp + 0xb4], xmm0
movsd qword [esp + 0xbc], xmm1
push 0x10
pop ecx
push 4
pop edx
call fcn.00488916
movsd xmm0, qword [esp + 0xb4]
movsd xmm1, qword [esp + 0xbc]
mov ebp, eax
mov bl, 2
mov dword [esp], 0
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
mov dword [esp + 4], eax
jmp 0x46f980
mov cl, 4
jmp 0x46f9a2
mov al, byte [esp + 0x70]
lea ecx, [esp + 0x38]
mov dword [esp], eax
call fcn.00425d12
movzx ecx, bl
mov edx, ebp
call fcn.00437b5a
jmp 0x46f9b8